Skip to main content
Glama

Market data: major market indices

market_indices

Compare levels and daily change percentages for major US indices across multiple data providers, with each figure mapped to a canonical name and labeled by source for cross-checking.

Instructions

Level and day change for the major US indices, asked of every capable provider.

Covers the fixed snapshot list (INDEX_SNAPSHOT: S&P 500, Dow, Nasdaq Composite, Russell 2000, IWM and VIX), not every index the instrument registry addresses: NDX is a registry row too, but it is quoted through the single-instrument tools. Every provider spells these differently (SPX / SP:SPX / ^GSPC); they are mapped to one canonical name before comparison, and the level is compared across all providers that answered.

Returns: Envelope whose data.indices is keyed by canonical index (SPX, DJI, COMP, RUT, IWM, VIX), each value carrying level, change_percent, its own data_provider and the raw readings from every provider that supplied it.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses that the tool queries every capable provider, canonicalizes divergent ticker spellings (SPX / SP:SPX / ^GSPC), and compares levels across all providers that answered. It stops short of disclosing failure behavior when a provider is silent, latency, or rate limits, which keeps it off 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.

Conciseness4/5

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

Front-loaded with the purpose and scope before the mechanics, and every sentence adds information about coverage, name mapping, or cross-provider comparison. The "Returns:" block partly duplicates the existing output schema and the reStructuredText double-backtick markup is slightly noisy, but neither obscures the content.

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?

For a zero-parameter tool with an output schema, the description covers the essentials: what is returned, the canonical key names, and the per-provider raw readings. The return-value explanation is somewhat redundant given the output schema, and nothing is said about provider coverage or degraded responses, leaving a small gap.

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 the baseline of 4 applies. The description correctly implies no input is needed, and the enumerated snapshot list clarifies that scope is fixed rather than configurable.

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 ("Level and day change for the major US indices") and immediately bounds the scope to the fixed INDEX_SNAPSHOT list, naming the exact members. It also explicitly distinguishes itself from the single-instrument tools that handle registry rows like NDX, so an agent can separate it from siblings without opening a schema.

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?

Gives clear selection guidance within its own domain: it covers the fixed snapshot list, and indices outside that list (NDX) are routed to the single-instrument tools. It does not explicitly compare against adjacent siblings such as market_snapshot or bloomberg_markets, so the when-to-use guidance is strong but not exhaustive.

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