REQ-MCP-008: Plugin tools are argument-validated on the same terms as built-ins

← Requirements

What it requires

  1. Given a registered server whose tool declares an input schema, When get_tool_schema() is called with the qualified name, Then the schema JSON is returned; for an unknown tool an empty string is returned; for a plugin tool the schema comes from the plugin's own descriptor list.
tier
NOT_RUN

Where it lives

  • src/mcp5

See it on the map

How it is met

implemented byresults (63 tests)check_schemaget_tool_schemaget_tools_jsonlist_toolsplugin_tool_schema63 absent63 tests, a summary by result: every test is in the tests table below

Show on the map

Implemented by

Tests (63)

Reached through calls

63 tests: 63 absent

testresultlinked byimplementers exercisedcalls away
get_tool_schema returns empty for unknown toolabsentinferred2 of 5: get_tool_schema, plugin_tool_schema1
get_tool_schema returns the registered tool's schemaabsentinferred2 of 5: get_tool_schema, plugin_tool_schema1
get_tools_json returns definitionsabsentinferred1 of 5: get_tools_json1
Delegate tool enum excludes source tiersabsentinferred1 of 5: get_tools_json2
Server registers toolsabsentinferred1 of 5: get_tools_json2
A call that fails identically is refused rather than retried absentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
Anti-spiral hard block stops dispatch and emits absentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
Anti-spiral hard block uses derived default when sentinel setabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
Auto approve skips callbackabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
Chained POST_TOOL_CALL hooks: last write winsabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
Circuit breaker at threeabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
Duplicate counter resetsabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
Duplicate detection skipsabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
Error result not cached for dedupabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
Headless mode denies without callbackabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
Max tool calls per turnabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
Multiple tool calls in batchabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
POST_TOOL_CALL fires on duplicate rejection with kindabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
POST_TOOL_CALL fires on schema rejection with kindabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
POST_TOOL_CALL hook transforms duplicate-rejection contentabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
POST_TOOL_CALL hook transforms schema-rejection contentabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
POST_TOOL_CALL hook transforms successful tool result contentabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
POST_TOOL_CALL with *modified_json == NULL leaves content untouchedabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
PRE/POST_TOOL_CALL fire for successful callsabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
PRE_TOOL_CALL cancel short-circuits dispatch and still fires POSTabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
Permission denied returns feedbackabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
Process single tool callabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
Schema validation rejects invalid enum valueabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
Schema validation rejects missing required fieldabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
Tool call history records successful executionsabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
Tool emits directives → ToolExecutor extracts + dispatches themabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
Tool executor processes calls via ServerManagerabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
effective_max_tool_calls_per_turn overrides global limitabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
gh#111: POST_TOOL_CALL hook returning malformed UTF-8 is absentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
gh#143: an argument-free call serialises as an object absentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
gh#143: an argument-free call to a no-required-fields tool absentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
gh#143: dispatch converts a throwing tool into a tool errorabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
gh#168: a rewritten payload carrying bad UTF-8 is sanitized, absentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
gh#168: the rewrite is visible to the dup cache and POST hookabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
gh#190: a structured JSON error counts as a failure everywhereabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
gh#211: a tier that declares an EMPTY allowlist may call nothingabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
gh#83: allowlisted tool dispatches normallyabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
gh#83: empty locked_tier bypasses enforcementabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
gh#83: no map wired = pass-through (pre-v2.5.2 behavior)absentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
gh#83: off-allowlist tool is rejected_unauthorized at dispatchabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
gh#83: tier with no allowlist entry is unrestrictedabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
mcp.bash.timeout_seconds reaches the dispatched bash serverabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
process_single_call completes with locked_tier setabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
v2.14.0: schema validation enforces declared minimum and maximumabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
v2.14.6: a headless host still dispatches engine directivesabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema4
gh#158: a delegated child's read satisfies its parent's write — absentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema5
gh#158: a session's tool call never resolves inside another absentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema5
gh#158: repeated sandbox swaps race nothing a concurrent absentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema5
gh#158: two sessions reading and writing through ONE filesystem absentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema5
gh#158: two sessions writing todos through ONE entropic server absentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema5
gh#168: a PRE_TOOL_CALL hook's modified args reach the toolabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema5
gh#168: a malformed modification is refused, not half-appliedabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema5
gh#168: a modification that renames the tool is refusedabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema5
gh#168: a non-zero return still cancels, modification or notabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema5
gh#158: clearing the default conversation releases the default absentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema6
gh#158: each session's todo list is its ownabsentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema6
gh#158: ending a session's conversation releases its read absentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema6
gh#158: read-before-write is judged per session — another absentinferred3 of 5: check_schema, get_tool_schema, plugin_tool_schema6