Skip to main content
Glama

Key price levels

get_key_levels
Read-onlyIdempotent

Compute key price levels for a ticker: support/resistance zones (clustered swing highs/lows with touch counts = how often price reacted there), nearby round numbers, 50/200-day moving averages, and the 52-week high/low. Returns nearest levels above (resistance) and below (support) with distance %. Use these for concrete trigger/target/invalidation levels.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tickerYesTicker symbol, e.g. 'SPY'

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo
noteNo
closeNo
tickerNo
supportNo
resistanceNo

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds behavioral depth by explaining how support/resistance are computed ('clustered swing highs/lows with touch counts') and what the output includes ('nearest levels above and below with distance %'). This goes beyond the annotations and clarifies the tool's analytical behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and information-dense. Every phrase adds value: it lists the types of levels, explains the touch count concept, mentions the output format (nearest levels with distance %), and gives a usage recommendation. There is no fluff or repetition.

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

Completeness5/5

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

For a single-parameter, read-only tool, the description is complete. It specifies all key outputs, the input, and the intended use. An output schema exists, but the description already conveys the return substance. No important gaps are apparent.

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?

The input schema has only one parameter 'ticker' with a clear description ('Ticker symbol, e.g. 'SPY''), and schema coverage is 100%. The description does not add additional semantics about the parameter, but the schema already handles it. Per the baseline rule for high schema coverage, a score of 3 is appropriate.

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 description clearly states the tool's purpose: 'Compute key price levels for a ticker' and enumerates specific outputs (support/resistance zones, round numbers, moving averages, 52-week high/low). This distinguishes it from sibling market context tools by focusing on concrete price levels for trade planning.

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?

The description provides clear usage context: 'Use these for concrete trigger/target/invalidation levels.' This implies when to apply the tool (for trade execution planning) but does not explicitly mention when not to use it or name alternative sibling tools. Since siblings are present, more explicit exclusion would be ideal, but the context is strong.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool maps to a distinct data category or function (prices, indicators, levels, sentiment, macro, crypto, intermarket, breadth, news, etc.). The few related tools are clearly separated by current vs. historical data, specific ratios vs. multi-lens overviews, or news lookup vs. news search.

Naming Consistency4/5

The majority of tools follow a consistent get_<noun> pattern with snake_case (e.g., get_price_history, get_technical_indicators). Two news tools use a public_ prefix instead, creating a minor but visible inconsistency.

Tool Count5/5

15 tools is within the ideal range for a market-data server and each tool covers a meaningful slice of the domain without redundancy. The count feels well-scoped for the server's purpose.

Completeness4/5

The tool surface is impressively broad, covering prices, indicators, sentiment, macro, crypto, intermarket analysis, news, and methodology. However, common data types like fundamentals (P/E, balance sheets) and options chains are absent, leaving a few potential user questions unanswered.

Resources