Skip to main content
Glama
2moulin
by 2moulin

Diagnose a transfer

stripe_diagnose_transfer

Troubleshoot Stripe Connect transfer failures by reviewing settlement currency, charge net amount, platform balance, destination payouts, refunds, and disputes for a charge or transfer ID.

Instructions

Given a transfer id (tr_...) or a charge id (ch_...), check what makes Connect transfers fail: settlement currency of the source charge vs the transfer currency, amount above the charge net, platform balance too low, destination with payouts disabled, refunds and disputes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYestr_... or ch_...

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.1/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. It conveys that this is a diagnostic/read-oriented operation ('check what makes Connect transfers fail') and enumerates the behaviors it performs, such as comparing settlement currency, checking amounts, balance, payouts, and refunds. It does not explicitly say 'does not modify anything', but the framing strongly implies it.

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

Conciseness4/5

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

The description is a single dense sentence with the input format front-loaded and the failure checks following in a compact list. It is efficient and informative, though the long enumeration slows readability slightly.

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 one-parameter diagnostics tool, the description covers the input format, purpose, and the specific checks performed. The main gap is the lack of any mention of output shape or return value, but that is not essential for correct invocation and the description is otherwise adequate.

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 input schema already fully describes the single id parameter with the same 'tr_... or ch_...' format, so the description repeats rather than adds parameter semantics. The listed failure causes are useful context but not new meaning for the parameter itself. Baseline 3 applies because schema coverage is 100%.

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 states a specific verb ('check') and resource (Connect transfers), and immediately scopes the input to transfer or charge IDs. It lists concrete failure categories, which clearly distinguishes it from sibling tools like stripe_diagnose_account and stripe_list_transfers.

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 phrase 'Given a transfer id ... or a charge id ...' provides a clear when-to-use context: use this when troubleshooting why a Connect transfer failed. It does not explicitly name alternatives or state when not to use it, but the diagnostic intent is evident.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.