Skip to main content
Glama
benethos-hub

Yahoo Finance MCP Server

by benethos-hub

get_market

Check if a market is open and get its headline index summary. Input a market key like US or EUROPE to see price, previous close, and change.

Instructions

Get the trading status and headline index summary for a market.

Answers questions like whether the market is open, when it opens or closes next, and how the major indices are doing. Takes a market key such as US or EUROPE — not a ticker symbol. status (open/closed plus the next open and close times) is only available for US and is null for every other key, which is an upstream limitation rather than an error. The index summary, with price, previous close and change, works for all keys.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoA Yahoo market key (uppercase). One of: US, GB, ASIA, EUROPE, RATES, COMMODITIES, CURRENCIES, CRYPTOCURRENCIES. Only 'US' reports a trading status, the others return the index summary with 'status' set to null.US

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

The description provides key behavioral traits: the 'status' field behavior (open/closed/next times) is limited to the 'US' key due to upstream constraints. It clarifies that null status for other keys is not an error, setting correct expectations. Given no annotations exist, the description carries the full burden and handles it well, though it could detail other potential fields (e.g., change calculation).

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?

The description is concise (three sentences) and front-loads the main purpose before explaining detailed behavior. It avoids wasted words. However, it could be slightly more streamlined by moving the 'status null' explanation into the second sentence.

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?

Given the tool has 1 parameter, 100% schema coverage, and an output schema (not shown), the description adequately covers the purpose, input, and key behavioral nuance (status null for non-US). It is complete for a simple data retrieval tool, though it could hint at output structure (e.g., fields like price, previous close) since no output schema is visible in the evaluation context.

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 the schema already documents the 'key' parameter with allowed values and the status limitation. The description adds context about the purpose (e.g., answering market open/close questions) but does not add significant new meaning beyond the schema itself. Baseline 3 is appropriate.

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?

The description clearly states the tool retrieves trading status and headline index summary for a market, specifying it answers questions about market open/close times and index performance. It explicitly distinguishes the input as a market key (e.g., 'US', 'EUROPE') not a ticker symbol, which differentiates it from siblings like get_quote or get_history.

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?

The description explains when to use this tool (for market-level status and index summary) and explicitly warns that 'status' is only available for 'US' and null for others due to upstream limitations. However, it does not explicitly state when to avoid this tool versus others (e.g., for individual stocks or detailed quotes), leaving some context implicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/benethos-hub/yahoo-finance-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server