Skip to main content
Glama

ValuEdge MCP — Stock Valuation, Screener & Portfolio Research

Remove one manual holding

remove_my_portfolio_holding
DestructiveIdempotent

Permanently remove all manual transaction records for one holding in one portfolio. Ask for explicit user confirmation and list the affected history first. Mixed-source, legacy, CSV and synced broker holdings are blocked. This does not execute any sale or modify a broker.

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": {
      "portfolio_name": "<portfolio_name>",
      "ticker": "<ticker>",
      "expected_transaction_count": "<expected_transaction_count>",
      "confirm": "<confirm>"
    },
    "name": "remove_my_portfolio_holding"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerYes
confirmYes
operation_idNo
portfolio_nameYes
expected_transaction_countYes

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
metadataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / error / properties / retry_after_ms
      Added value: +{
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

The annotations already declare destructive=true and readOnly=false, but the description adds real substance beyond them: what exactly is destroyed (all manual transaction records for one holding), that it is permanent, which holding sources are refused, and that no broker-side sale or modification occurs. That is the kind of blast-radius and side-effect context the annotations alone cannot convey.

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?

Four short sentences, front-loaded with the destructive action and its scope, followed by the workflow requirement and the exclusion list. Every sentence carries distinct, decision-relevant information with no repetition of the annotations or title.

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 mutation tool this covers the essentials – permanence, scope, blocked sources, and the absence of broker-side effects – and an output schema exists so return values need not be described. The one gap is the undocumented required guardrail fields, which matter for correct invocation.

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% across five parameters, and the description explains none of them. It never mentions the confirm flag, the expected_transaction_count guardrail (a safety check that must match the actual history size, capped at 200), or operation_id, so an agent must infer their meaning entirely from field names and types.

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 precise verb and resource ('Permanently remove all manual transaction records'), scopes it to 'one holding in one portfolio', and implicitly separates it from the sibling that removes a single transaction. An agent can tell exactly what unit of data is destroyed without opening either 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 clear preconditions ('Ask for explicit user confirmation and list the affected history first') and explicit when-not conditions (mixed-source, legacy, CSV and synced broker holdings are blocked). It stops short of naming the alternative tool for single-transaction removal, so it is clear context rather than a full routing rule.

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.