RFC STANDARD20 WIRE CONTRACTS50 MCP TOOLS

The 20 Formal Wire Contracts of GRIP

Each contract defines strict architectural invariants, JSON schemas, tool definitions, and guarantees designed to eliminate vendor lock-in and enable production-grade GraphRAG across any backend.

Live Backend Schema Introspection (Contract 3)

ACTIVE TIGERGRAPH CLOUD

Introspecting live TigerGraph schema...

What Standard This Sets:

Defines the 7 canonical retrieval operations across all graph backends: local search, global community search, hybrid vector+graph search, entity lookup, path discovery, k-hop neighborhood expansion, and community member enumeration.

Architectural & Ecosystem Implication:

Eliminates vendor-specific graph query dialects (GSQL, Cypher, Gremlin). AI agents query using uniform semantic parameters rather than compiling database-specific query strings, completely shielding LLMs from syntax hallucinations and injection vulnerabilities.

Implementing MCP Tools (7):

graphrag_searchgraphrag_local_searchgraphrag_global_searchgraphrag_hybrid_searchgraphrag_entitygraphrag_pathgraphrag_neighborhood

Wire Protocol Schema Example (C1):

contract_1_payload.json
{
  "query": "self-attention transformer mechanism",
  "mode": "auto",
  "depth": 2,
  "top_k": 10,
  "format_text": "markdown",
  "max_tokens": 4096
}