Skip to main content
Glama

x402 agent toolkit: service finder, payment safety, Solana & web tools

JSON path query

json_query
Read-onlyIdempotent

Extract values from JSON with a JSONPath-like path: a.b[0], a[*].b, a[-1], slices and filters like items[?(@.price>=10)]. Free: 10 calls/day; then $0.001/call via x402 (MCP params._meta["x402/payment"] or HTTP) or X-API-Key credits. [served by tools.moneytools.dev]

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
dataYesJSON
pathYespath

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds material context the annotations don't carry: a 10 calls/day free quota, then $0.001/call via x402 (_meta["x402/payment"] or HTTP) or X-API-Key credits, plus hosting attribution. It does not discuss behavior on invalid paths or empty match sets, which is the remaining gap.

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

Conciseness4/5

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

Two compact sentences: the capability and syntax come first, cost/auth second. Both earn their place, though the payment sentence is dense and could be tightened slightly.

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?

For a two-parameter read-only query tool with a full output schema, the definition covers what it does, the path dialect it accepts, and the cost/auth model an agent must know before calling. Nothing essential to correct invocation is missing.

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 100%, so baseline is 3, but the schema only labels the parameter as "path" with a single example. The description enumerates the supported path grammar (dot access, wildcards, numeric and negative indices, slices, filters with comparisons), which is genuine meaning beyond the schema.

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

Purpose5/5

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

States a specific verb (extract) and resource (values from JSON) plus concrete path syntax (a.b[0], a[*].b, a[-1], slices, filters like items[?(@.price>=10)]). The extraction semantics clearly separate it from conversion/formatting siblings such as json_format, json_diff and csv_json_convert.

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 implied by the purpose and the worked filter example, but there is no explicit when-to-use or when-not-to-use guidance, and no routing to or away from any sibling. The second sentence is pricing/auth info, not selection guidance.

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