Skip to main content
Glama

Close partner account

stack_partner_revoke_account
Destructive

Close an account. Its API key stops working, and every inbound webhook and passport under it is revoked in the same call. Returns transitioned plus the cascade counts (webhooks_revoked, passports_revoked). A repeated call completes a cascade that stopped part-way. The account's audit chain remains intact for the retention window. A closed account's reference is not reused.

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

Input Schema

NameRequiredDescriptionDefault
account_idYesAccount id (op_*)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, and the description still adds real behavioral context: the API key, all inbound webhooks, and all passports are revoked in the same call; the response carries transitioned plus webhook/passport counts; retries are safe and resume a partial cascade; the audit chain survives and the reference is never reused. Only the authorization requirements for this destructive operation go unstated.

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?

Five short sentences with the destructive effect and cascade scope front-loaded, followed by return shape and retry semantics. Every sentence carries information, though the 'Close an account' opener is thinner than the rest and the verb choice mildly competes with the tool's own name.

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 destructive, cascading, single-parameter mutation with no output schema, this covers effects, return shape, retry behavior, and audit retention well. The remaining gap is disambiguation from the closely named sibling close/release tools and any permission gate.

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?

There is a single required parameter at 100% schema coverage, and the schema already documents it as an 'op_*' account id. The description adds no id format or lookup guidance beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Close an account') and immediately expands into the cascading effects, so an agent knows exactly what the call does. It does not, however, distinguish this from the sibling stack_close_account, which reads like a near-synonym, and the verb shift between the tool name (revoke) and the description (close) leaves that overlap unaddressed.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'A repeated call completes a cascade that stopped part-way' is genuine retry guidance, and the cascade scope implies this is the broader of the close operations. But there is no explicit when-to-use versus stack_close_account, stack_partner_release_account, or stack_partner_cancel_release, and no stated prerequisites or confirmation requirements for an irreversible action.

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.