Skip to main content
Glama

Subscription rail

wever_subscription-rail
Destructive

Prepay wallet-bound 30-day tool subscriptions. action=plans lists signed server-configured prices and terms. action=subscribe requires a stable 64-hex purchase_id and plan name; single-tool also requires the covered MCP tool name. Pay the quoted plan amount up front through x402 exact on Base mainnet. A shared free access call is reserved for checkout when available; otherwise the quote includes the 0.10 USDC rail access fee. Confirmed settlement returns a record-backed Ed25519 subscription receipt. action=status shows quota and cycle end. action=cancel marks cancellation at cycle end with no mid-cycle refund. Manual renewal requires a fresh subscribe after expiry; no stacking within one wallet and plan scope. Covered calls authenticate with X-Wever-Wallet-Proof. Fresh valid per-call authorizations from that same wallet also use quota; existing payment retries retain their recorded billing. Omit Payment-Signature for covered calls to avoid unnecessary payment verification. Expired or exhausted quota returns normal per-call 402. Subscription purchases and escrow principal never consume quota. auto_renew defaults false; true is rejected because the installed AP2 gateway cannot authorize recurring pulls or mandate revocation. cancel_auto_renew confirms no automatic mandate is held. verify_receipt checks both signature and durable wallet-owned record. Paid URL: 0.10 USDC per call on Base mainnet using x402 exact, under the existing shared 10 signed-wallet free calls over rolling 30 days. POST /api/subscription-rail with a fresh exact-body wallet proof. Public keys, signed plans and terms: /api/subscription-contract.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations (destructiveHint=true, idempotentHint=false, readOnlyHint=false) only sketch the safety profile, but the description adds substantial behavior: cancel has 'no mid-cycle refund,' 'no stacking within one wallet and plan scope,' auto_renew=true is rejected, expired/exhausted quota returns a per-call 402, and verification checks signature plus durable wallet record. It also documents auth requirements (X-Wever-Wallet-Proof) and idempotency-relevant constraints (stable purchase_id).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded, but the body is a dense run-on that mixes subscription mechanics, payment rails, auth headers, and endpoint boilerplate in one block. Some material is redundant (the shared free-call allowance is mentioned twice) and the trailing 'Paid URL / POST / Public keys' prose reads like appended marketing rather than tool guidance.

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

Completeness4/5

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

With no output schema, the description partially compensates by describing returns: 'Confirmed settlement returns a record-backed Ed25519 subscription receipt' and 'action=status shows quota and cycle end.' For a six-action tool it covers the full action surface, though the return shape of action=plans and cancel is only described qualitatively.

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

Parameters4/5

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

Schema coverage is reported at 100%, so the baseline is 3, but the description goes beyond it by explaining what the fields mean operationally: purchase_id must be 'stable' across retries, plan is a server-configured quoted plan, and tool is only required for single-tool subscriptions. It also documents header parameters (Payment-Signature, X-Wever-Wallet-Proof) that do not appear in the schema at all.

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

Purpose5/5

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

The opening sentence names a specific operation and resource: 'Prepay wallet-bound 30-day tool subscriptions.' It then enumerates every supported action (plans, subscribe, status, cancel, cancel_auto_renew, verify_receipt), so an agent knows exactly what the tool covers. It also indirectly differentiates from the sibling AP2/x402 rails by describing how subscriptions interact with them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context per action is explicit: 'action=subscribe requires a stable 64-hex purchase_id and plan name; single-tool also requires the covered MCP tool name,' and 'Manual renewal requires a fresh subscribe after expiry.' It also states when to omit the Payment-Signature. It stops short of naming an alternative sibling tool to use for one-off (non-subscription) payments, so it is clear context rather than full when-not guidance.

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.