Skip to main content
Glama

Update investment

update_investment
Destructive

Update a manual investment holding. 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": "update_investment"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNo
isinNo
nameNo
typeNo
balanceNo
subtypeNo
budgetIdYes
currencyNo
quantityNo
unitValueNo
investmentIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false and destructiveHint=true, so the description is not responsible for the basic safety profile. The description adds useful scope context by distinguishing manual holdings from read-only bank holdings. It does not explain what is destroyed or overwritten, whether the update is partial or full, or what permissions or side effects apply.

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?

The description is two tightly written sentences with no wasted wording. The scope constraint is front-loaded and the read-only exception follows immediately.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a complex mutation tool with 11 parameters, no schema descriptions, and no output schema. The description supplies only high-level scope and does not cover field semantics, update semantics, destructive effects, or return behavior. It is materially incomplete for an agent to invoke it confidently.

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

Parameters1/5

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

Schema description coverage is 0% across 11 parameters, including required budgetId and investmentId. The description adds no meaning for any parameter, such as whether balance, quantity, and unitValue interact or which fields are optional. This leaves the agent with no semantic guidance beyond the raw schema names.

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 states a specific verb and resource: 'Update a manual investment holding.' It also scopes the operation by excluding bank holdings, which makes the target clear. It does not explicitly distinguish this tool from siblings such as update_investment_group or create_investment.

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?

It gives a clear exclusion: bank holdings are read-only and should not be updated here. However, it does not say when to use this versus create_investment, delete_investment, or update_investment_group, leaving most routing 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