Skip to main content
Glama

Read JSON path

bursia_json_path
Read-onlyIdempotent

Read one value from JSON by a dot path like "a.b[0].c". Returns the value found and whether it exists. Pure computation, 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": {
      "json": "<json>",
      "path": "<path>"
    },
    "name": "bursia_json_path"
  }
}

Input Schema

NameRequiredDescriptionDefault
jsonYesThe JSON text to read from.
pathYesDot path to the value, e.g. "items[0].name" or "$.a.b".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / json / description
      Added value: +"The JSON text to read from."
    • addedInput schema / properties / path / description
      Added value: +"Dot path to the value, e.g. \"items[0].name\" or \"$.a.b\"."
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description's added value is "Returns the value found and whether it exists" (important, since there is no output schema) and "Pure computation, free," which discloses cost and side-effect behavior. Adequate but not rich on error/missing-path semantics.

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

Conciseness5/5

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

Three short sentences, front-loaded with the core action and path format, then the return contract, then the cost/behavioral note. No wasted words.

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

Completeness5/5

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

Only two required string parameters and no output schema, so the description need only explain the addressing format and return shape, both of which it does (value plus existence flag). Nothing an agent needs in order to invoke it correctly is missing.

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

Parameters3/5

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

Schema description coverage is 100%, so both parameters are fully documented in the schema, and the description's path example ("a.b[0].c") largely duplicates the schema's own example. No syntax details, escaping rules, or error behavior are added beyond the schema.

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?

States a specific verb (read) plus resource (one value from JSON) and the path syntax used to address it. It is clearly distinguishable from siblings like bursia_json_format, bursia_json_validate, and bursia_json_diff, though it never names those siblings to make the boundary explicit.

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

Usage Guidelines3/5

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

Usage is only implied by the phrase "Read one value from JSON" – the agent can infer this is for extraction rather than validation or pretty-printing. There is no explicit when-to-use, when-not-to-use, or pointer to the sibling tools that handle whole-document formatting or validation.

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.

Resources