Skip to main content
Glama

payment_required

Create a x402 payment request (HTTP 402) for a resource you sell to another agent. Returns a paymentId, the USDC amount in units, the destination address and the TraceaPayments contract to call. The paying agent must then call TraceaPayments.payX402(destination, amount, paymentId) on-chain — the contract enforces financial cap + whitelist on-chain. Deliver the resource only after payment_incoming confirms fulfilment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentNoAddress of the paying agent, if known
resourceNoIdentifier/URL of the resource to unlock after payment
amount_usdcYesAmount in USDC, e.g. '0.50' or '2'
destinationYesAddress that receives the USDC payment (yours)
ttl_secondsNoValidity of the payment session (30-3600s, default 300)

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It transparently explains the on-chain enforcement, the required follow-up call, and the need to wait for payment_incoming. But it does not mention permissions, side effects, or what happens if the payment session expires. This is a meaningful gap for a tool that creates a financial request.

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?

The description is three sentences, front-loaded with the core purpose, then return values, then the required workflow. Every sentence adds essential information and there is no filler or redundancy.

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?

For a tool with no output schema and no annotations, the description covers the key elements: what it creates, what it returns, the on-chain call the payer must make, and when to deliver the resource. It could mention expiry or failure modes, but the existing content is sufficient for an agent to invoke the tool 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 100%, so the baseline is 3. The description adds no extra detail about the parameters themselves; it only reuses destination and amount in the context of return values. The schema already explains all parameters, so the description provides marginal benefit here.

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

Purpose5/5

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

The description states the exact purpose: 'Create a x402 payment request (HTTP 402) for a resource you sell to another agent.' It uses a specific verb and resource, and the mention of returning payment details and the follow-up contract call clearly distinguishes it from sibling tools like payment_incoming and payment_status.

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?

The description gives clear context: use it when selling a resource to another agent. It also provides a workflow instruction ('Deliver the resource only after payment_incoming confirms fulfilment') that implies when to wait for payment. However, it does not explicitly name alternatives or state when not to use this tool, so it lacks explicit exclusions.

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.

TDQS

A3.9/5.0
Disambiguation3/5

Several tools overlap in the information they return: get_agent_info, verify_agent, and is_agent_revoked all provide agent status or verification details. Descriptions help distinguish raw registry data from a comprehensive verification check, but the boundaries are somewhat blurry, potentially leading to misselection.

Naming Consistency4/5

All tool names follow a consistent verb_noun pattern (get_, is_, log_, report_, verify_), with no mixed casing or unconventional naming. The use of different verbs for different actions is logical, though the get_ prefix dominates the read operations.

Tool Count5/5

With 9 tools, the server is well-scoped and falls within the ideal 3-15 range. Each tool addresses a distinct need in the domain of agent identity verification and action logging, and none feel superfluous or redundant.

Completeness3/5

The server covers reading agent information, verifying identity, and logging actions, but lacks essential lifecycle operations such as registering, updating, or revoking agents. While this may be intentional for an external registry, it leaves notable gaps for a fully self-contained tool set.

Resources