Skip to main content
Glama

get_bist_indices

Read-only

Retrieve current BIST index values and sector performance breakdown relative to BIST 100 to analyze Turkish market trends.

Instructions

Borsa İstanbul (BIST) endekslerinin güncel değerini ve sektör kırılımını döndürür. Sektörler (XBANK, XUTEK, XGMYO, XILTM, XUSIN) BIST 100'e göre sıralanır. Varsayılan: XU100, XU030, XBANK, XUTEK.

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_bist_indices"
  }
}

Input Schema

NameRequiredDescriptionDefault
indicesNoEndeks kodları listesi (örn. ['XU100','XBANK']). Verilmezse ana endeksler (XU100, XU030, XBANK, XUTEK) kullanılır. Doğrulanmış kodlar: XU100, XU030, XU050, XBANK, XUTEK, XGMYO, XILTM, XUSIN.
includeSectorPerformanceNoSektörlerin BIST 100'e göre göreli performansı hesaplansın mı

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.7.0
    • addedInput schema / properties / includeSectorPerformance
      Added value: +{
      +  "default": true,
      +  "description": "Sektörlerin BIST 100'e göre göreli performansı hesaplansın mı",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / indices / description
      Previous value: -"Endeks kodları listesi (örn. ['XU100','XU030','XBANK']). Verilmezse ana endeksler kullanılır."New value: +"Endeks kodları listesi (örn. ['XU100','XBANK']). Verilmezse ana endeksler (XU100, XU030, XBANK, XUTEK) kullanılır. Doğrulanmış kodlar: XU100, XU030, XU050, XBANK, XUTEK, XGMYO, XILTM, XUSIN."
    • removedInput schema / required
      Removed value: -[
      -  "indices"
      -]
  2. Addedv1.4.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds behavior beyond that: it discloses that sector indices are ranked relative to BIST 100 and that omitting parameters falls back to XU100/XU030/XBANK/XUTEK. It does not describe return shape or data freshness beyond 'güncel', which keeps it at 4.

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 sentences, front-loaded with the return content, then the ranking semantics, then the default behavior. Every sentence carries distinct information and nothing is repeated verbatim from the schema beyond the necessary default values.

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?

For a two-parameter, zero-required, read-only lookup with full schema coverage and no output schema, the description covers what is returned, how sectors are compared, and what the defaults are. The only minor gap is any note on data recency or what the sector ranking output looks like, but that is a small omission for this complexity level.

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% – both the 'indices' array (with minItems 1, maxItems 10, validated codes) and 'includeSectorPerformance' are fully documented in the schema. The description's 'Varsayılan' sentence and sector list restate the schema's default and enum-like code list rather than adding new meaning. Baseline 3 applies since the schema does the heavy lifting.

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?

The description names a specific verb ('döndürür') and resource ('BIST endeksleri') and scopes the content to current values plus sector breakdown, which separates it from a single-instrument tool like get_bist_price. It also lists the concrete sector codes and the default index set, so the agent knows exactly what a no-argument call yields. It does not explicitly name the sibling it differs from, so it stops short of a 5.

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 is implied rather than stated: 'güncel değer' signals a current-snapshot call, and the 'Varsayılan: ...' sentence tells the agent what happens when no indices are supplied. There is no explicit when-to-use/when-not guidance and no pointer to an alternative tool for historical or single-index data. Adequate but with clear gaps.

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