Json Query
json_queryQuery a JSON document with a JSONPath expression.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes |
json_queryQuery a JSON document with a JSONPath expression.
| Name | Required | Description | Default |
|---|---|---|---|
| payload | 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, and it discloses almost nothing: return shape is unknown, no statement on whether an invalid JSONPath errors or returns empty, and no note on supportedPath dialect or match semantics. The single sentence covers only the bare operation.
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 with no filler; it neither buries the key information nor wastes words. It is efficient, though its brevity comes at the cost of the substance other dimensions penalize.
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 simple single-input query tool this is close to minimally viable, but the nested payload structure is undocumented and there is no output schema, so the description should have said something about the returned matches or failure behavior. Adequate but with clear gaps.
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 coverage is 0%, so the description must compensate, and it does map the two inner fields loosely — 'JSON document' implies data and 'JSONPath expression' implies path. But it gives no format or syntax details beyond that conceptual mapping, so the compensation is partial.
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 and resource (query a JSON document) plus the mechanism (JSONPath expression), which is clear on its own. It does not, however, distinguish itself from the sibling json_validate, json_diff, or json_flatten tools, which all operate on JSON documents.
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 prerequisites, and no reference to alternatives such as json_validate for checking structure or json_flatten for normalization. The agent must infer the use case purely from the tool 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.