object_contract_check
Check required, allowed and declared primitive field types for JSON objects. This is a focused object contract checker, not a full JSON Schema implementation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| schema | Yes |
Check required, allowed and declared primitive field types for JSON objects. This is a focused object contract checker, not a full JSON Schema implementation.
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| schema | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It usefully states the check is limited to required, allowed, and declared primitive field types and is not a full JSON Schema implementation. But it omits return format, error behavior, and whether the operation is read-only or has side effects.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with the tool purpose and followed by a scope boundary. There is little waste, though 'This is a focused object contract checker' partially restates the tool name before adding the useful 'not a full JSON Schema implementation' limitation.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, no annotations, 0% parameter description coverage, and nested object inputs, the description is too sparse. It gives purpose and scope but does not explain how to call the tool, what the parameters should contain, or what the return value looks like.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate for the two undocumented parameters. It describes the general contract concepts ('required, allowed and declared primitive field types') and mentions JSON objects and schema, but it does not explicitly map these concepts to the 'value' and 'schema' parameters or clarify their expected structure.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb ('Check') and resource ('JSON objects' with required, allowed, and declared primitive field types). It also delineates scope by contrasting with a full JSON Schema implementation. It does not name a sibling tool, but the sibling tools are not direct alternatives.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The second sentence implicitly bounds usage: use this for focused object contract checks, not full JSON Schema validation. However, there is no explicit when-to-use trigger, no named alternative tool, and no prerequisites or exclusions spelled out beyond the limitation. This is only implied guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.