Skip to main content
Glama

x402-is-json

Is JSON: Validate whether a string is valid JSON. Provide value or input; returns true if it parses, false otherwise. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
inputNo
valueNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
    • removedInput schema / properties / value / description
      Removed value: -"Value to process"
  2. Changed2 schema fields changed
    • addedInput schema / properties / input
      Added value: +{
      +  "description": "Input to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / value
      Added value: +{
      +  "description": "Value to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations at all, the description carries the full burden. It does disclose the boolean return ('returns true if it parses, false otherwise'), which is genuine value, but it says nothing about whether non-string input fails, what happens when both parameters are supplied, or whether errors are returned vs thrown. For a zero-annotation tool the safety/side-effect profile is only implied by the word 'Validate'.

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 the verb and result in two short sentences; the third sentence is a pricing/metering note with an emoji but still carries actionable information about the free trial quota.

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?

For a trivial two-parameter predicate the description covers purpose and return value, which is most of what an agent needs. The remaining gap is the unresolved relationship between the two undocumented string parameters, which neither schema nor description clarifies.

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 0%, so the schema documents only that both fields are strings. "Provide value or input" hints that the two parameters are interchangeable aliases for the string to check, which is real added meaning, but it does not resolve precedence when both are given or what happens when neither is.

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?

The description states a specific verb and resource: validate a string as, returning true if it parses. It is clearly distinguishable from the neighbouring json-validate / json-schema-validate style siblings by the boolean outcome, though it never names those siblings explicitly.

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?

"Provide value or input" gives minimal invocation guidance, but there is no statement about when to pick this over x402-json-validate or x402-json-schema-validate in the very large sibling set, and no exclusions or prerequisites.

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