Skip to main content
Glama
volumeleaders-mcp

volumeleaders-mcp

by major

Sector Rotation Rrg

sector_rotation_rrg

Analyze sector rotation versus SPY with JdK Relative Rotation Graph modeling to identify leading and lagging sectors and support rotation decisions.

Instructions

Analyze sector rotation using JdK Relative Rotation Graph modeling vs SPY.

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

Input Schema

NameRequiredDescriptionDefault
windowNoSmoothing lookback window in trading days. Defaults to 20.
sectorsNoComma-separated sector names to filter (empty = all).
roc_periodNoRate of change period for RS-Momentum. Defaults to 5.
equity_onlyNoFilter to equity market sectors only (excluding bonds/commodities). Defaults to True.
trail_lengthNoHistorical trail bars to include (1-10). Defaults to 3.
include_queryNoInclude resolved query parameters in response.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, and it says nothing about whether the tool computes versus mutates, what data source or history it requires, latency, or how the SPY benchmark assumption affects results. 'Analyze' weakly implies a read-only computation, but that is inference rather than disclosure.

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 front-loaded sentence with no filler or repetition. Its brevity is close to under-specification, but nothing in it is wasted.

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

Completeness2/5

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

With six optional parameters, an output schema, and zero annotations, the definition should say more about the analysis semantics (quadrant interpretation, benchmark, data window expectations) and when the tool applies. The output schema relieves it of describing return values, but the behavioral and usage gaps remain large for a modeling 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 six parameters (window, sectors, roc_period, equity_only, trail_length, include_query) are already documented with defaults and ranges. The description adds no additional meaning such as how window interacts with roc_period, which is acceptable at baseline given the schema does the work.

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 and resource ('Analyze sector rotation') plus the method ('JdK Relative Rotation Graph modeling vs SPY'), which is distinctive against siblings like sector_factors or sector_flows. It stops short of explicitly contrasting with any named alternative, so it is clear but not fully differentiated.

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 statement of when to choose this tool over sector_factors, sector_flows, or sector_support_scores, and no prerequisites or exclusions. The agent must infer that this is the RRG-quadrant view rather than a raw factor or flow view.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.