Skip to main content
Glama

delegare-agent-payments

Poll Setup Session

poll_setup_session
Read-onlyIdempotent

Polls the status of a pending spending mandate setup. Call this after generating a setup URL to get the final intentMandate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
_metaNoInternal metadata for transport
sessionTokenYesThe sessionToken returned by request_payment_authorization

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYesCurrent status: pending, complete, or expired
intentMandateNoThe finalized intent mandate if complete
encodedMandateNoLegacy encoded mandate field

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive hints, so the description need not repeat those. It adds value by disclosing the dependency on prior URL generation and that the return provides the final intentMandate. It does not describe failure or pending-state behavior, but the annotations lower the bar.

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?

Two short sentences, front-loaded with the verb and purpose, and no wasted words. Every phrase carries meaning.

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 an output schema available and annotations covering safety, the description sufficiently explains what the tool does, when to call it, and what it returns. It lacks details on polling intervals or pending-state behavior, but these are not critical given the context signals.

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%, with the sessionToken parameter described as 'returned by request_payment_authorization'. The description adds no extra parameter details, but the schema already handles it, so baseline 3 is appropriate.

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 description clearly states the verb (polls), the resource (status of spending mandate setup), and the intended outcome (get final intentMandate). It distinguishes this from sibling tools like request_payment_authorization by explicitly mentioning it follows URL generation.

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?

The description gives explicit when-to-use guidance: 'Call this after generating a setup URL'. It does not mention when not to use, but the context is clear and sufficient for a polling tool with a single prerequisite.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool serves a distinct purpose: fetching URLs with payment support, checking balances, viewing merchant stats, making payments, polling setup status, and requesting payment authorization. Even the related setup and poll tools are clearly separated by their function.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using snake_case (execute_fetch, get_balance, get_merchant_stats, pay_merchant, poll_setup_session, request_payment_authorization). This makes the toolset predictable and easy to navigate.

Tool Count5/5

With exactly 6 tools, the set is well-scoped for an agent-payments domain. Each tool addresses a core aspect (authorization, polling, paying, fetching, balance, merchant stats) without unnecessary bloat or missing essentials.

Completeness4/5

The toolset covers the main agent-payment workflow end-to-end: request authorization, poll setup, make payments, and fetch paid resources. A minor gap is the lack of a transaction history or mandate revocation tool, but these are not critical for the core use case.

Resources