Skip to main content
Glama

Release partner account to customer

stack_partner_release_account

Release an account to its customer when the relationship ends. The customer is mailed a claim link; they start the platform trial with a card and the sanctions check runs, and only when both pass does the account move to them, with everything in it (agents, pieces, the record). Your access, key and billing end at that moment, and everything you set up in the account is removed, so the customer starts with none of it: service connections, the Stripe key (its payment links are turned off at Stripe first), the agent's Telegram bot token, Slack and chat approvers, supplier and OAuth app keys, the control socket's addresses and secrets, notification, wake and inbound webhook destinations and secrets, network installs and the payout destination. If a step at Stripe or Telegram cannot finish, the claim waits and the account stays yours. A claim that is not completed in time, or whose check does not clear, leaves the account with you and the release reads 'returned' without a reason. Without email the link goes to the one customer invited to the account (RELEASE_EMAIL_REQUIRED otherwise). Repeating the call inside ten minutes returns the pending release without mailing again. Read where it stands with stack_partner_get_release.

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_partner_release_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoWhere the claim link goes. Without it, the one customer invited to the account.
account_idYesAccount id (op_*)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior2/5

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

The description itself is unusually explicit: it lists exactly what is removed (service connections, Stripe key with payment links disabled first, Telegram bot token, approvers, webhook secrets, payout destination) and what happens on partial failure. But this directly conflicts with the supplied destructiveHint=false, since the call strips live credentials and turns off Stripe payment links — an agent reading the annotations could under-warn 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?

Front-loaded with purpose, then prerequisites, then consequences, then edge cases and the status-check pointer — a sensible order. The single mega-sentence enumerating every removed artifact is dense and could have been a short list, but each item carries operational meaning for the caller.

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 multi-stage, irreversible transfer with no output schema, it covers the full arc: prerequisites, what gets wiped, what happens if Stripe/Telegram steps stall, timeout and failed-check outcomes ('returned'), and how to inspect state afterward. An agent has enough to call it and explain the consequences to a user.

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 coverage is 100%, so both parameters are already documented; baseline 3 applies. The description does reinforce the email fallback and adds the RELEASE_EMAIL_REQUIRED error name, but adds nothing about account_id beyond the schema's 'op_*' note.

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?

Names a specific verb and resource with its lifecycle trigger: 'Release an account to its customer when the relationship ends.' It also separates itself from the status-check sibling by pointing to stack_partner_get_release, so an agent can place it without opening a 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?

Usage conditions are stated clearly (relationship ended, customer must claim, card + sanctions check must pass) and it names stack_partner_get_release for status. It also gives idempotency guidance ('repeating the call inside ten minutes returns the pending release without mailing again'). It does not distinguish release-to-customer from siblings like stack_partner_revoke_account or stack_close_account, which are the most plausible confusions.

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.