Skip to main content
Glama

get_market_regime

Read-onlyIdempotent

Classify the covered market as BULLISH, BEARISH or MIXED using trade-derived breadth and pressure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
windowNo5m

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), so the bar is lower. The description adds methodology ('trade-derived breadth and pressure') but does not disclose output format, limitations, or error behavior. It neither contradicts nor significantly enriches 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.

Conciseness5/5

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

A single, front-loaded sentence with zero filler. It states the action and outcome immediately, making it highly efficient.

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

Completeness3/5

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

For a simple one-parameter tool with rich annotations, the description covers the core purpose and output categories, but omits usage context and parameter explanation. Without an output schema, it would benefit from a sentence on expected return values or when to use it.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must explain the 'window' parameter, but it does not mention it at all. The enum values are self-explanatory as timeframes, but the meaning and effect of 'window' on classification are left unstated.

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 verb 'Classify', the resource 'covered market', and the possible outcomes BULLISH/BEARISH/MIXED. It also mentions the method 'trade-derived breadth and pressure', distinguishing it from market summary or news tools.

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

Usage Guidelines2/5

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

No guidance is given on when to prefer this tool over siblings like get_market_summary or get_market_intelligence. There is no mention of context, exclusions, or alternatives, leaving the agent to infer usage from the name alone.

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