Skip to main content
Glama

TradeFlags MCP

Power Ratio — Signals

power_ratio__signals
Read-onlyIdempotent

Aigner & Schrabmair's Power Ratio: normalised signal and noise power over six trailing windows (10..200 days), each a multiple of the stop-loss range, with the volatility trigger.

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": "power_ratio__signals"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoEnd date (YYYY-MM-DD), inclusive. Default: latest available.
startNoStart date (YYYY-MM-DD), inclusive. Default: earliest available.
hk_tickerNoHong Kong stock code (e.g. 0005). Default: all / latest.
window_daysNo10/20/30/50/100/200. Default: all.

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 that this is a read-only, idempotent, non-destructive, open-world operation. The description adds useful domain behavior by explaining the six trailing windows and the stop-loss-range multiple, but it does not describe the output form, signal semantics, or how the volatility trigger is represented.

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?

The definition is a single dense but well-structured sentence, front-loading the indicator name and then its construction. It avoids repetition and wasted wording, though the phrase 'with the volatility trigger' is somewhat opaque without further context.

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?

The tool has four optional, fully documented parameters and no output schema, so the description reasonably carries some responsibility for explaining results. It explains the underlying calculation but not the returned signal structure or how to interpret the volatility trigger, leaving a meaningful gap for a signals tool.

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 are already documented in the input schema, including date bounds, ticker, and allowed window values. The description adds conceptual context about the windows being multiples of the stop-loss range, but it does not add parameter-level 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?

The description identifies a specific indicator and its construction: Aigner & Schrabmair's Power Ratio with normalised signal/noise power across six trailing windows and a volatility trigger. It is clear what the tool produces, but it does not explicitly state a verb such as 'calculate' or 'return', and it does not distinguish itself from sibling signal tools.

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 guidance on when to use this tool versus alternatives, nor any stated prerequisites, exclusions, or interpretation guidance. The description only defines the indicator; it does not help an agent decide whether this is the right signal tool for a given task.

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