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.

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": {
      "return_url": "<return_url>",
      "refresh_url": "<refresh_url>"
    },
    "name": "onboard_payout_account"
  }
}

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. Signed in with 1Profile and owning several projects, it picks one)
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. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Cred project ID (optional; the API key already identifies the project)"New value: +"Cred project ID (optional; the API key already identifies the project. Signed in with 1Profile and owning several projects, it picks one)"
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

No annotations exist, so the description carries the full burden and does so unusually well: it discloses the 1 CRD cost per call, that the charge applies even when the call is rejected, that a 429 RATE_LIMITED is free, the 400 REDIRECT_NOT_ALLOWED failure mode, and that errors return a request_id to quote to support. It also explains the reuse behavior and the side effect of storing stripe_account_id on the user.

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?

Purpose is front-loaded in the first sentence, followed by integration, redirect constraints, cost/error semantics, and support escalation in a logical order. The sentences are dense and clause-heavy (cost rules and error codes compressed together), but nearly every clause carries operative information.

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 an 8-parameter mutation tool with no output schema and no annotations, the description covers the important gaps: return values (onboarding URL, stored acct_ id), cost, failure modes, and reuse behavior. Remaining omissions are minor, such as auth expectations and what the response body contains beyond the URL.

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; the description adds a real constraint not in the schema by requiring return_url and refresh_url to be https on a Cred host or an allowed redirect domain, plus the 400 code on violation. It also clarifies the relationship between the returned id and the redeem_credits destination parameter.

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 a specific verb+resource: 'Create (or reuse) a Stripe Express connected account for an end user and return an onboarding URL'. It also names the downstream consumer (pass stripe_account_id as destination to redeem_credits), which lets an agent place this tool in the workflow without inspecting siblings.

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?

Makes the sequencing explicit: call this, then pass the resulting acct_ id to redeem_credits. The create-or-reuse semantics tell the agent it is safe to call for an existing user. It stops short of stating when this is unnecessary (e.g. user already fully onboarded) or of naming any alternative path.

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