Skip to main content
Glama
stockscreen-mcp

stockscreen-mcp

list_markets

Read-only

Lists markets with published stock data, returning each market code, coverage date, status, and available features so other tools can be called correctly.

Instructions

List the markets that have published data, so you know which market codes the other tools accept and how fresh each one is.

Call this first when the user names a country or exchange, or asks how current the data is. For one market's health, breadth and leading groups, use market_overview instead.

Each market returns its code (pass it as market to the other tools), name, as_of_date (the trading day the data covers), status ("current"; "late" if it is behind its latest completed session or its next update is over a day overdue; or "unknown"), and features: which of "scan" (run_screen, get_stock, list_screens, audit_stocks), "breadth" (market_overview breadth), "groups" (group_rankings) and "track_record" (screen_track_record) are published for it. unavailable_markets lists markets that failed this publish. Takes no arguments. Results are cached for up to 10 minutes; markets are published after their close by two scheduled runs, one for Asia and one for US/Europe.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and openWorldHint, but the description adds substantial operational context beyond them: a 10-minute result cache, the publish schedule (two runs after close, split Asia vs US/Europe), the meaning of each status value including "late" and its overdue condition, and the existence of unavailable_markets for failed publishes. This is exactly the kind of latency and staleness detail an agent needs before trusting the data.

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 purpose, then routing guidance, then return shape, then operational caveats – a sensible ordering. It is dense rather than padded, though "Takes no arguments." restates the empty schema and the feature-to-tool mapping list is lengthy, costing a little tightness.

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?

An output schema exists, yet the description still summarizes the returned fields (code, name, as_of_date, status, features, unavailable_markets) enough to plan on them. Combined with the staleness rules and cache window, nothing material is missing for a zero-argument discovery 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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline applies. It does clarify that the returned market code should be passed as `market` to other tools, which is useful cross-tool semantics even though it is not an input here.

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?

Opens with a specific verb and resource ("List the markets that have published data") and immediately states the payoff: knowing which market codes the other tools accept and how fresh each is. It also explicitly separates itself from market_overview, so an agent can pick between them without inspecting schemas.

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?

Gives an explicit trigger ("Call this first when the user names a country or exchange, or asks how current the data is") plus a named alternative with the condition that selects it ("For one market's health, breadth and leading groups, use market_overview instead"). Both when-to-use and when-not-to-use are covered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.