Skip to main content
Glama

Get Stripe connection

stack_payments_get_stripe
Read-only

Get the Stripe connection of an agent account: state (awaiting_key, active, disconnected), mode (live or test), the last four characters of the restricted key, the webhook address and the events it needs. Returns connection null when none was started. Never returns the key or the signing secret.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "account_id": "<account_id>"
    },
    "name": "stack_payments_get_stripe"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idYesAgent account id (acct_*)
passport_tokenNoPassport JWT of the account's agent, sent as X-Passport-Token. It must carry the account's Mission.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered; the description still adds real value by disclosing the possible state values, the live/test mode, the null-when-absent case, and the guarantee that neither the restricted key nor the signing secret is ever returned. That secrecy guarantee is exactly the kind of security-relevant behavior an agent needs and cannot get from the annotations. It does not describe failure behavior (e.g. invalid token) or rate limits, so a 4 rather than 5.

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?

Three short sentences, front-loaded with the action and its return fields, then the absence case, then the secrecy constraint. Every clause carries information; nothing is repeated from the schema or annotations.

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 usefully enumerates the returned fields and the null case, which is the main thing an agent needs to interpret a response. Annotations cover the read-only profile and the schema covers both parameters. Minor gaps remain around auth failure modes, but nothing essential to calling the tool is missing.

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%: account_id (acct_*) and passport_token (JWT carrying the account's Mission, sent as X-Passport-Token) are fully documented in the schema. The description adds nothing about either parameter, so the baseline 3 applies.

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

Purpose4/5

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

States a specific verb and resource ("Get the Stripe connection of an agent account") and enumerates exactly what comes back: state, mode, key suffix, webhook address and events. This clearly distinguishes it from the sibling connect tool by being purely a read. It stops short of naming the alternative it supersedes, which keeps it from a 5.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: an agent can infer this is the way to read connection status, and the "connection null when none was started" note tells it what a not-yet-configured account looks like. There is no explicit when-to-use vs. when-not, and no sibling such as stack_payments_connect_stripe is named as the alternative for setting up a connection.

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.