Skip to main content
Glama

Market risk brief: regime, stress gate and what happened next

brief
Read-onlyIdempotent

What is the stock market today, in one call? Returns the live market regime reading, the stress gate, and the scorecard row for the regime of the last settled close: what the S&P 500 did in the 5 and 20 trading days after past readings in that regime (typical return, how often it rose, a bad outcome as a drawdown risk measure). A cross-asset macro signal. $0.03 per call in USDC on Base, Polygon or Solana (x402). Updates about once an hour while the US market is open, the first a little after 10 AM ET. The reading settles at 4:30 PM ET; the scorecard row follows the last settled close. Useful when an agent wants one reading as a risk check before a trade or as a position sizing input.

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": "brief"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
asOfYesThe trading session this response describes (YYYY-MM-DD, US Eastern).
recordYesThe public, hash-linked record of the daily settled regime reading: its percentile and its regime label. It covers nothing else in this response: not the stress gate, stock or coin figures, the scorecard, or a live intraday reading. The same on every response.
sourceYesWhere the reading is published.
statusYes"live": computed during the session and still provisional. "settled": final for its session.
stressYes
readingYes
relatedYesThe other paid routes: for each, its path, the question it answers and its price per call. Each is a separate call.
settledYes
researchNoA published Regime Card study of the current regime. Present only when one exists for it.
scorecardYesThe scorecard row for the regime of the last settled close, which can differ from the live reading's regime.
updatedAtYesWhen this reading was last computed (UTC). Null when it is the settled reading.
disclaimerYesAlways the same sentence.
marketStatusYesWhere the US session is: before the open, during it, between the close and the settle, or settled.
nextUpdateAtYesThe expected time of the next update to the reading or the stress gate (UTC). When one hourly update is due to both, this is the time both are expected to be in; otherwise, whichever comes first. An expectation, not a promise: it counts the scheduled updates of US trading sessions, and one can arrive a little earlier or later. A later correction to a settled reading is not counted. A recompute of the stress gate on a market holiday is not counted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / nextUpdateAt
      Added value: +{
      +  "description": "The expected time of the next update to the reading or the stress gate (UTC). When one hourly update is due to both, this is the time both are expected to be in; otherwise, whichever comes first. An expectation, not a promise: it counts the scheduled updates of US trading sessions, and one can arrive a little earlier or later. A later correction to a settled reading is not counted. A recompute of the stress gate on a market holiday is not counted.",
      +  "format": "date-time",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "asOf",
      -  "status",
      -  "marketStatus",
      -  "reading",
      -  "updatedAt",
      -  "settled",
      -  "stress",
      -  "scorecard",
      -  "related",
      -  "record",
      -  "disclaimer",
      -  "source"
      -]New value: +[
      +  "asOf",
      +  "status",
      +  "marketStatus",
      +  "reading",
      +  "updatedAt",
      +  "nextUpdateAt",
      +  "settled",
      +  "stress",
      +  "scorecard",
      +  "related",
      +  "record",
      +  "disclaimer",
      +  "source"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "asOf": {
      +      "description": "The trading session this response describes (YYYY-MM-DD, US Eastern).",
      +      "format": "date",
      +      "type": "string"
      +    },
      +    "disclaimer": {
      +      "const": "For informational purposes only. Not investment advice.",
      +      "description": "Always the same sentence.",
      +      "type": "string"
      +    },
      +    "marketStatus": {
      +      "description": "Where the US session is: before the open, during it, between the close and the settle, or settled.",
      +      "enum": [
      +        "pre-open",
      +        "intraday",
      +        "settling",
      +        "settled"
      +      ],
      +      "type": "string"
      +    },
      +    "reading": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "percentile": {
      +          "description": "The reading: a percentile rank from 0 (most risk-off) to 100 (most risk-on), one decimal.",
      +          "maximum": 100,
      +          "minimum": 0,
      +          "type": "number"
      +        },
      +        "regime": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "key": {
      +              "description": "The regime, as a stable key.",
      +              "enum": [
      +                "risk_off",
      +                "mildly_off",
      +                "neutral",
      +                "mildly_on",
      +                "risk_on"
      +              ],
      +              "type": "string"
      +            },
      +            "label": {
      +              "description": "The regime, as the card prints it.",
      +              "enum": [
      +                "RISK-OFF",
      +                "MILDLY OFF",
      +                "NEUTRAL",
      +                "MILDLY ON",
      +                "RISK-ON"
      +              ],
      +              "type": "string"
      +            },
      +            "name": {
      +              "description": "The regime, in sentence case.",
      +              "enum": [
      +                "Risk-Off",
      +                "Mildly Off",
      +                "Neutral",
      +                "Mildly On",
      +                "Risk-On"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "label",
      +            "name"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "percentile",
      +        "regime"
      +      ],
      +      "type": "object"
      +    },
      +    "record": {
      +      "additionalProperties": false,
      +      "description": "The public, hash-linked record of the daily settled regime reading: its percentile and its regime label. It covers nothing else in this response: not the stress gate, stock or coin figures, the scorecard, or a live intraday reading. The same on every response.",
      +      "properties": {
      +        "covers": {
      +          "const": "the daily settled regime reading",
      +          "description": "The reading it covers: the percentile and the regime label of each daily settled reading, and nothing else in this response.",
      +          "type": "string"
      +        },
      +        "ledger": {
      +          "const": "https://regimecard.com/api/ledger",
      +          "description": "Every entry as JSON, each with the hash of the entry before it.",
      +          "format": "uri",
      +          "type": "string"
      +        },
      +        "note": {
      +          "const": "Each settled regime reading is added to a public, hash-linked record the day it is published; a correction is a new entry, never an edit.",
      +          "description": "The same facts in one plain sentence.",
      +          "type": "string"
      +        },
      +        "verify": {
      +          "const": "https://regimecard.com/verify",
      +          "description": "The page that explains the hash chain and checks every entry in the browser.",
      +          "format": "uri",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "verify",
      +        "ledger",
      +        "covers",
      +        "note"
      +      ],
      +      "type": "object"
      +    },
      +    "related": {
      +      "description": "The other paid routes: for each, its path, the question it answers and its price per call. Each is a separate call.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "path": {
      +            "description": "The route's path on this origin.",
      +            "type": "string"
      +          },
      +          "per": {
      +            "description": "What the price is for: one call, or each covered symbol of one call.",
      +            "enum": [
      +              "call",
      +              "covered symbol"
      +            ],
      +            "type": "string"
      +          },
      +          "priceUsd": {
      +            "description": "The price in US dollars, paid in USDC.",
      +            "type": "string"
      +          },
      +          "question": {
      +            "description": "The question the route answers.",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "path",
      +          "question",
      +          "priceUsd",
      +          "per"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "research": {
      +      "additionalProperties": false,
      +      "description": "A published Regime Card study of the current regime. Present only when one exists for it.",
      +      "properties": {
      +        "title": {
      +          "description": "The study's title.",
      +          "type": "string"
      +        },
      +        "url": {
      +          "description": "The study on regimecard.com.",
      +          "format": "uri",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "title",
      +        "url"
      +      ],
      +      "type": "object"
      +    },
      +    "scorecard": {
      +      "additionalProperties": false,
      +      "description": "The scorecard row for the regime of the last settled close, which can differ from the live reading's regime.",
      +      "properties": {
      +        "asOf": {
      +          "description": "The session of the scorecard's newest reading.",
      +          "format": "date",
      +          "type": "string"
      +        },
      +        "regime": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "key": {
      +              "description": "The regime, as a stable key.",
      +              "enum": [
      +                "risk_off",
      +                "mildly_off",
      +                "neutral",
      +                "mildly_on",
      +                "risk_on"
      +              ],
      +              "type": "string"
      +            },
      +            "label": {
      +              "description": "The regime, as the card prints it.",
      +              "enum": [
      +                "RISK-OFF",
      +                "MILDLY OFF",
      +                "NEUTRAL",
      +                "MILDLY ON",
      +                "RISK-ON"
      +              ],
      +              "type": "string"
      +            },
      +            "name": {
      +              "description": "The regime, in sentence case.",
      +              "enum": [
      +                "Risk-Off",
      +                "Mildly Off",
      +                "Neutral",
      +                "Mildly On",
      +                "Risk-On"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "label",
      +            "name"
      +          ],
      +          "type": "object"
      +        },
      +        "rows": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "badOutcomePct": {
      +                "description": "A bad outcome for the horizon: the return the S&P 500 did worse than one time in ten, in percent.",
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "horizon": {
      +                "description": "The look-ahead: 5 or 20 trading days.",
      +                "enum": [
      +                  "5d",
      +                  "20d"
      +                ],
      +                "type": "string"
      +              },
      +              "readings": {
      +                "description": "How many daily readings fell in this regime.",
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "roseSharePct": {
      +                "description": "How often the S&P 500 rose over the horizon after a reading in this regime, in percent of readings.",
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "timesEntered": {
      +                "description": "How many separate times the market entered this regime.",
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "typicalReturnPct": {
      +                "description": "The S&P 500's typical (median) return over the horizon after a reading in this regime, in percent.",
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "horizon",
      +              "readings",
      +              "timesEntered",
      +              "typicalReturnPct",
      +              "roseSharePct",
      +              "badOutcomePct"
      +            ],
      +            "type": "object"
      +          },
      +          "maxItems": 2,
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "regime",
      +        "asOf",
      +        "rows"
      +      ],
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "settled": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "asOf": {
      +          "description": "The trading session of this reading (YYYY-MM-DD, US Eastern).",
      +          "format": "date",
      +          "type": "string"
      +        },
      +        "percentile": {
      +          "description": "The reading: a percentile rank from 0 (most risk-off) to 100 (most risk-on), one decimal.",
      +          "maximum": 100,
      +          "minimum": 0,
      +          "type": "number"
      +        },
      +        "regime": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "key": {
      +              "description": "The regime, as a stable key.",
      +              "enum": [
      +                "risk_off",
      +                "mildly_off",
      +                "neutral",
      +                "mildly_on",
      +                "risk_on"
      +              ],
      +              "type": "string"
      +            },
      +            "label": {
      +              "description": "The regime, as the card prints it.",
      +              "enum": [
      +                "RISK-OFF",
      +                "MILDLY OFF",
      +                "NEUTRAL",
      +                "MILDLY ON",
      +                "RISK-ON"
      +              ],
      +              "type": "string"
      +            },
      +            "name": {
      +              "description": "The regime, in sentence case.",
      +              "enum": [
      +                "Risk-Off",
      +                "Mildly Off",
      +                "Neutral",
      +                "Mildly On",
      +                "Risk-On"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "label",
      +            "name"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "asOf",
      +        "percentile",
      +        "regime"
      +      ],
      +      "type": "object"
      +    },
      +    "source": {
      +      "const": "https://regimecard.com",
      +      "description": "Where the reading is published.",
      +      "type": "string"
      +    },
      +    "status": {
      +      "description": "\"live\": computed during the session and still provisional. \"settled\": final for its session.",
      +      "enum": [
      +        "live",
      +        "settled"
      +      ],
      +      "type": "string"
      +    },
      +    "stress": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "components": {
      +          "description": "The three components, by category name. Names and states only.",
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "key": {
      +                "description": "The component.",
      +                "enum": [
      +                  "credit",
      +                  "volatility",
      +                  "rates"
      +                ],
      +                "type": "string"
      +              },
      +              "name": {
      +                "description": "Its category name.",
      +                "enum": [
      +                  "Credit",
      +                  "Volatility",
      +                  "Rates"
      +                ],
      +                "type": "string"
      +              },
      +              "state": {
      +                "description": "Its state.",
      +                "enum": [
      +                  "Clear",
      +                  "Confirmed"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "key",
      +              "name",
      +              "state"
      +            ],
      +            "type": "object"
      +          },
      +          "maxItems": 3,
      +          "minItems": 3,
      +          "type": "array"
      +        },
      +        "confirmed": {
      +          "description": "How many of the three components are confirmed.",
      +          "maximum": 3,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "stale": {
      +          "description": "True when the gate has not been recomputed on schedule.",
      +          "type": "boolean"
      +        },
      +        "state": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "key": {
      +              "description": "The gate's state, as a key.",
      +              "enum": [
      +                "calm",
      +                "elevated",
      +                "stressed"
      +              ],
      +              "type": "string"
      +            },
      +            "name": {
      +              "description": "The gate's state.",
      +              "enum": [
      +                "Calm",
      +                "Elevated",
      +                "Stressed"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "name"
      +          ],
      +          "type": "object"
      +        },
      +        "summary": {
      +          "description": "The count in words: \"All clear\", or \"N of 3 confirmed\".",
      +          "type": "string"
      +        },
      +        "total": {
      +          "const": 3,
      +          "description": "Always 3.",
      +          "type": "integer"
      +        },
      +        "updatedAt": {
      +          "description": "When the gate was last computed (UTC).",
      +          "format": "date-time",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "state",
      +        "confirmed",
      +        "total",
      +        "summary",
      +        "components",
      +        "updatedAt",
      +        "stale"
      +      ],
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "updatedAt": {
      +      "description": "When this reading was last computed (UTC). Null when it is the settled reading.",
      +      "format": "date-time",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "asOf",
      +    "status",
      +    "marketStatus",
      +    "reading",
      +    "updatedAt",
      +    "settled",
      +    "stress",
      +    "scorecard",
      +    "related",
      +    "record",
      +    "disclaimer",
      +    "source"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent and open-world, but the description adds facts an agent cannot get from structured fields: a $0.03 per-call charge in USDC via x402 on three named chains, ~hourly refresh while the US market is open with the first update just after 10 AM ET, and settlement at 4:30 PM ET. Cost and staleness are exactly the behaviors a caller must know before spending a call.

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?

It is front-loaded with the question the tool answers, then returns, then cost and cadence, then usage. Dense but nearly all of it earns its place; the orphaned fragment 'A cross-asset macro signal.' adds little, and pricing plus timing are packed into one long mid-paragraph sentence.

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 zero-arg, paid, time-sensitive reading the description covers what is returned, what the metrics mean, refresh cadence, settlement time, and cost/rails; the output schema carries the exact response shape. An agent has everything needed to decide whether and when to call.

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 takes no parameters, so the baseline of 4 applies. The description correctly does not invent inputs and instead spends its words on output meaning and pricing.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

It names a concrete retrieved payload: the live regime reading, the stress gate, and the scorecard row for the last settled close, then explains what that scorecard row contains (S&P 500 5- and 20-day forward returns, hit rate, drawdown risk). The composite 'in one call' framing implicitly separates it from the component siblings scorecard, stress_gate and live_reading, but it never names them, so the differentiation is inferred rather than stated.

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 closing sentence gives clear positive context: a risk check before a trade or a position-sizing input. There are no exclusions and no routing to alternatives, so an agent that only needs one component has to guess between this and scorecard/stress_gate.

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