Skip to main content
Glama

Validate a value

validate_data
Read-onlyIdempotent

kind is json, json_schema, evm_address, btc_address, email, url, or iban. json uses text. json_schema uses value and schema. The schema subset is type, properties, required, enum, const, minimum, maximum, minLength, maxLength, pattern, items, and additionalProperties. Paid like hash_text. POST https://api.agentpaywire.com/v1/tools/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": {
      "kind": "<kind>"
    },
    "name": "validate_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
textNo
valueNo
schemaNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety and idempotency are covered. The description adds two genuinely useful facts beyond them: the tool is paid, and the exact endpoint it POSTs to. It does not disclose what a validation failure looks like (error vs. negative result), which is the main behavioral question for a validator.

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?

Four dense sentences with no filler, front-loaded with the enum that gates every other parameter. Fragmented phrasing ('Paid like hash_text. POST https://...') is terse rather than wasteful, though slightly telegraphic.

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?

Given four parameters, a nested schema object, and no output schema, the description covers the input contract well but not the outcome contract: whether invalid data raises an error or returns a result, and what the response contains. For a validator whose whole value is the verdict, that gap is material.

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?

With 0% schema description coverage and a bare string 'kind' field, the description is the only source of meaning, and it does compensate substantially: it lists all legal kind values, maps json→text and json_schema→value+schema, and enumerates the supported JSON Schema keyword subset. However it leaves open which field the non-json kinds (evm_address, email, url, iban) consume, and the schema object's structure is only partly explained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never states a verb phrase; the purpose is inferred from the enumeration of 'kind' values (json, evm_address, email, url, iban) plus the title 'Validate a value'. It is clear enough that this validates inputs of several formats, but the definition relies on the reader assembling that from the parameter list rather than saying it outright.

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 named alternative; 'Paid like hash_text' is a pricing reference, not a routing hint. An agent gets no help choosing between this and siblings such as decode_data or hash_text when input is ambiguous.

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