Skip to main content
Glama

RiskState — Crypto Risk Engine

Get BTC/ETH risk state

get_risk_state
Read-only

Current risk state of Bitcoin (BTC) or Ethereum (ETH): 5-level risk policy (BLOCK to GREEN) with max position size, leverage limit, direction bias and allowed/blocked actions, plus composite score (0-100), structural and tactical scores, market regime (BULL/SIDEWAYS/BEAR), volatility regime, cycle phase and macro state. Computed from 9+ real-time data sources (price, funding, RSI, MVRV, ETF flows, on-chain, macro). Use whenever the user asks how BTC or ETH is doing, whether it is a good time to buy/sell/hold, or how much risk to take.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assetNoAsset to assess (default BTC)

TDQS

A4.2/5.0
Behavior4/5

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

Annotations mark as readOnlyHint=true, so read-only is expected. Description adds detail: computed from 9+ real-time data sources, outputs multiple scores and regimes. Adds value beyond annotations.

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?

Single block of text packed with information. Efficient, but could be more structured (e.g., bullet points). Still concise and front-loads the main purpose.

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?

No output schema, so description carries full burden. Lists all key output components: 5-level policy, scores, regimes, etc. Comprehensive enough for an AI agent to understand the return value.

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?

100% schema coverage with enum description for asset. Description mentions BTC and ETH but does not add new meaning beyond the schema. Baseline 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?

Clearly states it retrieves the current risk state of BTC/ETH with specific risk policy components. Distinguishes from sibling tools like get_market_structure and get_playbook_status by focusing on risk assessment for trading decisions.

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?

Explicitly says when to use: when user asks about BTC/ETH performance, buying/selling/holding, or risk taking. Does not explicitly list when not to use, but context is clear.

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.4/5.0
Disambiguation5/5

Each tool has a distinct purpose: get_market_structure for structural levels and breakouts, get_playbook_status for trade setups, and get_risk_state for overall risk policy and scoring. No overlap.

Naming Consistency5/5

All three tools follow a consistent verb_noun pattern with snake_case (get_market_structure, get_playbook_status, get_risk_state), making them predictable and easy to use.

Tool Count5/5

Three tools is well-scoped for a crypto risk engine: one for market structure, one for playbook status, and one for risk state. Each tool earns its place without redundancy.

Completeness4/5

The set covers core risk assessment needs: structural analysis, trade setups, and risk state. Missing historical data or portfolio integration, but these are minor gaps given the engine's focus on real-time risk.

Resources