Skip to main content
Glama

poll_session

Check the status of a Stripe card payment. Returns pending or complete. On completion after signup, returns the api_key. Call this after create_account_card or top_up_card once the user has paid.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesThe session_id returned by create_account_card or top_up_card

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changed
    • changedInput schema / properties / session_id / description
      Previous value: -"Stripe session ID from create_account_card or top_up_card"New value: +"The session_id returned by create_account_card or top_up_card"
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It states that the tool is a status check ('Check the status') and describes the return values ('pending or complete', 'api_key on completion after signup'). However, it omits potential error behavior, authentication requirements, or whether it can be called repeatedly. This is adequate, not rich.

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?

The description is two sentences, front-loaded with the core action, and every sentence contributes value. It is highly concise without padding.

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?

For a simple one-parameter polling tool, the description is quite complete. It tells what it returns (pending/complete and api_key on completion after signup) and when to call it. However, it does not cover error cases (e.g., invalid session_id) or whether there are side effects, which prevents a perfect score.

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?

The schema description for session_id already states it is 'The session_id returned by create_account_card or top_up_card', and the tool description repeats this. With 100% schema coverage, baseline is 3; the description adds no additional meaning 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?

The description clearly states the specific purpose: 'Check the status of a Stripe card payment. Returns pending or complete.' It also adds a distinguishing detail by mentioning the return of api_key on completion after signup. This distinguishes it from sibling tools like check_action or quick_check, which likely serve different purposes.

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?

Provides explicit usage context: 'Call this after create_account_card or top_up_card once the user has paid.' This tells when to use the tool, with clear prerequisites. It does not explicitly mention alternatives or when not to use it, so it falls short of a 5, but the context is strong.

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.2/5.0
Disambiguation4/5

Each tool has a distinct role, but the presence of payment-method variants (check_action vs check_action_paid, create_account vs create_account_card, top_up vs top_up_card) introduces minor overlap that is clearly explained. The check tools are differentiated by output detail and purpose, though quick_check and check_action could be confused at a glance.

Naming Consistency4/5

Names predominantly follow a verb_noun pattern (check_action, create_account, run_tests), with consistent _paid and _card suffixes for payment variants. Minor deviations like quick_check (adjective_noun) and top_up (phrasal verb) are understandable but break the pattern slightly.

Tool Count5/5

With 14 tools, the set covers the full lifecycle of policy creation, testing, action checking, payment, and proof verification without bloat. Each tool serves a clear purpose within the service's scope.

Completeness4/5

The primary workflow (create policy, test policy, check actions, verify proofs) is well covered, including multiple payment options. Missing utilities like listing or deleting policies and credit balance checks are minor gaps that don't block the core use case.

Resources