mcp_flag_parity
Verifies that active agent profiles resolve MCP tool attachments correctly after changes, reporting per-profile errors and missing bindings so you can confirm wiring before relying on it.
Instructions
For every active agent profile in env, resolve its tool set the way
the runtime does (pool_for_kind + AgentProfileLoader.load_active +
resolve_mcp_tools_for_profile) and report what actually binds — the
health check to run right after profile_mcp_attachments action=set, to
confirm the wiring resolves rather than trusting the write succeeded.
Same payload/logic as GET /admin/api/mcp-flag-parity. Degrades
per-profile: one bad profile is reported with an error, never crashes
the whole report. CAVEAT: an unreachable external MCP endpoint (e.g. a
down partner sandbox) shows up as FEWER bound tools, not an error — the
resolver swallows that failure so one flaky external MCP can't take
down tool resolution for every profile. A low tool count on an
external-source profile means "check the endpoint is reachable", not
necessarily "the attachment is wrong".
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mcp_flag_parity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Config branch: which `environment` rows of the AI config DB to read/write. staging = the editable working set (default); prod = what production serves. | staging |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |