Skip to main content
Glama

api_payment_setup

Read-onlyIdempotent

Dual Payment Setup — generate installable x402 and MPP seller/buyer starter files using official SDKs; no automatic payment, deployment or secret custody. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.

Input Schema

NameRequiredDescriptionDefault
pathNoLocal HTTP paid route, e.g. /paid
roleYesseller or buyer
amountNoPositive payment amount, such as 0.01; separate chain/currency terms apply to MPP
protocolYesx402, mpp or both
recipientNoSeller EVM receiving address (0x followed by 40 hex characters)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior5/5

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

The description adds substantial behavior beyond the annotations: it clarifies that the tool only scaffolds files and performs no payment, deployment, or secret custody, discloses a per-call cost of 0.01 USDC on Base x402, and documents an X-Provider-Key header for customer-owned credentials. That is exactly the operational context annotations cannot convey. File generation is described as producing starter artifacts rather than mutating state, which is consistent with readOnlyHint=true.

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?

Two dense sentences with the core action front-loaded and no filler. The em-dash chain packs several distinct facts (scope limits, price, auth header) into one line, which is efficient but slightly crowded for easy scanning.

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?

For a five-parameter generation tool with no output schema, the description never says what the caller receives — file contents inline, a bundle, or URLs — which is a meaningful gap. Safety, cost, and auth are well covered, so the omission is limited to return shape rather than a broader incompleteness.

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 coverage is 100%, so protocol, role, amount, path, and recipient are already documented in the schema, and the baseline of 3 applies. The description reinforces protocol options (x402/MPP), roles, and the payment amount, but adds no new meaning for path or recipient, and the X-Provider-Key header is not actually a schema parameter.

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 artifact: 'generate installable x402 and MPP seller/buyer starter files using official SDKs.' That is far more precise than the name alone, and there are no close payment-scaffolding siblings to confuse it with. It stops short of 5 only because the 'Dual Payment Setup' framing is slightly redundant with the sentence that follows.

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?

Usage is implied by the exclusions: 'no automatic payment, deployment or secret custody' tells the agent what this tool will not do, which scopes it implicitly. However, there is no explicit when-to-use statement, no named alternative for actually executing payments, and no prerequisite guidance beyond the X-Provider-Key header mention.

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