Skip to main content
Glama

PHION Payments

payment_preflight

Read-onlyIdempotent

Fail-closed x402 v2 firewall for network, asset, recipient, amount, scheme, resource host and expiry; 0.002 USDC.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
policyYes
intent_idNo
payment_requirementYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 the safety profile is covered. The description adds one genuinely useful behavioral trait — 'fail-closed' (denies by default) — plus a cost signal ('0.002 USDC'), but says nothing about required permissions, what a denial returns, or rate limits. Because annotations carry most of the burden, a 3 is appropriate.

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?

Effectively a single front-loaded clause with no filler. The trailing cost figure sits awkwardly and would fit better as its own sentence, but the definition is not bloated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/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 no explanation, but the tool has nested required objects with 0% schema coverage and the description never defines the shape or accepted values of 'policy'/'payment_requirement'. For a fail-closed gate whose correctness hinges on those inputs, this leaves too much for the agent to infer.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and two of three parameters (policy, payment_requirement) are nested objects. The enumerated check dimensions loosely sketch what payment_requirement contains, but the required 'policy' object and 'intent_id' are entirely unexplained, so the description does not compensate for the coverage gap.

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 screening gate ('fail-closed x402 v2 firewall') and enumerates the dimensions it checks (network, asset, recipient, amount, scheme, resource host, expiry), which is far more specific than a tautology and helps distinguish it from sibling tools like x402_quote_comparator or payment_diagnose. It is somewhat jargon-dense, but an agent can tell what the tool does.

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 explicit when-to-use, when-not, or routing to alternatives (payment_diagnose, payment_route_selector, x402_quote_comparator, counterparty_risk_preflight are all plausible siblings). The prefix 'preflight' weakly implies 'before sending a payment,' but no condition or prerequisite is stated.

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