Skip to main content
Glama

Delete investment group

delete_investment_group
Destructive

Manual group: permanently delete it and its holdings (cannot be undone). Confirm with the user first. Bank group: detach it from the budget; re-attach with create_investment_group (display settings reset). groupId is the manual id or bank connectionId.

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>",
      "groupId": "<groupId>"
    },
    "name": "delete_investment_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupIdYes
budgetIdYes

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 declare destructiveHint=true, but the description goes well beyond them by disclosing the blast radius: holdings are deleted too, the action cannot be undone, bank connections merely detach, and display settings reset on re-attach. That is exactly the operational context an agent needs before a destructive call.

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 manual-group case and structured by 'Manual group:' / 'Bank group:' labels; every clause carries information. The telegraphic, fragmentary style is slightly harder to parse than full sentences, but nothing is wasted.

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 two-parameter destructive tool with no output schema, it covers both execution modes, the irreversibility, the confirmation requirement, and the re-creation path. Nothing an agent needs to decide or act 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 0%, so the description must carry the burden, and it does for groupId by explaining it is either a manual group id or a bank connectionId — non-obvious and critical for correct invocation. budgetId's role (the budget scope) is only implied by name, leaving one gap.

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?

The description states a specific verb (delete) and branches on the resource type: manual groups are permanently deleted with their holdings, bank groups are detached from the budget. That two-mode framing lets an agent distinguish this from delete_investment_groups or delete_investment without opening the 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?

It gives an explicit procedural guard ('Confirm with the user first') and a recovery path naming the sibling create_investment_group. It does not, however, say when to prefer this single-group tool over the plural delete_investment_groups, so selection between siblings is left partly to inference.

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