Skip to main content
Glama

Pass Purchase

v1_pass_purchase

Purchase a prepaid x402 route pass with configurable validity, call count, and route scope to cover multiple paid API calls under a spending tier.

Instructions

Pass Purchase

Remote route: POST /v1/pass/purchase (25.00 USD x402/base/usdc on eip155:8453).

Input Schema

NameRequiredDescriptionDefault
ttl_daysNoHow many days the pass is valid for. Default 30.
calls_totalNoHow many calls the pass buys. Default 1,000.
route_scopeNoWhich routes the pass covers. 'micro_le_0.25' = any live paid route priced at or below $0.25.micro_le_0.25

Output Schema

NameRequiredDescriptionDefault
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already declare this is non-read-only, open-world, non-idempotent, and non-destructive. The description adds useful payment mechanics (POST, 25.00 USD via x402/base/usdc on eip155:8453), but it does not disclose side effects, repeat-purchase risk, refund behavior, or what happens after purchase.

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 very short and front-loaded, with no filler. However, the first two words merely repeat the title, so it is concise but not maximally informative.

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?

Given this is a paid, non-idempotent purchase operation with three configurable pass parameters and a trial sibling, the description is too thin. It discloses route and price, but omits what the pass grants, when to use it, and how to choose the trial alternative.

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 schema already documents ttl_days, calls_total, and route_scope, including defaults. The description adds no parameter meaning beyond the schema, which is acceptable at baseline 3.

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

Purpose2/5

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

The description essentially restates the title/name ("Pass Purchase") and adds only a remote route and price. It does not state what a pass is, what it enables, or how it differs from the sibling pass purchase trial.

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 when-to-use guidance, no mention of the trial alternative, and no prerequisites or payment context beyond the bare route and price.

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

Deploy Server

Other Tools