Skip to main content
Glama
yfinance-agent-mcp

yfinance-agent-mcp

by n-kostadinov

Get market overview

get_market_overview
Read-only

Check whether a region's market is open and get its headline indices, futures, or rates. Specify region for a concise or detailed overview.

Instructions

Whether a region's market is open, and its headline indices, futures or rates.

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

Input Schema

NameRequiredDescriptionDefault
regionNoMarket region.US
response_formatNo'concise' (default; up to 20,000 characters) or 'detailed' (up to 80,000).concise

Output Schema

NameRequiredDescriptionDefault
as_ofYesWhen this data was fetched from Yahoo Finance, in UTC.
regionYes
sourceNoData source and the yfinance version.
statusNoOpen/closed status of the region's main market.
indicesYesHeadline indices, futures or rates.
warningsNoCaveats such as delayed quotes, symbols that failed, or trimmed results.
truncatedNoTrue when rows were left out to keep the response small.
next_offsetNoPass as `offset` to fetch the next rows, when the result is truncated.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds nothing further: it does not say whether the data is live or delayed, whether markets outside the listed regions are supported, or what a closed-market response looks like. The listed content categories are restated purpose rather than behavioral disclosure.

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?

One short clause with no filler, and the core content is front-loaded. It is slightly under-specified rather than padded, and the fragmentary grammar ('Whether a region's market is open, and its...') costs a little clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value detail is not needed, and the schema fully documents both parameters. What remains missing is routing guidance among the many sibling market-data tools, which matters because this is a zero-required-parameter call an agent could easily invoke by default.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and both parameters (region and response_format) are documented in the schema with enums and defaults, so the baseline of 3 applies. The description mentions 'region' implicitly but adds no meaning about the RATES/COMMODITIES/CURRENCIES/CRYPTOCURRENCIES values, which are not strictly regions, nor about how response_format changes the output.

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 the concrete content returned: open/closed status plus headline indices, futures or rates for a region. That is specific enough for an agent to know this is a regional market snapshot rather than a per-symbol quote tool, though the phrasing is a sentence fragment and never contrasts itself with siblings like get_quotes or get_live_quotes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, and no alternative is named. The agent must infer from the noun list alone that this is the right call for a broad market-level view rather than symbol-level data.

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