Skip to main content
Glama

Market stress gate: credit, volatility, rates

stress_gate
Read-onlyIdempotent

Is market stress calm, elevated or stressed right now? Returns the Regime Card stress gate: the overall state (Calm, Elevated or Stressed), how many of its three components are confirmed (N of 3), and each one's state (Credit, Volatility, Rates: Clear or Confirmed). A credit stress and volatility regime check. $0.01 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; marked "settled" outside market hours.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
asOfYesThe trading session this response describes (YYYY-MM-DD, US Eastern).
staleYesTrue when the gate has not been recomputed on schedule.
stateYes
totalYesAlways 3.
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.
relatedYesThe other paid routes: for each, its path, the question it answers and its price per call. Each is a separate call.
summaryYesThe count in words: "All clear", or "N of 3 confirmed".
researchNoA published Regime Card study of the current regime. Present only when one exists for it.
confirmedYesHow many of the three components are confirmed.
updatedAtYesWhen the gate was last computed (UTC).
componentsYesThe three components, by category name. Names and states only.
disclaimerYesAlways the same sentence.
nextUpdateAtYesThe expected time of the next update to the stress gate (UTC). An expectation, not a promise: it counts the scheduled updates of US trading sessions, and one can arrive a little earlier or later. 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 stress gate (UTC). An expectation, not a promise: it counts the scheduled updates of US trading sessions, and one can arrive a little earlier or later. 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",
      -  "state",
      -  "confirmed",
      -  "total",
      -  "summary",
      -  "components",
      -  "updatedAt",
      -  "stale",
      -  "related",
      -  "record",
      -  "disclaimer",
      -  "source"
      -]New value: +[
      +  "asOf",
      +  "status",
      +  "state",
      +  "confirmed",
      +  "total",
      +  "summary",
      +  "components",
      +  "updatedAt",
      +  "nextUpdateAt",
      +  "stale",
      +  "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"
      +    },
      +    "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"
      +    },
      +    "disclaimer": {
      +      "const": "For informational purposes only. Not investment advice.",
      +      "description": "Always the same sentence.",
      +      "type": "string"
      +    },
      +    "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"
      +    },
      +    "source": {
      +      "const": "https://regimecard.com",
      +      "description": "Where the reading is published.",
      +      "type": "string"
      +    },
      +    "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"
      +    },
      +    "status": {
      +      "description": "\"live\": computed during the session and still provisional. \"settled\": final for its session.",
      +      "enum": [
      +        "live",
      +        "settled"
      +      ],
      +      "type": "string"
      +    },
      +    "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": [
      +    "asOf",
      +    "status",
      +    "state",
      +    "confirmed",
      +    "total",
      +    "summary",
      +    "components",
      +    "updatedAt",
      +    "stale",
      +    "related",
      +    "record",
      +    "disclaimer",
      +    "source"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.1/5.0
Behavior5/5

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

The description goes well beyond the annotations (readOnly, idempotent, open-world, non-destructive) by disclosing the cost model ($0.01 per call in USDC via x402 on Base, Polygon or Solana), the refresh cadence (roughly hourly during US market hours, first shortly after 10 AM ET), and the 'settled' state outside market hours. Cost and staleness semantics are exactly the operational facts an agent needs before calling a paid, time-sensitive tool.

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 decision question, followed by the return shape, then cost and cadence, which is a sensible order. The sentence 'A credit stress and volatility regime check' is somewhat redundant with the preceding component list, a minor bit of filler in an otherwise tight definition.

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-parameter, read-only snapshot tool with an output schema, the description covers the remaining unknowns: what the states mean, what the N-of-3 count is, price and payment rails, and freshness/settlement behavior. Nothing an agent needs in order to decide to call it or interpret a stale result is missing.

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 there is nothing to disambiguate and the baseline of 4 applies. The description correctly makes clear the call is argument-free and purely a snapshot query.

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?

The description names a specific resource and output: the Regime Card stress gate, returning an overall state (Calm/Elevated/Stressed), a confirmed count (N of 3), and per-component states for Credit, Volatility and Rates. That is far more concrete than the title alone. It does not, however, distinguish itself from plausible siblings such as conditions_gate or crypto_regime, so an agent must infer the boundary.

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?

Usage is implied by the framing question ('Is market stress calm, elevated or stressed right now?') and by the note that readings settle outside market hours, which tells an agent when the data is fresh. There is no explicit when-to-use versus when-to-prefer-an-alternative statement, and no sibling is named, so the routing guidance is left to inference.

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