Skip to main content
Glama

ScorpTech x402 Tools

Schema Validate

schema_validate
Read-onlyIdempotent

Validate JSON data against a JSON Schema (Ajv + formats). Body: { "schema": {...}, "data": {...} }. Returns valid boolean and error list. Returns JSON with: valid, errors. Price: $0.005 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/schema-validate

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": {
      "schema": "<schema>",
      "data": "<data>"
    },
    "name": "schema_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes
schemaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it discloses the return payload (valid boolean plus errors) and, notably, the pricing model ($0.005 USDC per successful call via x402 on Base or Solana), which an agent needs before invoking a paid endpoint. However, it omits anything about schema size limits, supported Ajv draft versions, or failure/refund behavior.

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?

The purpose and body shape are front-loaded, but 'Returns valid boolean and error list.' and 'Returns JSON with: valid, errors.' say the same thing twice. The payment/URL sentences, while useful, sit in the same undifferentiated run as the return-value description.

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?

With no output schema, the description adequately covers returns (valid, errors), input body shape, and the paid-endpoint economics. For a two-parameter validator of nested objects, the remaining gap is mainly draft/format-support detail rather than anything blocking a correct call.

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 description must carry meaning, and it does name both body fields and their roles (schema vs data) via the example body. It does not say which JSON Schema drafts are accepted or whether 'schema' may be a URL/reference, leaving the primary parameter's accepted form under-specified.

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+resource: validates JSON data against a JSON Schema, with the engine named (Ajv + formats). This is clearly distinct from an inference tool, but the description never contrasts itself with 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 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 relative to alternatives such as json_schema_infer. The only routing-style information is an alternate HTTPS endpoint, which is invocation detail rather than tool selection guidance.

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