gwt-context

MCP Tool Contracts

These contracts describe the stable response shapes that MCP clients should expect. Fields may gain additive metadata, but existing keys should not be removed without updating tests and changelog.

Tools

Broadcast Bus Result Shape

Serialized bus results include proposals, accepted, inhibited, decisions, summary, proposal_groups, and subscriber_reports.

decisions records one arbitration outcome per accepted or inhibited proposal:

{
  "status": "accepted",
  "reason": "accepted",
  "proposal": {}
}

Current inhibition reason codes are below_threshold, duplicate_key, max_accepted, and resolved_answer_present.

Evidence Plan Shape

Tools that return evidence_plan use:

{
  "strategy": "string",
  "answer": "string",
  "queries": ["string"],
  "evidence": ["string"],
  "metadata": {}
}

Planner names are auto, generic, semantic, structured, graph, and hybrid.