Skip to main content
Glama

Delete Broker Account

delete_broker_account
Destructive

Permanently delete a broker account and all associated trade execution history. This cannot be undone. Any conditional orders using this account will need their broker configs updated. Consider setting isActive=false via update_broker_account instead. MetaTrader: deleting it does not free a new add: another MetaTrader account can be added 30 days after the last add, or sooner for 3 USD. To use a new password or server of the same account, use update_broker_account instead (free). Warn the user before deleting a MetaTrader account.

Input Schema

NameRequiredDescriptionDefault
accountIdYesThe broker account ID to delete

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?

Beyond the destructiveHint=true and idempotentHint=false annotations, the description discloses irreversibility, the collateral deletion of trade history, downstream breakage of conditional orders, and a provider-specific cost/timing rule (30-day lockout or 3 USD). This is exactly the extra context annotations cannot convey.

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 most important fact — permanent, irreversible deletion — is front-loaded, and the MetaTrader caveats are genuinely useful. However, update_broker_account is recommended twice in close succession, which is slight redundancy in an otherwise dense but efficient paragraph.

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 single-parameter destructive tool with full annotation coverage and no output schema, nothing an agent needs to call it safely is missing: purpose, irreversibility, alternatives, and provider-specific gotchas are all present.

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?

Only one parameter (accountId) with 100% schema description coverage, so the schema fully documents it. The description adds no further semantics about the ID format or source (e.g., from get_broker_accounts), so it sits at the baseline.

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 ('Permanently delete a broker account') and immediately scopes what else is removed ('all associated trade execution history'). It is clearly distinguishable from siblings like update_broker_account and cancel_broker_order.

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

Usage Guidelines5/5

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

Gives explicit alternatives and the conditions selecting them: use isActive=false via update_broker_account for deactivation, and update_broker_account for password/server changes on the same account. It also names a prerequisite/knock-on effect (conditional orders' broker configs) and instructs the agent to warn the user for MetaTrader accounts.

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