Skip to main content
Glama

Delete investment

delete_investment
Destructive

Permanently delete a manual investment holding (cannot be undone). Confirm with the user first. Bank holdings are read-only.

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

Input Schema

NameRequiredDescriptionDefault
budgetIdYes
investmentIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known; the description still adds real value with '(cannot be undone)', the human-confirmation requirement, and the eligibility limit that bank-synced holdings are read-only. It does not describe what happens to related records or how failures are reported.

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 with the permanence warning and confirmation requirement front-loaded; every clause adds information and nothing is redundant.

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 deletion tool with annotations covering destructiveness and no output schema, the definition covers permanence, the confirmation prerequisite, and the read-only exclusion. The remaining gap is parameter provenance (where the two IDs come from), which matters for an irreversible operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for both required parameters, so the description carries the full burden and adds nothing about budgetId or investmentId — no format, source, or whether IDs must come from a prior lookup. Only the parameter names are self-explanatory.

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?

The description gives a specific verb ('Permanently delete') and a precisely scoped resource ('a manual investment holding'), and it clarifies the object is a single manual holding rather than a bank-synced one. It does not explicitly contrast with the plural sibling delete_investments, so an agent must still infer singular-vs-bulk from the name.

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?

'Confirm with the user first' is explicit procedural guidance, and 'Bank holdings are read-only' states a condition under which the tool must not be used. It stops short of naming an alternative for bulk deletion or for removing a group, but the exclusion and prerequisite are clear.

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