Skip to main content
Glama
Yahoo Finance MCP Server

Yahoo Finance MCP Server

yfinance_get_multiple_quotes

Read-only

Fetch current stock quotes for multiple tickers in one request, returning company name, price, currency, change, percent change, and volume as JSON or Markdown.

Instructions

Get current quotes for multiple stocks at once in a single request.

Args: tickers: List of stock ticker symbols (e.g., ['AAPL', 'MSFT', 'GOOGL']) response_format: Output format - 'json' or 'markdown' (default: 'markdown')

Returns: Formatted string containing current quotes for all requested tickers including: - Company name - Current price - Currency - Price change and percent change - Trading volume

Example: yfinance_get_multiple_quotes(["AAPL", "MSFT", "GOOGL"], "json")

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tickers": "<tickers>"
    },
    "name": "yfinance_get_multiple_quotes"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickersYes
response_formatNomarkdown

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the agent knows this is a safe external read. The description adds the returned field set (name, price, currency, change, volume), which is useful context. It says nothing about partial failures for invalid tickers, rate limiting, or whether missing tickers are silently dropped — relevant gaps for an open-world data fetch.

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?

It is front-loaded with a one-line purpose, then Args/Returns/Example, so an agent can stop reading after the first sentence. The Returns list is somewhat redundant given an output schema exists, but it is short and scannable rather than padded.

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 an output schema present, the description need not enumerate return values, and it correctly covers both parameters and gives a usage example. It is nearly complete for a two-parameter read tool; only error/partial-result behavior and the single-string ticker form are unaddressed.

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?

Schema description coverage is 0%, so the description must carry the burden, and it does: it explains the tickers list with a concrete example and states the allowed response_format values plus the 'markdown' default. The one gap is that the schema's anyOf also permits a bare string, while the description only describes a list.

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 gives a specific verb and resource ('Get current quotes') plus the defining scope: 'multiple stocks at once in a single request.' That batch framing lets an agent distinguish it from the single-entity siblings like yfinance_get_stock_info or yfinance_get_stock_history 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 Guidelines3/5

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

The phrase 'multiple stocks at once in a single request' implies the efficiency use case versus fetching each ticker separately, and the example demonstrates invocation. However, it never states when not to use it, what to do for a single ticker, or how it relates to any alternative tool.

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