Skip to main content
Glama

verify_payment

LEGACY wallet flow — new integrations should use create_account and launch_campaign (API key + prepaid balance, no wallet). Only when initialize_session returned paymentRequired true: verifies your on-chain USDC payment to the treasury and returns a one-time access token. A free session needs no payment and is refused here. The access token is required for create_campaign and expires after 1 hour. The token is single-use — it is consumed when create_campaign is called.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYesSession ID returned by initialize_session
txSignatureYesSolana transaction signature of your USDC payment to treasury

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it delivers: it returns a one-time access token, the token is required by create_campaign, expires after 1 hour, and is single-use (consumed by create_campaign). It also discloses a refusal path for free sessions. It stops short of describing what happens on an invalid or replayed txSignature, but the core behavioral profile is unusually well covered.

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

Conciseness5/5

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

Four tight sentences, each doing distinct work: legacy warning first, then the gating condition, then the return value, then the token's lifetime and single-use rule. No repetition or filler.

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

Completeness5/5

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

No output schema exists, so the description must explain the return, and it does — access token, required by create_campaign, 1-hour expiry, single-use consumption. Combined with the explicit precondition and refusal case, an agent has everything needed to call this correctly.

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 coverage is 100% and both parameters are already documented inline, so the baseline is 3. The description adds context (the sessionId originates from initialize_session; txSignature is an on-chain USDC payment to the treasury) but no format, constraint, or edge-case detail beyond the schema.

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?

States a specific verb and resource — verifies an on-chain USDC payment to the treasury — and names the artifact produced (a one-time access token). It also positions itself against both the legacy/new paths and the free-session case, so an agent can distinguish it from siblings like verify_campaign_funding or verify_login_signature.

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

Usage Guidelines5/5

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

Explicit precondition: only call when initialize_session returned paymentRequired true, and it refuses free sessions. It also names alternatives for new integrations (create_account + launch_campaign, API key + prepaid balance) and marks this tool as legacy. Nothing about when to use or not use it is left to inference.

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