Skip to main content
Glama

Delete investment groups

delete_investment_groups
Destructive

Remove 1–30 investment groups. Manual groups: permanently deleted with their holdings (cannot be undone). Confirm with the user first. Bank groups: detached; re-attach with create_investment_group (display settings reset). Partial success per index.

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": {
      "budgetId": "<budgetId>",
      "groupIds": "<groupIds>"
    },
    "name": "delete_investment_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault
budgetIdYes
groupIdsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare destructiveHint=true; the description goes well beyond that by explaining the two distinct consequences per group type — manual groups lose their holdings permanently and cannot be undone, while bank groups are merely detached with display settings reset. 'Partial success per index' is a valuable disclosure that a batch call can half-succeed, which no annotation conveys.

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?

Four short sentences packed with distinct facts, with the scope and irreversibility front-loaded. Parenthetical asides ('cannot be undone', 'display settings reset') are dense but each carries real behavioral weight; nothing is filler.

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?

With no output schema, the description carries the return-shape burden and does gesture at per-index partial results, plus it covers safety and recovery for both group types. The main residual gap is budgetId's role and the exact partial-success response format, which remain unstated.

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 0%, so the description must compensate: it does add the 1–30 arity limit on groupIds and implies an index-keyed result. However, budgetId is never mentioned, and no format hint is given for the ID strings or the index semantics of the array.

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?

States a specific verb and resource ('Remove 1–30 investment groups'), and the '1–30' arity plus the manual/bank split distinguishes it from the singular delete_investment_group sibling in substance. It never names that sibling explicitly, so the routing signal is implicit rather than stated.

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 a real operational precondition ('Confirm with the user first') and points to create_investment_group as the recovery path for bank groups. It does not say when an agent should prefer the singular delete_investment_group or delete_investments instead, leaving bulk-vs-single selection to inference from the range.

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