Skip to main content
Glama

get_sector_performance

Read-only

Compare performance across 11 U.S. sector ETFs for a chosen period, rank returns, and identify the strongest and weakest sectors, with optional global index benchmarking.

Instructions

ABD piyasasında 11 sektörün performansını karşılaştırır (sektör ETF'leri üzerinden): günlük/haftalık/aylık/3 aylık getiri sıralaması, en güçlü ve en zayıf sektör.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_sector_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoGetiri dönemi1mo
includeGlobalNoEk olarak dünya endeksleri (SPY, QQQ, DIA, EEM, TLT) karşılaştırmaya eklensin mi

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.7.0

TDQS

A3.5/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 safety is covered; the description's genuine addition is data provenance — figures are derived from sector ETFs, not official index constituents. It stops short of saying how many rows come back, whether missing/short-history sectors are dropped, or how staleness is handled.

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?

A single well-formed sentence with the scope (US, 11 sectors, ETF-based) front-loaded and the output content trailing. No filler; the parenthetical is load-bearing rather than decorative.

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 only two optional parameters, an output schema absent but the return shape partly described (ranking plus top/bottom sector), and annotations covering read-only status, the definition is nearly sufficient. The remaining gaps are the unlisted 6mo/1y periods and the unmentioned includeGlobal flag that defaults to true.

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 the baseline is 3. The description maps colloquial periods (daily/weekly/monthly/3-month) onto the enum, which helps, but it omits '6mo' and '1y' that the schema permits and never mentions includeGlobal, the parameter that materially changes the comparison set.

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 and scope: compares the performance of 11 US sectors using sector ETFs, and names the outputs (return ranking plus strongest/weakest sector). The US-market and ETF-proxy framing implicitly separates it from siblings such as get_bist_indices or get_etf_holdings, though no alternative is named explicitly.

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?

Usage context is implied by 'compares 11 sectors via sector ETFs' and the multi-period ranking output, which suggests sector-rotation analysis. There is no explicit when-to-use, when-not-to-use, or pointer to a sibling tool for a different market or granularity.

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