Skip to main content
Glama

Lordevo Shop: website checks for agents (x402)

JSON query: JSONPath (RFC 9535) or JSON Pointer ($0.0021/call)

json_query
Read-onlyIdempotent

$0.0021 per call (x402, USDC on Base; free trial: add "trial": true or use try_free). [Data utilities] Selects values from a JSON document with a JSONPath query (RFC 9535: names, indexes, slices, wildcards, .. descendants, filters with comparisons, && || ! and length/count/value) or a JSON Pointer (RFC 6901). Returns every match with its normalized path and pointer. Input: json and query (POST for large documents), optional max_results. Limits: 1 MB JSON, 1,000-character query; match() and search() are not offered. Offline.

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

Input Schema

NameRequiredDescriptionDefault
jsonYesJSON text, up to 1 MB (a JSON value is also accepted in a POST body or MCP arguments)
queryYesJSONPath starting with $ (RFC 9535, e.g. $.items[?@.price < 10].name) or JSON Pointer starting with / (RFC 6901, e.g. /items/0/name)
trialNoOptional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms.
max_resultsNoValues returned, 1-1000 (default 100); match_count is always the full count100

Output Schema

NameRequiredDescriptionDefault
toolNo
cacheNo
notesNo
queryNo
_trialNoPresent when the call was a free trial call.
resultsNo
languageNo
providerNo
price_usdNo
truncatedNo
match_countNo
results_returnedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / trial / description
      Previous value: -"Optional. true = answer free if a trial call is left (3 per IP per UTC day); otherwise you get the payment terms."New value: +"Optional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms."
  2. Changed2 schema fields changed
    • addedInput schema / properties / trial
      Added value: +{
      +  "description": "Optional. true = answer free if a trial call is left (3 per IP per UTC day); otherwise you get the payment terms.",
      +  "type": "boolean"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "anyOf": [
      +    {
      +      "required": [
      +        "tool",
      +        "language",
      +        "match_count",
      +        "results"
      +      ]
      +    },
      +    {
      +      "properties": {
      +        "accepts": {
      +          "type": "array"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "resource": {
      +          "type": "object"
      +        },
      +        "x402Version": {
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "x402Version",
      +        "accepts"
      +      ]
      +    },
      +    {
      +      "properties": {
      +        "charged": {
      +          "type": "boolean"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "error"
      +      ]
      +    }
      +  ],
      +  "properties": {
      +    "_trial": {
      +      "description": "Present when the call was a free trial call.",
      +      "type": "object"
      +    },
      +    "cache": {
      +      "type": "object"
      +    },
      +    "language": {
      +      "enum": [
      +        "jsonpath",
      +        "json-pointer"
      +      ],
      +      "type": "string"
      +    },
      +    "match_count": {
      +      "type": "integer"
      +    },
      +    "notes": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "price_usd": {
      +      "type": "number"
      +    },
      +    "provider": {
      +      "type": "string"
      +    },
      +    "query": {
      +      "type": "string"
      +    },
      +    "results": {
      +      "items": {
      +        "properties": {
      +          "path": {
      +            "type": "string"
      +          },
      +          "pointer": {
      +            "type": "string"
      +          },
      +          "value": {}
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "results_returned": {
      +      "type": "integer"
      +    },
      +    "tool": {
      +      "type": "string"
      +    },
      +    "truncated": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/closed-world safety, yet the description adds substantial context beyond them: per-call pricing and payment rail (x402, USDC on Base), free-trial mechanics, size limits (1 MB JSON, 1,000-char query), unsupported functions, and 'Offline' execution. This is exactly the behavioral detail annotations cannot carry.

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?

A single dense paragraph with no filler; limits, payment, and unsupported features each earn their sentence. Minor redundancy: the price appears in both the title and the first clause, and leading with pricing pushes the core purpose back 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?

An output schema exists, so return-value documentation is not strictly required, yet the description still summarizes the result shape. For a moderate-complexity query tool it covers limits, payment, unsupported operators, and execution mode — nothing an agent needs to call 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 the baseline is 3. The description restates json/query and optional max_results without adding syntax or format detail beyond the schema, though it does note that every match is returned with its normalized path and pointer.

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 — 'Selects values from a JSON document' — and names both supported query languages (JSONPath RFC 9535, JSON Pointer RFC 6901). This clearly separates it from sibling JSON tools such as json_repair, json_validate, and json_schema_infer.

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?

Explains invocation context (POST for large documents, optional max_results) and names the free-trial alternative ('add "trial": true or use try_free'). It also states unsupported features (match()/search() not offered), which steers query design, but gives no explicit when-to-use-vs-siblings 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