Skip to main content
Glama

onboard_payout_account

Create (or reuse) a Stripe Express connected account for an end user and return an onboarding URL for them to complete. The resulting stripe_account_id (acct_…) is stored on the user; pass it as destination to redeem_credits. return_url and refresh_url must be https on a Cred host or a domain listed under Dashboard → Payments → Allowed redirect domains, else 400 REDIRECT_NOT_ALLOWED. Costs 1 CRD (platform credit) per call, charged even when the call is then rejected (a 429 RATE_LIMITED costs nothing). Error results include request_id; quote it to support.

Input Schema

NameRequiredDescriptionDefault
api_keyNoCred API key (optional if set via the x-api-key header)
countryNoISO country code for the account (default US)
user_idNoExternal user ID
project_idNoCred project ID (optional; the API key already identifies the project)
return_urlYesWhere Stripe sends the user after onboarding
user_emailNoUser email (alternative)
refresh_urlYesWhere Stripe sends the user if the link expired
x402_paymentNoBase64 x402 PaymentPayload, only when a previous call failed with an x402 PaymentRequired because the account is out of CRD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses cumulative cost (1 CRD per call, charged even on rejection), the 429 exception that costs nothing, the 400 REDIRECT_NOT_ALLOWED failure mode, the reusability of an existing account, and the request_id in error results. This is exactly the behavioral context an agent needs before a billed mutation.

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 dense sentences, front-loaded with purpose, then integration hint, then constraints and cost. Nothing is padded and the highest-value operational facts (redirect rules, CRD charge) appear before any conditional edge cases.

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?

There is no output schema, and the description compensates by naming both key returns (onboarding URL and acct_… stripe_account_id). For a billed, error-prone onboarding mutation with 8 parameters, it covers requirements, cost, failure modes, and downstream usage without meaningful gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real constraints beyond the schema for return_url and refresh_url (must be https on a Cred host or an allowed redirect domain, or the call fails with 400). It also implies why user_id/user_email matter by describing the account as tied to an end user, though it does not disambiguate user_id vs user_email usage.

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 opens with a precise verb+resource+outcome: "Create (or reuse) a Stripe Express connected account for an end user and return an onboarding URL." It distinguishes the tool from nearby siblings like create_user or redeem_credits by naming the downstream handoff (stripe_account_id as destination for redeem_credits).

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?

It clearly states what the tool produces and how to use the result with redeem_credits, and gives the redirect-URL prerequisites (https on a Cred host or an allowed redirect domain). It stops short of naming an explicit alternative or a "do not use when" condition, so it is strong context rather than full routing 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.

Resources