Skip to main content
Glama

x402-json-keys

JSON Keys: Returns the top-level key names of a JSON string or object supplied as json, text or value 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
jsonNo
textNo
valueNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / json / description
      Removed value: -"Json to process"
    • removedInput schema / properties / text / description
      Removed value: -"Text to process"
    • removedInput schema / properties / value / description
      Removed value: -"Value to process"
  2. Changed2 schema fields changed
    • addedInput schema / properties / json
      Added value: +{
      +  "description": "Json to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text to process",
      +  "type": "string"
      +}
  3. 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. It does disclose the return content (top-level key names only, not nested keys) and a billing trait (5 free trial calls per signed wallet), which is real behavioral context. It says nothing about invalid/non-JSON input handling or whether it errors versus returns empty.

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?

One compact sentence that front-loads the verb and resource. The appended promo emoji/trial-call text is extraneous to task selection but does not obscure the core statement.

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?

No output schema exists, so the description must convey return semantics, and it does reasonably (key names). However, for a tool with three undocumented, non-required input parameters it omits how inputs are chosen and what happens on failure.

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?

Three parameters at 0% schema description coverage, so the description must compensate. Saying the is 'supplied as json, text or value' implies the three parameters are interchangeable input channels, which is useful, but it never states exclusivity, precedence, or which one is preferred.

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 and resource: 'Returns the top-level key names of a JSON string or object.' This clearly distinguishes it from the sibling x402-json-values (which returns values), though it does not name that sibling explicitly.

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 guidance on when to use this versus x402-json-values, x402-json-type, or x402-json-toolkit, nor any prerequisites. The only conditional-ish text is a pricing note, not usage direction.

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