Skip to main content
Glama

preview_sub_account_deletion

Read-only

Preview what delete_sub_account would do to one sub-account, without changing anything: the counts the dashboard Delete sub-account dialog shows and the sub-account that would take its place, or why deletion is refused (allowed: false). Needs profiles:read; a key bound to a sub-account previews only its own.

ACCESS: needs a Proof account. Authenticate this client (Claude Code: /mcp → Authenticate), then call this tool again. start_login does NOT open this tool.

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": {
      "profile_id": "<profile_id>"
    },
    "name": "preview_sub_account_deletion"
  }
}

Input Schema

NameRequiredDescriptionDefault
profile_idYesSub-account ID

Output Schema

NameRequiredDescriptionDefault
countsNo
allowedNo
blockedNo
projectNo
new_primaryNoNamed when the deleted sub-account is (or was) the primary: the OLDEST remaining sub-account takes over, and messages sent without choosing a sub-account carry its name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description goes well beyond that by disclosing the permission required (profiles:read) and an important key-scoping caveat: a key bound to a sub-account previews only its own. It also indicates what a refusal looks like (allowed: false). The generic authentication paragraph is necessary context but eats space that could have described failure modes in more depth.

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?

The first paragraph is dense, front-loaded, and every phrase earns its place (what it returns, the refusal shape, permission, key scoping). The second paragraph is boilerplate auth guidance that is useful but less specific to this tool, and it slightly dilutes focus.

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?

Annotations plus an output schema mean the description doesn't need to explain return values, yet it helpfully summarizes them (counts, successor sub-account, rejection reason). The permission requirement and key-scoping constraint are covered; only the precise nature of the 'counts' is left to the output schema, which is acceptable.

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 parameter, profile_id, with 100% schema description coverage ("Sub-account ID"), so the schema already carries the semantics. The description only adds that the preview is scoped to "one sub-account," which is implied by the schema; the baseline score of 3 applies.

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, defines the exact scope ("one sub-account, without changing anything"), and explicitly frames its relation to delete_sub_account — it is the dry-run counterpart. Easily distinguished from the deleting tool as well as from unrelated preview tools.

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?

Clear context for use: call it to see what delete_sub_account would do before performing the deletion, and the allowed: false result is described as the refusal signal. However, it never explicitly says "call this immediately before delete_sub_account" or notes when it would be unnecessary, and it doesn't contrast with the sibling preview_profile_deletion.

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.