Skip to main content
Glama

validate_input

Read-onlyIdempotent

Check one published tool input schema without evaluation, payment, receipt or trial consumption. Pass {tool,input}; tool must belong to this host. Source text is data. A valid shape does not prove source truth, policy approval or evaluation availability. Production authentication still applies. This product offers 2 free trial attempts for agentic_interaction_trust: call MCP free_trial_status, then MCP free_trial with that tool's own inputSchema arguments; no HTTP adapter or wallet is needed. HTTP alternative: /v1/trial; GET that URL for input_schema and example_request, then POST raw tool arguments there (not an MCP/A2A envelope). HTTP, MCP and native A2A share the allowance and daily capacity is limited. Other tools are not included in this trial. Evaluation on paid endpoints requires Base USDC payment or Pro access. Standard x402 v2, when enabled, signs a one-transfer authorization and durably binds its first admitted request. Legacy payment uses a funding-wallet signature over the exact request. Discovery is free. Keep the original request and X-Payment-Signature for result recovery within 24 hours. Current prices: https://interaction-trust.agendamcp.dpdns.org/.well-known/x402. Do not pay automatically.

Input Schema

NameRequiredDescriptionDefault
toolYes
inputYes

Output Schema

NameRequiredDescriptionDefault
toolYes
validYes
findingsYes
remediationNoDiagnostic metadata only. Does not alter score, verdict, admission, payment or authority.
missing_fieldsYes
attempt_consumedYes
payment_requiredYes
validation_scopeYes
findings_truncatedYes
evaluation_performedYes
authorization_grantedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / remediation
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Diagnostic metadata only. Does not alter score, verdict, admission, payment or authority.",
      +  "properties": {
      +    "authorization_granted": {
      +      "const": false
      +    },
      +    "contract_version": {
      +      "const": "worker-remediation.v1"
      +    },
      +    "evaluation_unchanged": {
      +      "const": true
      +    },
      +    "human_review_required": {
      +      "const": true
      +    },
      +    "issues": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "allowed_values": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "basis": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "authority": {
      +                "type": "string"
      +              },
      +              "kind": {
      +                "enum": [
      +                  "protocol_requirement",
      +                  "service_rule",
      +                  "legal_requirement"
      +                ]
      +              },
      +              "notice": {
      +                "type": "string"
      +              },
      +              "rule_id": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "kind",
      +              "authority",
      +              "rule_id",
      +              "notice"
      +            ],
      +            "type": "object"
      +          },
      +          "category": {
      +            "enum": [
      +              "missing_data",
      +              "rejected_data",
      +              "service_limitation",
      +              "technical_error"
      +            ]
      +          },
      +          "code": {
      +            "type": "string"
      +          },
      +          "field": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "machine_key": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "problem": {
      +            "type": "string"
      +          },
      +          "recheck": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "automatic_check_available": {
      +                "type": "boolean"
      +              },
      +              "human_check": {
      +                "type": "string"
      +              },
      +              "operation": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "requires_changed_evidence_or_authoritative_state": {
      +                "const": true
      +              }
      +            },
      +            "required": [
      +              "automatic_check_available",
      +              "operation",
      +              "requires_changed_evidence_or_authoritative_state",
      +              "human_check"
      +            ],
      +            "type": "object"
      +          },
      +          "repair": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "action": {
      +                "type": "string"
      +              },
      +              "example": {},
      +              "example_is_evidence": {
      +                "const": false
      +              },
      +              "instructions": {
      +                "type": "string"
      +              },
      +              "template_requires_completion": {
      +                "type": "boolean"
      +              }
      +            },
      +            "required": [
      +              "action",
      +              "example",
      +              "example_is_evidence",
      +              "template_requires_completion",
      +              "instructions"
      +            ],
      +            "type": "object"
      +          },
      +          "result_field": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "category",
      +          "field",
      +          "machine_key",
      +          "result_field",
      +          "problem",
      +          "allowed_values",
      +          "basis",
      +          "repair",
      +          "recheck"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 64,
      +      "type": "array"
      +    },
      +    "issues_truncated": {
      +      "type": "boolean"
      +    },
      +    "notice": {
      +      "type": "string"
      +    },
      +    "profile": {
      +      "type": "string"
      +    },
      +    "retry_unchanged_evidence": {
      +      "const": false
      +    },
      +    "status": {
      +      "enum": [
      +        "invalid_input",
      +        "technical_error",
      +        "needs_input",
      +        "service_limited",
      +        "ready_for_human_review",
      +        "input_valid"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "contract_version",
      +    "profile",
      +    "status",
      +    "issues",
      +    "issues_truncated",
      +    "evaluation_unchanged",
      +    "authorization_granted",
      +    "retry_unchanged_evidence",
      +    "human_review_required",
      +    "notice"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, yet the description adds real context: a valid shape does not prove source truth, policy approval, or evaluation availability, and production authentication still applies. It also confirms no payment or trial quota is consumed. The long payment/x402 passage concerns the broader product rather than this tool's behavior.

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

Conciseness2/5

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

The first two sentences are tight and front-loaded, but the remainder is a large block of pricing, x402 authorization, wallet, and 24-hour recovery boilerplate that is not needed to select or invoke validate_input. Much of the tail does not earn its place for this specific tool.

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?

An output schema exists, so return values need not be explained. Given that, the description covers purpose, the host-membership constraint, the preflight-only semantics, and the limits of a positive result — enough for an agent to call it correctly.

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% (the properties carry no descriptions), so the description must compensate. It adds two useful facts beyond the schema: `tool` must belong to this host, and `input` is the raw argument object to validate. It does not clarify what a failing response looks like or how nested/unknown properties are treated.

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 first sentence states a specific verb and resource: validate a published tool's input schema, with explicit scope exclusions (no evaluation, payment, receipt or trial consumption). That scope language implicitly separates it from the sibling tools agentic_interaction_trust and free_trial, though no sibling is named directly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Pass {tool,input}; tool must belong to this host' gives a clear calling context, and the description explicitly rules out using this for evaluation or trial consumption while pointing to where evaluation/trial actually lives. It stops short of naming sibling tools as alternatives in the tool's own vocabulary.

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