Skip to main content
Glama

ValuEdge MCP — Stock Valuation, Screener & Portfolio Research

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. Changed1 schema field changed
    • addedOutput schema / properties / error / properties / retry_after_ms
      Added value: +{
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
  2. 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 the safety profile is known; the description adds the crucial permanence statement, the manual-only restriction, and the requirement for explicit user confirmation. It stops short of describing error behavior (e.g., what happens for a non-existent or non-manual ID) or how operation_id affects retries.

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 zero filler, front-loaded with the action and scope before the safety constraints. Every clause carries operational meaning.

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, permanent operation with an output schema already present, the description covers the essentials: irreversibility, scope limits, and the confirmation gate. The main gap is the unexplained operation_id, which matters for safe retries.

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 compensate. It clarifies that transaction_id must come from the ledger and reinforces that the call needs user confirmation, but it never explains operation_id (presumably an idempotency key) or why confirm is a const-true boolean, leaving two of three parameters undocumented.

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 and resource — 'Permanently remove one exact owned manually recorded BUY or SELL transaction' — and immediately bounds the scope by excluding imported and broker-synced records. An agent can tell this apart from edit/record siblings because the description restricts it to manually recorded ledger entries.

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 concrete preconditions ('Obtain explicit confirmation from the user', 'use the transaction ID from the ledger') and an explicit when-not rule ('Never remove imported or broker-synced records'). It does not name the alternative tool for correcting a transaction, leaving that inference to the agent.

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.