Skip to main content
Glama

ScorpTech x402 Tools

Jsonpath

jsonpath
Read-onlyIdempotent

Query JSON with JSONPath (RFC 9535): dot and bracket names, indexes, slices, wildcards, recursive descent (..) and filters with comparisons, && || !, and length() / count() / match() / search() / value() functions, e.g. $.store.book[?@.price < 10].title. Returns matched values with their normalized paths. Several queries per call. POST JSON body {json, query}. Returns JSON with: query, count, values, paths, truncated. Price: $0.003 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/jsonpath

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>"
    },
    "name": "jsonpath"
  }
}

Input Schema

NameRequiredDescriptionDefault
jsonYesJSON document to query
limitNo
queryNoJSONPath expression starting with $
queriesNoSeveral expressions at once (alternative to query)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), and the description goes well beyond them: it discloses the response keys (query, count, values, paths, truncated), that matched values come back with normalized paths, and the per-call price of $0.003 USDC via x402 on Base or Solana. Cost and payment/auth requirements are exactly the kind of context annotations cannot express.

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?

Front-loaded with purpose and a worked example, then moves to return shape, then cost and transport. It is dense and reads as a packed run of clauses rather than prose, but nearly every clause carries information an agent needs before calling.

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

Completeness4/5

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

There is no output schema, but the description compensates by naming the response fields, and it covers payment and the parallel HTTPS endpoint. Missing pieces are minor: what truncation implies for limit selection and what errors look like for an invalid expression.

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 75%, so the baseline is 3, and the description adds real meaning on top: it explains that query and queries are alternatives ("Several queries per call"), shows a valid expression syntax, and ties the response field "truncated" to the implicit row cap. The limit parameter itself is never mentioned, which is the remaining gap.

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 and resource ("Query JSON with JSONPath") plus the standard it implements (RFC 9535), then enumerates the supported constructs and gives a concrete expression example. An agent immediately knows this is a JSONPath evaluator, not a JSON formatter or a generic math tool like its siblings.

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

Usage Guidelines4/5

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

Gives clear operating context: several expressions can be sent per call, the wire format is a POST body of {json, query}, and an equivalent HTTPS endpoint is offered. It stops short of explicit when-not-to-use guidance or naming an alternative for simple single-key extraction, so it is clear context rather than full 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.

Resources