Skip to main content
Glama
Yahoo Finance MCP Server

Yahoo Finance MCP Server

get_sector_overview

Read-onlyIdempotent

Retrieves sector or industry overviews with company counts, market cap, weights, largest companies, analyst ratings, and industry keys for sector rotation and peer research.

Instructions

Overview of a market sector, or of one industry inside it: description, company count, total market cap, market weight, and the largest companies with analyst rating. A sector also lists its industries with their keys and weights; an industry adds its top growth companies (growth estimate) and top performers (YTD return, target price).

Use for sector rotation, "biggest semiconductor companies", finding peers for a stock, or exploring an industry before picking names. Call without industry first, then pass one of the returned industry keys.

Returns Markdown by default, or JSON when response_format='json'. An unknown industry key returns a short message listing the valid ones.

Input Schema

NameRequiredDescriptionDefault
limitNoRows per company list (1-50)
sectorYesSector key: basic-materials, communication-services, consumer-cyclical, consumer-defensive, energy, financial-services, healthcare, industrials, real-estate, technology, utilities
industryNoOptional industry key inside the sector (e.g., 'semiconductors', 'software-infrastructure'). Call once without it: the sector response lists every valid industry key.
response_formatNoOutput format: 'markdown' for human-readable or 'json' for machine-readablemarkdown

Output Schema

NameRequiredDescriptionDefault
nameNo
sectorNo
messageNoSet instead of data when there is nothing to return for this request (for example, no dividends on record).
industryNo
overviewNo
industriesNoPresent for a sector; each row's key is a valid industry argument.
topCompaniesNo
topGrowthCompaniesNo
topPerformingCompaniesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered; the description instead adds the response-format contract and the failure behavior for an unknown industry key ('returns a short message listing the valid ones'). That error-path disclosure is genuinely useful and not present in the schema. It stops short of stating data freshness or caching for market cap/weights, which matters for a market-data tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Three short paragraphs ordered as what-you-get, when-to-use, and how-it-behaves, with no filler sentences. The format and error-behavior notes are compact and come after the high-value content.

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

Completeness5/5

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

Output schema exists and annotations cover the safety profile, so the description's job is to explain payload shape, call order, and edge cases -- and it does all three, including the unknown-industry-key path. Nothing needed to invoke this correctly in a two-step workflow is 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 coverage is 100% and the schema already spells out the sector enum, the industry key examples, and the 'call once without it' instruction, so the description largely restates structured data. It adds the two-step discovery semantics but says nothing about the limit parameter (rows per company list, 1-50) beyond what the schema states. Baseline 3 is appropriate when the schema carries the parameter burden.

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 first sentence names a specific resource and its two modes ('Overview of a market sector, or of one industry inside it') and enumerates exactly what is returned: description, company count, market cap, market weight, largest companies with analyst rating. The second sentence refines the distinction between sector-level and industry-level payloads (industry keys/weights vs. growth and performance lists), which no sibling tool offers.

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

Usage Guidelines5/5

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

It gives concrete use cases (sector rotation, 'biggest semiconductor companies', finding peers, exploring an industry before picking names) and an explicit call sequence: call without industry first, then pass one of the returned keys. That sequencing rule removes the main failure mode an agent would hit with the optional industry parameter.

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