Skip to main content
Glama

get_market_regime

Read-onlyIdempotent

Is the market risk-on or risk-off? The gate, step one of a desk's routine: whether the US stock market is worth trading, read top-down from the index to its sectors. A cash reading means the discipline opens nothing new. The top-down stock market regime read: risk-on, be-selective or stand-down. Returns, for each book (S&P 500, Nasdaq-100, macro, BTC/ETH crypto), the regime mode and verdict, the green sectors and the sectors whose names are open to buy. green_sectors lists the sectors whose structure light is green; a verdict sentence that counts sector ETFs holding their own trend uses a different test (the sector ETF above its own 55-day), so the two counts can differ. No inputs. Fits when an agent needs the market's mode before it looks at any single name. The live version is re-scored about every 5 minutes in market hours and needs Coil Live or an x402 payment per call. Free sample: headline fields per book, from the morning read.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_market_regime"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Adds substantial context beyond the read-only/idempotent annotations: no inputs, ~5 minute re-scoring in market hours, a Coil Live or x402 per-call requirement, and a free-sample mode limited to headline fields. It also discloses a genuine behavioral subtlety — that the green_sectors count and the verdict sentence's count use different tests and can differ — which an agent would otherwise misread. Slightly obscure jargon ('a cash reading means the discipline opens nothing new') keeps it from a 5.

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

Conciseness3/5

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

Front-loaded with the core question and the top-down framing, but the middle is dense and repetitive — 'the gate, step one of a desk's routine' and 'the top-down stock market regime read' restate the same idea, and the green_sectors caveat is buried in a long run-on sentence. Several clauses earn their place, but the prose could be trimmed by a third without losing information.

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

Completeness4/5

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

With no output schema, the description does the work of naming the returned fields per book and the free-sample limitation, plus auth and refresh cadence — enough for an agent to decide and call correctly. Remaining gaps (response format, whether books are keys in one payload) are minor for a zero-input read.

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?

Zero parameters, so the baseline is 4; the description correctly confirms 'No inputs' and adds nothing misleading. There is no parameter meaning left ambiguous.

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?

States a specific question it answers (risk-on vs risk-off) and a specific resource (top-down US market regime per book: S&P 500, Nasdaq-100, macro, crypto), plus the concrete fields returned (regime mode, verdict, green sectors, sectors open to buy). It also separates itself from the live sibling by naming its cadence and payment model.

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

Usage Guidelines5/5

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

Explicitly says when to use it ('Fits when an agent needs the market's mode before it looks at any single name') and implicitly when not to (the live version for intraday re-scoring, the free sample for headline fields only). The alternative is named with the condition that selects it.

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