Skip to main content
Glama

grid402_pass

Issues prepaid x402 Session Passes using a Multi-Chain USDC payment hash, or queries remaining credits with a pass status token.

Instructions

Emite um Session Pass pré-pago x402 (Starter 2 USDC = 400 créditos, Pro 5 USDC = 1.000 créditos, Fleet 20 USDC = 6.000 créditos; 1 crédito = 0.0050 USDC) ou consulta status via ?status=pass_g402_...

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "grid402_pass"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNoToken pass_g402_... opcional para consulta gratuita de saldo.
payment_tx_hashNoComprovante opcional de pagamento Multi-Chain USDC (Base, Polygon, Arbitrum, Optimism, Ethereum ou Solana) para emissão de novo passe.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.0
    • changedInput schema / properties / payment_tx_hash / description
      Previous value: -"Hash opcional de transação na Base Mainnet para emissão de novo passe."New value: +"Comprovante opcional de pagamento Multi-Chain USDC (Base, Polygon, Arbitrum, Optimism, Ethereum ou Solana) para emissão de novo passe."
  2. Addedv1.7.1

TDQS

B3.4/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 behavioral burden. It does add useful context — tier pricing, the 1 credit = 0.0050 USDC rate, and the six supported USDC chains — but it omits whether the tx hash is verified on-chain, whether the operation is idempotent, how long a Session Pass remains valid, and what happens on payment failure.

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?

A single dense sentence with the two modes stated up front and pricing parenthetically embedded. Nothing is wasted, though the tier list makes it slightly heavy for a two-parameter tool.

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 payment-bearing tool with no annotations and no output schema, the description covers pricing and the two operating modes but leaves gaps: pass lifetime, return shape of the issued token, verification behavior, and the overlap with grid402_pass_balance are all unaddressed.

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 both optional parameters are already documented. The description adds marginal value by clarifying that a status token yields a free balance query and that a tx hash triggers issuance of a new pass, but gives no format or validation detail beyond the schema.

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?

The description names a specific action and resource: issuing a pre-paid x402 Session Pass or querying its status, with concrete tier pricing (Starter 2 USDC = 400 credits, etc.). It does not, however, differentiate itself from the sibling grid402_pass_balance, even though both appear to surface balance/status information, leaving the agent to guess which one to call.

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 rather than stated: supplying a payment_tx_hash issues a new pass, supplying ?status=pass_g402_... performs a query. There is no explicit when-to-use/when-not-to-use guidance and no routing to grid402_pass_balance for plain balance checks.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.