Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-schema-validate

Schema Validate: Validates data against a schema: checks required fields and the property types string/number/boolean/array/object, and returns valid plus an issues list 🆓 5 free trial calls per signed wallet

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402-schema-validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNo
schemaNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / data / description
      Removed value: -"Data to process"
    • removedInput schema / properties / schema / description
      Removed value: -"Schema to process"
  2. First observed

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the return shape ('valid plus an issues list') and a pricing/access constraint ('5 free trial calls per signed wallet'), which is real behavioral context. But it says nothing about failure modes, whether invalid data raises an error or returns validation issues, or what the issues list contains, which for an unannotated validator is a notable gap.

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

Conciseness3/5

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

One front-loaded sentence that covers the core behavior, but it opens by restating the tool name ('Schema Validate:') and appends a promotional trial offer with an emoji that does not help invocation. Mostly efficient with avoidable noise at both ends.

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?

With no output schema, the description partially compensates by naming the return fields (valid + issues). However, with zero schema coverage on two parameters and no annotations, key details — parameter encoding and error-vs-issues behavior — remain missing for a validator.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and both parameters are bare strings named 'data' and 'schema'. The description implies the relationship between them but never clarifies whether each must be a JSON-encoded string, a raw object serialized as text, or something else — exactly the ambiguity an agent would hit when calling this tool.

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 — validates data against a schema — and even enumerates the checked types (string/number/boolean/array/object), which tells the agent this is a structural/property-type validator. It does not, however, distinguish itself from near-identical siblings such as x402-json-schema-validate or x402-json-validate, so an agent cannot route between them from this text alone.

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 when-to-use or when-not-to-use guidance and no pointer to an alternative. The description never says which schema dialect is accepted (JSON Schema vs. custom) nor when to prefer the json-schema sibling, leaving selection entirely to inference.

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.