Skip to main content
Glama

verify_payment_required

Verify every signed offer inside a PaymentRequired object (pass the decoded JSON, or the raw base64 PAYMENT-REQUIRED header). Free.

Input Schema

NameRequiredDescriptionDefault
resource_urlNo
payment_requiredYesObject or base64/JSON string

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the burden. It does disclose two useful traits beyond the schema: the tool covers all offers in the object and that it is free to call. It says nothing about whether validation is local or network-bound, what happens on a partially valid object, or failure behavior.

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

Conciseness5/5

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

One front-loaded sentence plus a one-word cost cue. The resource is named first, the input options second, and nothing is padded.

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?

The core contract is clear enough to invoke, but with no annotations, no output schema, and an undocumented resource_url, an agent cannot tell what the verification result looks like or what resource_url affects. A verification tool should at minimum indicate the shape of pass/fail feedback.

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?

At 50% schema coverage, the description compensates for payment_required by spelling out the two accepted encodings (decoded JSON vs raw base64 header). However, resource_url is undocumented in both the schema and the description, leaving one of two parameters unexplained.

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: verifies every signed offer contained in a PaymentRequired object. 'Every signed offer' subtly distinguishes it from the sibling verify_offer (singular), though it never names that sibling or explain the split 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?

The parenthetical gives concrete input guidance (decoded JSON or raw base64 PAYMENT-REQUIRED header), which implies the call site in an x402 payment flow. But there is no explicit when-to-use or when-not-to-use versus verify_offer, verify_receipt, or preflight_x402_endpoint.

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.