Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

docs(mcp): clarify gateway schema recovery without inferring backend constraints

morlutoc831c2363315
diff --git a/docs/mcp-contracts.md b/docs/mcp-contracts.md
index 8c5582328..c3f610704 100644
--- a/docs/mcp-contracts.md
+++ b/docs/mcp-contracts.md
@@ -690,7 +690,10 @@ reported by strict-depth MCP clients in [#2813](https://github.com/morluto/rea/i
WorkBuddy/CodeBuddy gateways have also rejected full REA catalogs with an
opaque `11133` error while accepting the compact profile
([#2999](https://github.com/morluto/rea/issues/2999)); compatibility depends on
-the selected gateway and model.
+the selected gateway and model. That report used ZCode through a gateway to a
+Kimi-K3 backend, not the WorkBuddy MCP client. Set the profile on REA's
+registration in the actual MCP host; the host's name alone does not identify
+the downstream model or its schema constraints.
The compact profile renders the same tool set, output schemas, annotations,
and canonical server-side validation. It changes only the advertised input
diff --git a/src/config/mcpInputSchemaProfile.ts b/src/config/mcpInputSchemaProfile.ts
index 473fb0cbe..bfdc017e4 100644
--- a/src/config/mcpInputSchemaProfile.ts
+++ b/src/config/mcpInputSchemaProfile.ts
@@ -21,7 +21,7 @@ export const compactPresentationForMcpInputSchemaProfile = (
: undefined;
const profileConstraint =
- 'REA_MCP_INPUT_SCHEMA_PROFILE must be "full" (default) or "compact". The compact profile advertises input schemas without nested annotation prose for providers that cap each tool schema\'s serialized size.';
+ 'REA_MCP_INPUT_SCHEMA_PROFILE must be "full" (default) or "compact". The compact profile advertises bounded input schemas with fewer nested annotations for providers with schema compatibility constraints.';
export type McpInputSchemaProfile = z.infer<typeof mcpInputSchemaProfileSchema>;