Skip to main content
Glama

Sectors and their stocks, ranked by returns in this market regime

sector_leaders
Read-onlyIdempotent

Which sectors and stocks have done best and worst in markets like today's? Returns the ten sectors of the regimecard.com stocks page ranked by their stocks' median typical return over 1, 2 or 3 months from the current regime, each with its five highest and five lowest. With one sector named, every stock in it, ranked. It covers the stocks with Regime Card pages. Any other US stock can be checked one at a time with /v1/lookup. $0.05 per call in USDC on Base, Polygon or Solana (x402). One sector: $0.03 per call. Settled figures, updated after each US close: the ones the stock pages on regimecard.com print. Useful when an agent needs sector rotation context for the current market regime.

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

Input Schema

NameRequiredDescriptionDefault
sectorNoOne sector: all its covered stocks, ranked, at the one-sector price. Without it, every sector.
horizonNoWithout it, 3m.

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.
regimeYes
sourceYesWhere the reading is published.
statusYes"live": computed during the session and still provisional. "settled": final for its session.
horizonYesThe holding period the figures and the ranking use.
relatedYesThe other paid routes: for each, its path, the question it answers and its price per call. Each is a separate call.
sectorsNoWithout a sector named: every sector, ranked by its figure, highest first (a sector with no figure is listed last), each with highest and lowest. With a sector named: that sector alone, with its place among the sectors, and stocks.
dataAsOfYesThe newest day of stock prices in the figures (YYYY-MM-DD).
researchNoA published Regime Card study of the current regime. Present only when one exists for it.
disclaimerYesAlways the same sentence.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
      +    },
      +    "dataAsOf": {
      +      "description": "The newest day of stock prices in the figures (YYYY-MM-DD).",
      +      "format": "date",
      +      "type": "string"
      +    },
      +    "disclaimer": {
      +      "const": "For informational purposes only. Not investment advice.",
      +      "description": "Always the same sentence.",
      +      "type": "string"
      +    },
      +    "horizon": {
      +      "description": "The holding period the figures and the ranking use.",
      +      "enum": [
      +        "1m",
      +        "2m",
      +        "3m"
      +      ],
      +      "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"
      +    },
      +    "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"
      +    },
      +    "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"
      +    },
      +    "sectors": {
      +      "description": "Without a sector named: every sector, ranked by its figure, highest first (a sector with no figure is listed last), each with highest and lowest. With a sector named: that sector alone, with its place among the sectors, and stocks.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "highest": {
      +            "description": "Every sector: its 5 highest ranked stocks, in rank order.",
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "history": {
      +                  "description": "How much history is behind the figures: full, limited, or none (too little to print a figure; the stock is not ranked).",
      +                  "enum": [
      +                    "full",
      +                    "limited",
      +                    "none"
      +                  ],
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "description": "The stock's name.",
      +                  "type": "string"
      +                },
      +                "rank": {
      +                  "description": "Its place in its sector, by the typical return at this horizon, highest first. Rows that print the same figure share a place. Null with too little history: then it is listed last.",
      +                  "minimum": 1,
      +                  "type": [
      +                    "integer",
      +                    "null"
      +                  ]
      +                },
      +                "roseSharePct": {
      +                  "description": "How often the stock rose over the horizon when it started in the current regime, in percent of past periods.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "symbol": {
      +                  "description": "The stock's symbol.",
      +                  "type": "string"
      +                },
      +                "typicalReturnPct": {
      +                  "description": "The stock's typical (median) return over the horizon when it started in the current regime, in percent. The figure on its page.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "url": {
      +                  "description": "The stock's page on regimecard.com, with the same figures.",
      +                  "format": "uri",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "symbol",
      +                "name",
      +                "rank",
      +                "typicalReturnPct",
      +                "roseSharePct",
      +                "history",
      +                "url"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 5,
      +            "type": "array"
      +          },
      +          "history": {
      +            "description": "How much history is behind the sector figure: limited when more than half of the stocks behind it have limited history, none when there is no figure.",
      +            "enum": [
      +              "full",
      +              "limited",
      +              "none"
      +            ],
      +            "type": "string"
      +          },
      +          "id": {
      +            "description": "The sector, as a stable id: one of the values the sector query parameter takes.",
      +            "type": "string"
      +          },
      +          "lowest": {
      +            "description": "Every sector: its 5 lowest ranked stocks, in rank order, the lowest last. A stock listed under highest is not repeated here, so a sector with few ranked stocks lists fewer.",
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "history": {
      +                  "description": "How much history is behind the figures: full, limited, or none (too little to print a figure; the stock is not ranked).",
      +                  "enum": [
      +                    "full",
      +                    "limited",
      +                    "none"
      +                  ],
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "description": "The stock's name.",
      +                  "type": "string"
      +                },
      +                "rank": {
      +                  "description": "Its place in its sector, by the typical return at this horizon, highest first. Rows that print the same figure share a place. Null with too little history: then it is listed last.",
      +                  "minimum": 1,
      +                  "type": [
      +                    "integer",
      +                    "null"
      +                  ]
      +                },
      +                "roseSharePct": {
      +                  "description": "How often the stock rose over the horizon when it started in the current regime, in percent of past periods.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "symbol": {
      +                  "description": "The stock's symbol.",
      +                  "type": "string"
      +                },
      +                "typicalReturnPct": {
      +                  "description": "The stock's typical (median) return over the horizon when it started in the current regime, in percent. The figure on its page.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "url": {
      +                  "description": "The stock's page on regimecard.com, with the same figures.",
      +                  "format": "uri",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "symbol",
      +                "name",
      +                "rank",
      +                "typicalReturnPct",
      +                "roseSharePct",
      +                "history",
      +                "url"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 5,
      +            "type": "array"
      +          },
      +          "name": {
      +            "description": "The sector, as the regimecard.com stocks page names it.",
      +            "type": "string"
      +          },
      +          "rank": {
      +            "description": "Its place among the sectors, by the typical return at this horizon, highest first. Rows that print the same figure share a place. Null with too little history: then it is listed last.",
      +            "minimum": 1,
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "stocks": {
      +            "description": "One sector: every covered stock in it, ranked, then the stocks with too little history, in symbol order.",
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "history": {
      +                  "description": "How much history is behind the figures: full, limited, or none (too little to print a figure; the stock is not ranked).",
      +                  "enum": [
      +                    "full",
      +                    "limited",
      +                    "none"
      +                  ],
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "description": "The stock's name.",
      +                  "type": "string"
      +                },
      +                "rank": {
      +                  "description": "Its place in its sector, by the typical return at this horizon, highest first. Rows that print the same figure share a place. Null with too little history: then it is listed last.",
      +                  "minimum": 1,
      +                  "type": [
      +                    "integer",
      +                    "null"
      +                  ]
      +                },
      +                "roseSharePct": {
      +                  "description": "How often the stock rose over the horizon when it started in the current regime, in percent of past periods.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "symbol": {
      +                  "description": "The stock's symbol.",
      +                  "type": "string"
      +                },
      +                "typicalReturnPct": {
      +                  "description": "The stock's typical (median) return over the horizon when it started in the current regime, in percent. The figure on its page.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "url": {
      +                  "description": "The stock's page on regimecard.com, with the same figures.",
      +                  "format": "uri",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "symbol",
      +                "name",
      +                "rank",
      +                "typicalReturnPct",
      +                "roseSharePct",
      +                "history",
      +                "url"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "stocksCovered": {
      +            "description": "How many stocks with a page on regimecard.com the sector has.",
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "stocksRanked": {
      +            "description": "How many of them have enough history at this horizon to be ranked.",
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "typicalReturnPct": {
      +            "description": "The median of the typical returns of the sector's covered stocks that have enough history at this horizon, in percent, one decimal. The regimecard.com stocks page prints no sector average, so this figure is computed for this route from those stocks' own published figures. Null with fewer than 3 such stocks.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "name",
      +          "rank",
      +          "typicalReturnPct",
      +          "history",
      +          "stocksCovered",
      +          "stocksRanked"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 10,
      +      "minItems": 1,
      +      "type": "array"
      +    },
      +    "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"
      +    }
      +  },
      +  "required": [
      +    "asOf",
      +    "status",
      +    "regime",
      +    "horizon",
      +    "dataAsOf",
      +    "related",
      +    "record",
      +    "disclaimer",
      +    "source"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive, so the bar is lower, and the description still adds real context: per-call pricing in USDC across three chains via x402, a cheaper one-sector price, a data-freshness guarantee (settled figures updated after each US close), and an explicit coverage limit to stocks with Regime Card pages. Return-shape detail is partly redundant with the output schema.

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?

Front-loaded with the core question and result shape, then coverage, pricing, and freshness in descending order of importance. It is dense but slightly sprawling, with payment-chain details and the regimecard.com cross-reference consuming space that could be tighter.

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?

Given an output schema that already documents return values, the description covers everything else an agent needs: coverage scope, alternative for out-of-scope stocks, cost per call including the cheaper single-sector mode, and data freshness. No material gap remains for a read-only, two-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?

Schema coverage is 100% with both enums documented, so baseline is 3; the description adds meaning beyond it by explaining that naming a sector changes both the result shape (every stock in it, ranked) and the price tier, and by restating the 1/2/3-month horizon semantics. The schema's own note about free 400s on invalid values is not echoed, but nothing important is lost.

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 verb and resource: returns the ten sectors ranked by median typical return over a horizon, each with its five highest and five lowest stocks, and switches to full per-stock ranking when a sector is named. An agent can distinguish this from lookup-style siblings purely from the text.

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?

Frames the use case explicitly ('Useful when an agent needs sector rotation context for the current market regime') and draws the coverage boundary against /v1/lookup for US stocks without Regime Card pages. It stops short of naming when-not to use it or a specific sibling to prefer for other tasks.

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