validate_json_ld
Validate JSON-LD and return the pretty-printed block plus detected @type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes |
Validate JSON-LD and return the pretty-printed block plus detected @type.
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral burden. It discloses the successful return shape (pretty-printed block, detected @type) but says nothing about failure behavior — whether invalid JSON-LD raises an error, returns warnings, or still pretty-prints — which is the core concern for a validation tool.
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 sentence, front-loaded with the verb and resource, and every clause earns its place by adding the return payload. Nothing is padded.
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 validator with no output schema and an undocumented input parameter, the description omits the two things an agent most needs: the accepted input form and the behavior on invalid input. What it does say about the success return is accurate but thin.
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% for the single 'json' parameter, so the description must compensate and does not. It never clarifies whether the input is a raw JSON-LD string, a file path, or a URL, nor any expected format constraints.
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 (Validate) and resource (JSON-LD) and adds what the caller gets back (pretty-printed block plus detected @type). This inherently separates it from the generate_* siblings, though no sibling is named explicitly.
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 indication of when to call this versus the generate_* tools, no prerequisites, and no mention of what the caller should do with the result. Usage must be inferred entirely from the name.
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.