Skip to main content
Glama
Financial Modeling Prep MCP Server

Financial Modeling Prep MCP Server

getSectorPerformanceSnapshot

Read-onlyIdempotent

Retrieve a sector performance snapshot for a date to compare average market changes across industries, with optional filters for sector and exchange.

Instructions

Get a snapshot of sector performance using the Market Sector Performance Snapshot API. Analyze how different industries are performing in the market based on average changes across sectors.

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": {
      "date": "<date>"
    },
    "name": "getSectorPerformanceSnapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesDate (YYYY-MM-DD)
sectorNoSector (e.g., Energy)
exchangeNoExchange (e.g., NASDAQ)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.9.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds only a hint that results are averaged changes across sectors, but says nothing about return shape, sector coverage, or what happens when the date is a non-trading day.

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

Conciseness3/5

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

Two short sentences with no wasted preamble, but the second sentence largely restates the first while introducing a confusing 'industries' framing that is not corrected anywhere.

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

Completeness2/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 should describe what a snapshot returns (fields, aggregation level, date handling) but only offers a vague 'average changes across sectors.' For a data-fetch tool in a dense family of snapshot/historical siblings, this leaves the agent under-informed.

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 date, sector and exchange are already documented. The description adds no meaning beyond the schema, e.g. whether sector/exchange are optional filters or how sector names relate to the getAvailableSectors list; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The name and first sentence state a specific verb and resource (snapshot of sector performance), but the second sentence muddies the resource by describing it as analyzing 'how different industries are performing,' which blurs the line with the sibling getIndustryPerformanceSnapshot. It never distinguishes itself from getHistoricalSectorPerformance or getSectorPESnapshot.

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 guidance, no mention of exclusions, and no named alternative despite many closely related siblings (industry snapshot, historical sector performance, sector PE). The agent must infer from the name alone that this is the current-day (non-historical, non-valuation) variant.

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

Deploy Server

Other Tools