Skip to main content
Glama

Support & Resistance Levels

get_levels
Read-only

[DRILL-DOWN] Support/resistance levels for a coin (e.g. 'BTC', 'ETH', 'SOL'). Reads from levels_engine + Hyperliquid mids. Levels are detected on THREE timeframes — 15m (3 days back), 4h (90 days) and 1d (2 years) — and every level carries its timeframe, distance_pct and zone band. nearest_resistance/nearest_support are the immediate intraday levels (within ~5% of spot) and are often fractions of a percent away; for swing structure read structure.resistance / structure.support, which are the 4h/1d levels out to 35% from spot, strongest first. A level merged across tiers lists the confirming timeframes in confirmed_by. Same data as REST /levels/{coin}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
coinYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
coinYes
structureNo
timeframesNo
all_supportNo
trend_stateNo
current_priceYes
all_resistanceNo
nearest_supportNo
nearest_resistanceNo

TDQS

A4.7/5.0
Behavior5/5

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

The description discloses data sources (levels_engine + Hyperliquid mids), the three timeframes and their lookback periods, and the structural distinction between nearest intraday levels and swing levels. This far exceeds the readOnlyHint annotation and gives the agent a precise behavioral model.

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 dense but every clause adds unique information: detection timeframes, percentage thresholds, field names, and REST endpoint equivalence. It is front-loaded with the core purpose and uses clear notation to separate concepts.

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 tool, the description thoroughly covers how levels are computed, what fields are returned, and how to interpret nearest vs. structure levels. The output schema handles return values, and the REST endpoint reference ensures data parity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With schema description coverage at 0%, the description compensates by showing example coin values and explaining that the coin parameter selects the asset. It also defines output fields like timeframe, distance_pct, and confirmed_by that depend on this parameter, adding meaning beyond the schema.

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 opens with 'Support/resistance levels for a coin' and specifies example coins (BTC, ETH, SOL). It clearly identifies the resource (levels) and the action (get), and distinguishes itself from sibling market-data tools by focusing on price level structure.

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 implies its niche via '[DRILL-DOWN]' and explains the coin parameter requirement, but it does not explicitly name alternatives or exclusions. It provides clear context for when an agent would retrieve level-based structure versus other market data tools.

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/5.0
Disambiguation4/5

Most tools have clearly distinct purposes with detailed descriptions, but there are clusters of similar concepts (e.g., get_liquidity_map vs get_liquidation_map, get_state vs get_state_brief, multiple signal-related tools) that could cause misselection despite thorough documentation.

Naming Consistency5/5

All tools follow a consistent lowercase verb_noun pattern, predominantly get_* nouns, with only a few non-get verbs like list_signals, rank_trades, log_trade, etc., but the style is uniform.

Tool Count2/5

With 52 tools, the surface is extremely heavy for an agent to navigate. While the server's scope is broad, the count far exceeds the typical 3-15 range and falls into the 'too many' category.

Completeness4/5

The tool set covers the full lifecycle for journaling, signals, market analysis, and proof, with no major dead ends. Minor gaps exist, such as no dedicated get_trade_by_id (workaround via get_journal) and no get_market_state tool despite being referenced in get_state.

Resources