Skip to main content
Glama

Algo Trader Tools

Delete a copier

delete_copier
DestructiveIdempotent

Deletes the copier, its followers and their activity log. The accounts stay connected. With close_positions=true every copy is closed first.

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": {
      "copier_id": "<copier_id>"
    },
    "name": "delete_copier"
  }
}

Input Schema

NameRequiredDescriptionDefault
copier_idYesThe copier's ID.
close_positionsNo`true` pauses copying and closes every copy at market before deleting; if a terminal refuses, nothing is deleted (`close_failed`). `false` leaves the copies open on the followers as ordinary positions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, yet the description adds real behavioral detail beyond them: the cascade to followers and their activity log, the survival of the account connection, and the atomicity guarantee that a refused close means 'nothing is deleted' with a `close_failed` outcome. It stops short of saying the deletion is permanent/irreversible or what permissions are required, which keeps it off a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the destructive scope, then the non-obvious survival fact, then the conditional flag. No filler, no restatement of the title, and each sentence carries distinct information.

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 two-parameter destructive tool with no output schema, the definition covers cascade scope, side effects on accounts, and the atomic failure path, which is most of what an agent needs before calling. The remaining gap is the absence of any statement about irreversibility or required authorization, which matters for a destructive operation.

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 description coverage is 100% and the `close_positions` schema entry already spells out both branches and the `close_failed` failure mode. The description's clause 'With `close_positions=true` every copy is closed first' restates rather than extends that, so the baseline 3 for a fully documented schema 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?

States a specific verb and resource ('Deletes the copier') and immediately scopes the blast radius: 'its followers and their activity log', plus the reassurance that 'The accounts stay connected'. That scope statement also separates it from sibling tools like remove_follower and disconnect_account without needing to name them.

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?

Usage is only implied: the cascade scope and the 'accounts stay connected' note hint that this is the whole-copier teardown rather than a single-follower removal, but no alternative tool is named and no precondition (ownership, active state) is stated. An agent can infer the right context but is not told explicitly when not to use it.

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