Skip to main content
Glama

Delete investments

delete_investments
Destructive

Permanently delete manual holdings: all in groupId, or 1–100 investmentIds (cannot be undone). Confirm with the user first. Bank holdings cannot be deleted.

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

Input Schema

NameRequiredDescriptionDefault
groupIdNo
budgetIdYes
investmentIdsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, so the safety profile is known; the description still adds real value with the irreversibility warning, the mandatory user-confirmation step, the 1–100 ID cap, and the bank-holding restriction. It does not say what happens if both groupId and investmentIds are supplied, or whether partial failures roll back.

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 tight clauses, front-loaded with the irreversible action and scope before the safety caveat. Every phrase carries information; nothing is redundant with the title despite the overlap.

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 destructive bulk mutation with no output schema, the definition covers scope, irreversibility, confirmation, limits, and exclusions. The remaining gaps are the required budgetId and the mutual exclusivity of the two targeting parameters.

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 carries the burden: it explains groupId (all in group) and investmentIds (1–100 IDs). However, the required budgetId parameter is given no meaning at all, and the interaction between groupId and investmentIds is left undefined.

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 plus resource ('Permanently delete manual holdings') and defines the two operation modes precisely: an entire groupId or 1–100 investmentIds. It also draws an explicit boundary against bank holdings, so an agent understands the target set 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?

Gives actionable operating context — 'Confirm with the user first' and the exclusion that bank holdings cannot be deleted — plus implicit routing between the groupId and investmentIds modes. It stops short of naming when to prefer this bulk tool over singular siblings like delete_investment or delete_investment_group.

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