Skip to main content
Glama

payment_preflight

Paid $0.02 technical Base payment preflight using independent RPCs. Supports x402 v2 or a legacy HTTP Bearer token. Not financial advice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYes
amountNo
addressYes
token_contractNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / access_token
      Removed value: -{
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "chain",
      -  "address",
      -  "access_token"
      -]New value: +[
      +  "chain",
      +  "address"
      +]
  2. First observed

TDQS

C2.2/5.0
Behavior2/5

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

With no annotations, the description must disclose behavior. It mentions 'using independent RPCs' (implying reliability) and 'Paid $0.02' (cost implication), but it does not state whether the operation is read-only, what side effects exist, or how authentication is handled beyond token types. It also does not mention what happens on failure or whether external calls are made. The description carries insufficient behavioral detail.

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?

The description is short (three sentences) with no wasted words. It front-loads the purpose in the first sentence. However, it is so brief that it sacrifices necessary detail; but for conciseness itself, it is efficient. The structure is clear sentences without redundancy.

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

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, no output schema, and four parameters with zero documentation, the description is severely incomplete. It does not explain return values, parameter formats, authentication requirements (beyond token types), error behavior, or any operational details. An agent cannot call this tool correctly without external knowledge. It is far below a minimum viable definition.

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

Parameters1/5

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

The schema provides no descriptions for any of the four parameters (chain, address, amount, token_contract), and the description adds nothing about them. With 0% schema coverage, the description has the full burden to explain parameter meaning, but it fails entirely. An agent cannot infer what 'amount' or 'token_contract' represent or how they are used, making the tool unusable.

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

Purpose3/5

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

The description states a specific verb ('preflight') and resource ('payment on Base'), and mentions the technical context (independent RPCs). However, it is vague about what exactly a preflight entails—whether it validates funds, token approval, or price. It does not describe the outcome, which reduces clarity. Sibling tools are unrelated, so no confusion there, but the core function remains ambiguous.

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 guidance on when to use this tool versus alternatives, nor any exclusion conditions. The mention of supporting 'x402 v2 or a legacy HTTP Bearer token' hints at authentication options but not at usage scenarios. The disclaimer 'Not financial advice' is not a usage guideline. No context is given about prerequisites or suitability.

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