Skip to main content
Glama

Close account

close_account
DestructiveIdempotent

Closes the signed-in AiWebInfra account: every website in it is deleted as delete_site does (off the web, paid plans ended, in "Recently deleted"), and all sessions end. A live paid plan: the person closes it in the editor (the answer links there). For 30 days the owner can reopen it (reopen_account (area admin)); meanwhile every other call is refused (code accountClosing). Then: The account and its websites are erased except for order records, which are kept for 7 years for tax and accounting and then deleted; backups expire within 120 days of closing. Without confirm (the account’s email) nothing changes; the answer says what closing would do (yearly refunds: send back the refundCents stated) and an export_site (area move) starting point for each website. Full reference: get_reference {topic:"sites"}.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "close_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoThe account’s email address, typed back
refundCentsNo

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?

Annotations already flag destructive/idempotent/openWorld, and the description adds substantial context beyond them: the 30-day reopen window, the accountClosing refusal state, retention of order records for 7 years, backup expiry within 120 days, and the dry-run behavior when confirm is absent. It even describes the shape of the answer (what closing would do plus refundCents). This is unusually complete behavioral disclosure for a destructive mutation.

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 the effect and the sibling comparison, and nearly every clause carries operational meaning. The structure is choppy, with parentheticals and fragments ("Then:") that make it denser than it needs to be, but there is no filler sentence.

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 destructive, irreversible-adjacent tool with no output schema, the description covers prerequisites, dry-run behavior, the 30-day reversal window, downstream data retention, and where to find the full reference. Nothing an agent needs in order to call it safely is missing.

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 50%, and the description compensates for the undocumented refundCents: it explains that yearly refunds require sending back the refundCents value stated in the dry-run answer. It also reinforces confirm as the account's email, which is the confirmation gate rather than a plain field. It does not state a type or range for refundCents, but the schema covers that.

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 and resource ("Closes the signed-in AiWebInfra account") and immediately scopes the blast radius by comparing to the sibling delete_site ("every website in it is deleted as delete_site does"). An agent can distinguish this from delete_site without opening either 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?

Gives clear when-to-use routing: a live paid plan must be closed by the person in the editor, and reopening goes through reopen_account, while websites to be salvaged go through export_site. It also names the blocked state (every other call refused with code accountClosing). It lacks an explicit statement of when NOT to use it, e.g. for a single site, which the delete_site reference only implies.

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