Skip to main content
Glama

Indices

indices
Read-onlyIdempotent

Twelve Data reference list of supported market index symbols with exchange metadata, about 1,300 NON-US indices (e.g. N225 Nikkei 225, 000001 SSE Composite, NSEI Nifty 50), paged, default 200 rows. Filter by country (e.g. "Japan", "India", "China"), exchange or symbol. US indices (SPX, DJI, IXIC, NDX, VIX) are NOT in Twelve Data's reference list and quoting them requires a Grow-or-higher Twelve Data key via _apiKey, a US filter here returns that refusal, not an empty list. Use to discover or validate index tickers before querying time_series.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage of the reference list (default 1). `count` in the response is the TOTAL matched; `data` is this page.
symbolNoOptional index symbol filter (e.g. "N225", "NSEI", "000001"). US symbols such as SPX/DJI/IXIC are not in this list, see the tool description.
countryNoOptional country filter, full name or alpha code (e.g. "Japan", "India", "China", "Germany"). "United States" returns a plan refusal, not rows.
exchangeNoOptional exchange filter (e.g. "NASDAQ", "NYSE", "Binance").
mic_codeNoOptional ISO 10383 market identifier code filter (e.g. "XNAS", "XLON").
outputsizeNoRows per page (default 200, max 5000). The unfiltered ETF list is 64,000+ rows, so narrow with symbol / country / exchange rather than raising this.

Output Schema

NameRequiredDescriptionDefault
codeNoResponse code
statusNoResponse status
messageNoResponse message

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / symbol / description
      Previous value: -"Optional index symbol filter (e.g. \"N225\", \"NSEI\", \"000001\"). US symbols such as SPX/DJI/IXIC are not in this list — see the tool description."New value: +"Optional index symbol filter (e.g. \"N225\", \"NSEI\", \"000001\"). US symbols such as SPX/DJI/IXIC are not in this list, see the tool description."
  2. Changed7 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {}
      -]New value: +[
      +  {
      +    "country": "Japan"
      +  },
      +  {
      +    "country": "India",
      +    "outputsize": 20
      +  }
      +]
    • changedInput schema / properties / country / description
      Previous value: -"Optional country filter (e.g. \"United States\")."New value: +"Optional country filter, full name or alpha code (e.g. \"Japan\", \"India\", \"China\", \"Germany\"). \"United States\" returns a plan refusal, not rows."
    • addedInput schema / properties / exchange
      Added value: +{
      +  "description": "Optional exchange filter (e.g. \"NASDAQ\", \"NYSE\", \"Binance\").",
      +  "type": "string"
      +}
    • addedInput schema / properties / mic_code
      Added value: +{
      +  "description": "Optional ISO 10383 market identifier code filter (e.g. \"XNAS\", \"XLON\").",
      +  "type": "string"
      +}
    • addedInput schema / properties / outputsize
      Added value: +{
      +  "description": "Rows per page (default 200, max 5000). The unfiltered ETF list is 64,000+ rows, so narrow with symbol / country / exchange rather than raising this.",
      +  "type": "number"
      +}
    • addedInput schema / properties / page
      Added value: +{
      +  "description": "Page of the reference list (default 1). `count` in the response is the TOTAL matched; `data` is this page.",
      +  "type": "number"
      +}
    • changedInput schema / properties / symbol / description
      Previous value: -"Optional index filter (e.g. \"IXIC\")."New value: +"Optional index symbol filter (e.g. \"N225\", \"NSEI\", \"000001\"). US symbols such as SPX/DJI/IXIC are not in this list — see the tool description."
  3. Changed2 schema fields changed
    • addedInput schema / properties / country
      Added value: +{
      +  "description": "Optional country filter (e.g. \"United States\").",
      +  "type": "string"
      +}
    • addedInput schema / properties / symbol
      Added value: +{
      +  "description": "Optional index filter (e.g. \"IXIC\").",
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -true
  5. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {}
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "code": {
      +      "description": "Response code",
      +      "type": "number"
      +    },
      +    "message": {
      +      "description": "Response message",
      +      "type": "string"
      +    },
      +    "status": {
      +      "description": "Response status",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  6. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already disclose read-only, idempotent, open-world, non-destructive behavior. The description adds important context beyond annotations: it is paged with a default 200 rows, contains roughly 1,300 non-US indices, US symbols require a Grow-or-higher key via _apiKey, and a US country filter returns a refusal rather than empty results.

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?

The description is dense but front-loaded: it establishes the dataset and scope first, then filtering, then the critical US-index caveat, then the intended workflow. Every sentence carries operational value, and the parenthetical examples help without becoming excessive.

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?

Given the output schema and rich annotations, the remaining burden on the description is to explain scope, limitations, pagination, and when to use the tool. It does all of these, including the important caveat that US indices are not in the reference list and will not appear as empty results.

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 schema already explains page, symbol, country, exchange, mic_code, and outputsize in detail. The description reinforces filtering by country, exchange, or symbol and repeats the US-filter caveat, but it does not add much parameter-level meaning beyond what is already documented in the schema.

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 states a specific resource and scope: a Twelve Data reference list of supported market index symbols with exchange metadata, about 1,300 non-US indices. It names examples (N225, 000001, NSEI) and explicitly contrasts this with time_series and US index quoting, so an agent can identify the tool without opening the schema.

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 explicit usage guidance: 'Use to discover or validate index tickers before querying time_series.' It also states when the tool will not return rows for US indices and that a US filter produces a plan refusal rather than an empty list, effectively naming both the intended use and an exclusion.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.