Skip to main content
Glama

ValuEdge Stock Research MCP

Remove one manual transaction

remove_my_portfolio_transaction
DestructiveIdempotent

Permanently remove one exact owned manually recorded BUY or SELL transaction. Obtain explicit confirmation from the user and use the transaction ID from the ledger. Never remove imported or broker-synced records.

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": {
      "transaction_id": "<transaction_id>",
      "confirm": "<confirm>"
    },
    "name": "remove_my_portfolio_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYes
operation_idNo
transaction_idYes

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
metadataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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 and readOnlyHint=false, so permanence is partly structured data; the description still reinforces it and adds genuinely new behavior: a mandatory human-confirmation step and an origin-based eligibility rule (manual only). It does not describe what happens on a repeat or mismatched call, leaving the idempotentHint unqualified.

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, each doing distinct work: what is deleted, the confirmation/ID protocol, and the exclusion. Destruction is front-loaded in the first sentence with zero filler.

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, narrow-scope tool the essentials are present: eligibility, confirmation requirement, and ID source; an output schema covers return values. The only real gap is guidance on operation_id and on behavior when the ID is not a manual record.

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 must carry parameter meaning. It explains transaction_id (must be the ledger ID) and implies confirm (explicit user confirmation), but never mentions operation_id or its purpose as a replay-safe key, leaving one of three parameters undocumented anywhere.

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?

"Permanently remove one exact owned manually recorded BUY or SELL transaction" gives a specific verb, a single-record scope, and ownership/manual-origin qualifiers. The trailing restriction on imported or broker-synced records further narrows what this tool actually deletes, so an agent can distinguish it from edit_/record_ siblings 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 states the preconditions clearly (user must explicitly confirm, transaction ID must come from the ledger) and gives an explicit exclusion (never imported or broker-synced records). It does not name the edit_my_portfolio_transaction alternative for correction-instead-of-deletion cases, so routing guidance is strong but not complete.

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