Skip to main content
Glama

connect_status

Poll a connect request. Returns pending | denied | expired, or — once approved — the app id and the API TOKEN (returned exactly once: save it to the project's .env immediately, never print it in logs). The token is SCOPED (read, invoices, subscriptions, webhooks) — it cannot move money out of the app; transfers/refunds/checks need the primary token the human holds in the Mini App. Poll every 3-5 seconds while pending.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
poll_secretYesThe poll_secret from the connect tool.

TDQS

A4.7/5.0
Behavior5/5

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

Discloses the critical one-time return of the token and the immediate handling requirement (save to .env, never log). It also explains the token's scope and limitations, which annotations alone do not convey. The description is consistent with readOnlyHint=false and destructiveHint=false because polling can consume the one-time token without being destructive.

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?

Each sentence earns its place: the core polling definition, the security-critical token handling, token scope, and polling cadence. It is front-loaded with the main operation and keeps warnings compact rather than duplicating structured fields.

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?

For a one-parameter tool with no output schema, it fully covers return states, the one-time token, storage/logging constraints, and polling interval. No essential calling information is missing; the 'from the connect tool' schema hint ties it to the required poll_secret.

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 only parameter, poll_secret, is fully documented in the schema ('The poll_secret from the connect tool'), so the baseline applies. The description adds context by identifying the request being polled but does not add extra parameter details 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 the specific action ('Poll a connect request') and the resource, and enumerates return variants (pending | denied | expired, or app id and API token). This clearly differentiates it from siblings like connect, which presumably creates the request, and from money-movement tools such as transfer/refundInvoice that use a different token.

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?

Explicitly instructs to poll every 3-5 seconds while pending, and frames the token's scope so an agent knows this path is for read/invoices/subscriptions/webhooks, not for moving money—transfers/refunds/checks require the primary token. This gives actionable when-to-use and when-not-to-use 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.

TDQS

A3.6/5.0
Disambiguation5/5

Each tool targets a distinct resource and action: invoices, subscription plans, subscriptions, checks, transfers, connection status, and app info are cleanly separated. Even similarly named tools like transfer and transferBatch are clearly distinguished by single vs. batch behavior.

Naming Consistency4/5

The overwhelming majority follow a clear camelCase verb_noun pattern, such as createInvoice, getChecks, and refundInvoice. Minor deviations exist with get_docs and connect_status using snake_case, and bare verbs like connect and transfer, but these do not seriously harm predictability.

Tool Count4/5

At 24 tools, the set is slightly above the ideal compact range, but the scope is genuinely broad: connection onboarding, invoices, subscriptions, checks, transfers, balances, rates, app settings, and documentation. Most tools cover distinct needed operations for a merchant payments API.

Completeness4/5

The core lifecycles are well covered: create/list/delete/refund for invoices, create/list/archive for subscription plans, create/list/delete for checks, and single/batch transfers with listings. The main gap is a lack of singular get-by-id endpoints for individual resources, though list endpoints likely make this workable.

Resources