Skip to main content
Glama

mechacut

json_query

Nested JSON access done right: $-path grammar with .key, [n] and [] wildcards; returns every match with its exact canonical path. Reaches users[].email where small models grab the wrong depth. Free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "data": "<data>",
      "path": "<path>"
    },
    "name": "json_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes
pathYese.g. $.users[*].email

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden, and it does disclose one genuinely useful behavioral trait: it 'returns every match with its exact canonical path', which tells the agent to expect multi-result output annotated with paths. It does not say what happens when a path matches nothing, whether errors are raised or an empty list returned, or whether the input data is ever mutated. The 'Free' suffix is noise rather than behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The grammar and return-shape information is front-loaded, which is good, but roughly half the text is marketing: 'done right', 'where small models grab the wrong depth', and 'Free'. Those clauses do not help an agent select or invoke the tool and dilute an otherwise tight definition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a simple two-parameter tool with no output schema, so the description should at minimum cover the path grammar (done) and the return/edge-case contract (partially done). What is missing is no-match behavior and error semantics, plus any hint about the undocumented data parameter. Adequate, but not complete for a tool whose whole contract is 'give me the matches'.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50% – the path parameter has an example but data is entirely undocumented – so the description has to compensate, and it does by spelling out the path grammar: .key for members, [n] for indices, [*] for wildcards. That is real meaning beyond the single '$.users[*].email' example in the schema. The data parameter remains unexplained, so it is not a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (query/access) and resource (nested JSON) and states the mechanism: '$-path grammar with .key, [n] and [*] wildcards'. That is concrete enough for an agent to know this is path-based extraction rather than, say, canonicalization or diffing. It does not explicitly contrast itself with siblings like json_canonical or reshape_json, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use / when-not-to-use guidance and no named alternative, even though json_canonical, json_map and reshape_json sit in the same family. The only hint is the phrase 'Nested JSON access', from which an agent must infer the use case itself. The trailing 'Free' is promotional and adds nothing to routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.