Skip to main content
Glama

fahali_get_market_regime

Retrieves current market regime from HMM engine, indicating bullish, bearish, neutral, or high volatility. Provides volatility, trend, and expected return when data is available.

Instructions

Get detected market regime from the HMM 4-regime engine when available. Returns regime type (bullish/bearish/neutral/high_vol or null), volatility, trend, and expected return. Returns empty array + nulls when HMM regime data is not currently persisted (data availability depends on detection-layer writes). Covers the market_regime engine. Observation, not advice. Requires authentication.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations provided, the description fully covers behavioral context: it is a read-only observation ('Observation, not advice'), requires authentication, and discloses that results depend on detection-layer writes. It also describes the return behavior when data is unavailable.

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 concise, covering purpose, return values, conditions, and disclaimers in a few sentences. It is front-loaded with the main action and provides all necessary details without fluff.

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?

Despite the lack of an output schema, the description explains the return structure (regime type, volatility, trend, expected return) and when null responses occur. This compensates for the missing schema and provides sufficient context for a zero-parameter tool.

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?

The tool has zero parameters and the input schema is empty, so no parameter documentation is needed. The baseline for 0 parameters is 4, and the description adds no parameter information because none exists.

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 action ('Get detected market regime') and the resource ('HMM 4-regime engine'). It specifies the returned fields (regime type, volatility, trend, expected return) and distinguishes itself from sibling tools by noting it 'Covers the market_regime engine'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains data availability and returns empty/null when data is not persisted, but it does not explicitly compare this tool to sibling tools (e.g., fahali_get_market_sentiment) or state when to use it over alternatives. The guidance is implicit rather than explicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Future-Legends-Inc/fahali-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server