Skip to main content
Glama
anconina

yfinance-mcp-ts

by anconina

get_market_summary

Retrieve major market indices with price, change, and percent change for broad market overview. Choose a country and output text or JSON.

Instructions

Returns major market indices with price, change, and percent change. Use for broad market overview. Text default; set format=json for structured data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoOutput format (default: text)
countryNoCountry for market summary — full name or ISO code (default: united states)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.6

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose the default output mode ('Text default; set format=json') which is useful behavioral context, but says nothing about read-only nature, rate limits, or data freshness for a live market feed.

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?

Three compact sentences, front-loaded with what is returned before usage and formatting notes. No filler, though the second and third sentences are quite terse.

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?

With no output schema, the description usefully describes the return payload (indices with price, change, percent change) and both output modes. For a two-optional-parameter read tool this is nearly complete; only source/freshness details are missing.

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%, so both parameters (format, country) are already documented with defaults and enum values. The description only restates the format default and ignores the country parameter, adding no meaning beyond the schema. Baseline 3 applies.

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?

States a specific verb ('Returns') and resource ('major market indices') plus the returned fields (price, change, percent change), which contrasts with the stock-level siblings like get_stock_price or get_stock_summary. It does not name a sibling explicitly, so it stops short of a 5.

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 usage context: 'Use for broad market overview.' This tells the agent when this tool is the right pick versus per-symbol tools. No explicit exclusions or named alternatives, which keeps it at a 4.

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