agent_schema_enforcer
Strict JSON Schema validation, type healing, and hallucination pruning (75 sats via L402).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | ||
| raw_output | Yes |
Strict JSON Schema validation, type healing, and hallucination pruning (75 sats via L402).
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | ||
| raw_output | 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 behavioral burden. It does disclose a genuine behavioral constraint that structured data lacks: the tool costs 75 sats and is paid via L402, which tells the agent an auth/payment step is required. It omits, however, what happens on validation failure (error vs. healed output), whether input is mutated, and any rate limits, leaving meaningful gaps.
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?
One front-loaded sentence that wastes nothing: the three operations come first and the cost constraint is tucked into a parenthetical. Every clause carries information.
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?
For a tool with 0% schema coverage, no annotations, no output schema, and a nested-object parameter, the single-sentence description is far too thin. It does not explain the parameters, the return value, or failure behavior, so an agent cannot reliably invoke it beyond guessing from the name.
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 two parameters (a nested object `schema` and a required string `raw_output`) are undocumented everywhere. The description's mention of 'type healing' loosely implies raw_output, and the 'schema' object implies the validation target, but it never explains the schema/raw_output relationship or what happens when `schema` is omitted.
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?
The description names three concrete operations (JSON Schema validation, type healing, hallucination pruning) on a clear resource, so the agent knows it is a schema-validation/repair tool. However, it never differentiates itself from close siblings like json_repair or guardrail_verify, which an agent could easily confuse with this one.
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?
There is no when-to-use guidance, no conditions selecting this tool over json_repair or guardrail_verify, and no mention of prerequisites beyond the pricing note. The agent is left to infer usage entirely.
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.