Skip to main content
Glama

Open partner account

stack_partner_create_account

Open an account for one of your customers under your own reference. The account is an isolated STACK operator with its own audit chain, signing key and webhooks; it has its own plan, free amounts and usage like any customer's, and your wallet pays for it (billing: 'partner'). A wallet that cannot cover the account's first month refuses the call with 402 INSUFFICIENT_BALANCE and no account is made. Hosted controls are off unless controls is true, which switches them on as the account opens and takes their first month from the wallet with the plan's; a wallet that cannot cover both refuses the call. Repeating the call with the same external_ref returns the account that exists (created: false). It holds no email of the customer. Fails with TENANT_LIMIT_REACHED when the account cap is reached. Returns account metadata without an API key: account credentials are created through the REST API or SDK, never through MCP.

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": {
      "external_ref": "<external_ref>"
    },
    "name": "stack_partner_create_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
controlsNoSwitch the account's hosted controls on as it opens. Off when omitted.
external_refYesYour stable reference for this customer (e.g. inbox_id, customer_id). Unique per partner; it is the idempotency key of the call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (which only say readOnly=false, openWorld=false, destructive=false): it discloses idempotent replay on external_ref with created:false, the 402 INSUFFICIENT_BALANCE pre-check with no account made, the coupled first-month charge when controls=true, and TENANT_LIMIT_REACHED. It also states what is deliberately absent (no customer email, no API key in the response).

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?

Front-loaded with purpose, then failure modes, then return shape; every sentence carries a distinct fact. It is dense and a few clauses run long (the controls/billing sentence), but there is no filler.

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 mutating, billing-affecting creation tool with no output schema, it covers everything an agent needs: idempotency, balance preconditions, the controls billing coupling, limit error, and what is returned versus what must be obtained elsewhere. Nothing material is left to inference.

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 earns above that by explaining external_ref as the idempotency key driving replay behavior and by tying controls to an extra wallet charge taken alongside the plan's first month. That is real semantic value the schema does not carry.

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?

Opens with a specific verb and resource ('Open an account for one of your customers under your own reference') and immediately distinguishes the result from a self-opened account: an isolated STACK operator with its own audit chain, signing key, webhooks and billing mode 'partner'. An agent can tell this apart from stack_open_account or the sibling release/get tools without reading any schema.

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 partner framing plus 'your wallet pays for it (billing: partner)' makes the when-to-use condition clear, and the note that credentials are created through REST/SDK 'never through MCP' tells the agent not to expect an API key from this path. It stops short of explicitly naming which sibling to call instead for a non-partner account, so it is strong but not fully explicit on alternatives.

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.