Skip to main content
Glama

ValuEdge MCP — Stock Valuation, Screener & Portfolio Research

Record a manual portfolio transaction

record_my_portfolio_transaction
Idempotent

Record a historical or current manual BUY or SELL in the signed-in user's ValuEdge portfolio, without placing an actual trade. Creating a new portfolio through its first transaction consumes a portfolio slot. Enforce current plan limits. Never write to broker-synced portfolios.

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>",
      "type": "<type>",
      "quantity": "<quantity>",
      "price_per_share": "<price_per_share>",
      "transaction_date": "<transaction_date>"
    },
    "name": "record_my_portfolio_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes
tickerYes
exchangeNo
quantityYes
operation_idNo
portfolio_nameYes
price_per_shareYes
transaction_dateYes

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

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false; the description adds real value beyond that by disclosing that a first transaction can create a portfolio and consume a slot, and that broker-synced portfolios are off-limits. It does not explain how idempotency is achieved or what operation_id does, leaving the retry-safety story implicit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the core action and followed by the highest-risk constraints. Nothing is wasted, though the terse imperative 'Enforce current plan limits' reads as an instruction without supporting detail.

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

Completeness3/5

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

An output schema exists, so return values need not be described, and the destructive/plan constraints are well covered. However, for an 8-parameter mutation with 0% schema coverage, the description omits parameter-level meaning and idempotency behavior, leaving meaningful gaps 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 8 parameters, so the description carries the full burden — yet it explains almost none of them. Only the BUY/SELL type and the portfolio name are indirectly referenced; exchange, quantity, price_per_share, transaction_date format, and especially operation_id (the idempotency key) are left entirely to the bare schema.

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?

States a specific verb (Record) and resource (a manual BUY or SELL in the signed-in user's ValuEdge portfolio) and immediately scopes it with 'without placing an actual trade,' which separates it from any real trading action. It does not explicitly name the sibling tools edit_my_portfolio_transaction or remove_my_portfolio_transaction, but the manual/historical framing makes the distinction inferable.

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 clear usage context ('historical or current' transactions) and an explicit exclusion ('Never write to broker-synced portfolios'), plus the plan-limit constraint. It stops short of routing the agent to the edit/remove siblings for corrections or deletions, so it 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.