Skip to main content
Glama

TradeFlags MCP

Accumulator — History

accumulator__history
Read-onlyIdempotent

Live indicative accumulator quotes: spot, accrual level, knockout barrier and modelled knockout probability for each stock, variant and leverage, for the stated session.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "accumulator__history"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionNoSnapshot session (YYYY-MM-DD). Default: latest computed.
variantNoVariant (e.g. acc_fixed, ko_fixed).
leverageNoLeverage multiple (default 1.0).
hk_tickerNoHong Kong stock code (e.g. 0005). Default: all / latest.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already establish readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description usefully adds that quotes are 'indicative' and the knockout probability is 'modelled' — i.e. not firm tradeable prices — but the word 'Live' sits awkwardly against the tool name 'history' and the schema's 'Snapshot session', leaving the temporal nature ambiguous.

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 sentence that front-loads the resource and enumerates the payload fields without filler. It is dense but not padded; a light restructure would improve scannability but nothing is wasted.

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 compensates by listing the four returned fields, which is the right call for a read-only query tool. The remaining gap is orientation against the sibling accumulator__price and the live-versus-historical ambiguity, but nothing critical for invocation is missing.

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 coverage is 100%, so every parameter (session, variant, leverage, hk_ticker) is already documented, establishing the baseline of 3. The description adds only that results are keyed per stock/variant/leverage/session, which is grouping context rather than parameter meaning beyond the 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 resource (accumulator quotes) plus the exact fields returned: spot, accrual level, knockout barrier, modelled knockout probability. It also names the partition keys (stock, variant, leverage, session). It does not distinguish itself from the sibling accumulator__price, so an agent cannot tell from this text which of the two to pick.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no stated preconditions, and no mention of an alternative. 'For the stated session' hints at snapshot semantics but never says when an agent should query this versus price or any other accumulator tool.

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