Skip to main content
Glama

TradeFlags MCP

Accumulator — Price

accumulator__price
Read-onlyIdempotent

Price a single accumulator on demand: given a stock, variant, leverage and optional anchor, return the solved structure with NPV and Greeks. Computed live.

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": {
      "hk_ticker": "<hk_ticker>",
      "variant": "<variant>"
    },
    "name": "accumulator__price"
  }
}

Input Schema

NameRequiredDescriptionDefault
variantYesVariant (e.g. acc_fixed, ko_fixed).
leverageNoLeverage multiple (default 1.0).
hk_tickerYesHong Kong stock code (e.g. 0005). Default: all / latest.
anchor_pctNoFixed leg anchor as % of spot.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds that the result is solved and 'computed live', which tells the agent values are freshly derived rather than cached, but says nothing about latency, failure modes, or what 'solved structure' contains.

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?

A single compact sentence that front-loads the action and scope, then names the return contents. No filler, though the phrase 'solved structure with NPV and Greeks' is slightly dense.

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?

With no output schema, the description usefully names the return artifacts (solved structure, NPV, Greeks) and notes the computation is live, which is enough to call the tool correctly. Minor gaps remain around what the structure contains and any error or fallback behavior.

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 100%, so all four parameters (variant, leverage, hk_ticker, anchor_pct) are already documented in the schema. The description only restates the parameter list; it adds no domain meaning such as valid variant semantics or what the anchor percentage anchors against beyond the schema's own wording.

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 names a specific verb and resource ('Price a single accumulator') and states the inputs and the returned artifacts (NPV and Greeks). 'Single' and 'on demand' implicitly distinguish it from the sibling accumulator__history, but no alternative is named explicitly.

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?

'On demand' and 'single accumulator' hint that this is the live, one-off pricing path rather than a historical lookup, which is useful implied guidance. There is no explicit when-to-use/when-not-to-use statement and no reference to the pricing alternatives in the catalog (e.g. otc_pricing__price).

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