Skip to main content
Glama

AlpineDataWorks Intelligence Server

Price-Range Ratio

adw.adw_104
Read-only

Returns a 0-100 volatility-range expansion score for US equities (SPY daily OHLCV via Stooq; ATR-14 vs ATR-252 baseline, percentile-ranked over 10 years; ratio >1 = expanding) with atr_14d, atr_252d_baseline and price_range_ratio. Call when asked about volatility expansion, widening trading ranges, ATR, or breakout setups, or when timing momentum entries, breakout alerts, or market-making spread widening for intraday range risk. Updates: daily.

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": "adw.adw_104"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoOptional history window in days (Gold tier); omit for the current snapshot.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / days / description
      Previous value: -"Optional: return a daily HISTORY series of the last N days (up to 5 years of real archived data) instead of the current snapshot. History requires Gold tier; without it, the current snapshot is returned."New value: +"Optional history window in days (Gold tier); omit for the current snapshot."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds real value beyond that with the underlying instrument, data provider, computation window, refresh cadence ('Updates: daily'), and the sign convention for the output. It does not state latency, historical depth limits tied to the days parameter, or how a partial history window affects the percentile ranking.

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?

Content is front-loaded with the return value and method before the call triggers, and every clause carries information — data source, ATR windows, ranking horizon, output fields, update cadence. It is dense to the point of being one long run-on, but nothing is expendable.

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 carries the burden of explaining returns and does so by enumerating atr_14d, atr_252d_baseline, and price_range_ratio plus the 0-100 score. For a one-optional-parameter read-only tool this is close to complete; only the effect of the 'days' window on the returned fields is left unaddressed.

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% and the single optional 'days' parameter is already documented there with its 1-1825 bounds and the Gold-tier qualifier. The description adds nothing about how a multi-day window changes the output versus the snapshot, so it neither compensates nor misleads — a baseline 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The definition states a specific verb and resource — a 0-100 volatility-range expansion score for US equities — and pins down the exact data source (SPY daily OHLCV via Stooq), the method (ATR-14 vs ATR-252 baseline, percentile-ranked over 10 years), and the direction convention (ratio >1 = expanding). An agent knows precisely what it gets without opening the schema. Sibling names are opaque IDs, so no discrimination is inferable, but the purpose itself is unambiguous.

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?

It gives concrete invocation triggers: questions about volatility expansion, widening trading ranges, ATR, breakout setups, and timing momentum entries or spread widening. That is a strong 'when' list, but it never states when not to use it or names an alternative tool for overlapping questions, leaving the exclusion side to inference.

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