Skip to main content
Glama

Check market coverage

describe_market
Read-onlyIdempotent

Return one market's bar sizes and stored history, the bar sizes backtests run on, paper-bot bar sizes, trading modes, price sources and data notes. Pass a market id or alias such as BTC, SP500, NVDA or GOLD. Does not return prices or bars.

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": {
      "market": "<market>"
    },
    "name": "describe_market"
  }
}

Input Schema

NameRequiredDescriptionDefault
marketYesMarket id or alias from search_markets, such as BTC, SP500, NVDA or GOLD.

Output Schema

NameRequiredDescriptionDefault
heldYes
kindYes
nameYes
tierYes
groupYes
hoursYes
notesYes
marketYes
statusYes
aliasesYes
sourcesYes
bar_sizesYes
closing_onYes
cutover_atYes
last_closeYes
stopped_onYes
attributionYes
history_fromYes
max_leverageYes
trading_modesYes
paper_bar_sizesYes
backtest_bar_sizesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedOutput schema / properties / bar_sizes / items / properties / requires_pro
      Removed value: -{
      -  "type": "boolean"
      -}
    • changedOutput schema / properties / bar_sizes / items / required
      Previous value: -[
      -  "bar_size",
      -  "history_from",
      -  "last_close",
      -  "requires_pro"
      -]New value: +[
      +  "bar_size",
      +  "history_from",
      +  "last_close"
      +]
  2. Changed30 schema fields changed
    • addedInput schema / properties / market / description
      Added value: +"Market id or alias from search_markets, such as BTC, SP500, NVDA or GOLD."
    • removedOutput schema / properties / active
      Removed value: -{
      -  "type": "boolean"
      -}
    • addedOutput schema / properties / aliases
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / assetClass
      Removed value: -{
      -  "enum": [
      -    "crypto",
      -    "stock",
      -    "etf"
      -  ],
      -  "type": "string"
      -}
    • addedOutput schema / properties / attribution
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / availability
      Removed value: -{
      -  "items": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "availableFrom": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "availableTo": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "intervals": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "intervals",
      -      "availableFrom",
      -      "availableTo"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / availableFrom
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / availableTo
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • addedOutput schema / properties / backtest_bar_sizes
      Added value: +{
      +  "items": {
      +    "enum": [
      +      "1m",
      +      "5m",
      +      "15m",
      +      "30m",
      +      "1h",
      +      "2h",
      +      "4h",
      +      "6h",
      +      "12h",
      +      "1d",
      +      "1w"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / bar_sizes
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "bar_size": {
      +        "enum": [
      +          "1m",
      +          "5m",
      +          "15m",
      +          "30m",
      +          "1h",
      +          "2h",
      +          "4h",
      +          "6h",
      +          "12h",
      +          "1d",
      +          "1w"
      +        ],
      +        "type": "string"
      +      },
      +      "history_from": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "last_close": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "requires_pro": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "bar_size",
      +      "history_from",
      +      "last_close",
      +      "requires_pro"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / closing_on
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "date",
      +      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • removedOutput schema / properties / currency
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / cutover_at
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / exchange
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / group
      Added value: +{
      +  "enum": [
      +    "crypto",
      +    "index",
      +    "commodity",
      +    "stock"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / held
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "from": {
      +          "format": "date",
      +          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +          "type": "string"
      +        },
      +        "reason": {
      +          "enum": [
      +            "split",
      +            "ticker_change"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "from",
      +        "reason"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / history_from
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "date",
      +      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / hours
      Added value: +{
      +  "enum": [
      +    "24/7",
      +    "US market hours",
      +    "NYMEX trading days"
      +  ],
      +  "type": "string"
      +}
    • removedOutput schema / properties / intervals
      Removed value: -{
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • addedOutput schema / properties / kind
      Added value: +{
      +  "enum": [
      +    "crypto",
      +    "stock",
      +    "etf",
      +    "index",
      +    "commodity"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / last_close
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "date",
      +      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / max_leverage
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / paper_bar_sizes
      Added value: +{
      +  "items": {
      +    "enum": [
      +      "1m",
      +      "5m",
      +      "15m",
      +      "30m",
      +      "1h",
      +      "2h",
      +      "4h",
      +      "6h",
      +      "12h",
      +      "1d",
      +      "1w"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / sources
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "from": {
      +        "type": "number"
      +      },
      +      "proxy": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "ratio": {
      +                "type": "number"
      +              },
      +              "symbol": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "symbol",
      +              "ratio"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "source": {
      +        "enum": [
      +          "binance",
      +          "iex",
      +          "eia",
      +          "hyperliquid"
      +        ],
      +        "type": "string"
      +      },
      +      "to": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "from",
      +      "to",
      +      "proxy"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / status
      Added value: +{
      +  "enum": [
      +    "active",
      +    "live_only",
      +    "closing",
      +    "closed"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / stopped_on
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "date",
      +      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • removedOutput schema / properties / symbol
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / tier
      Added value: +{
      +  "enum": [
      +    "full",
      +    "history_only"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / trading_modes
      Added value: +{
      +  "items": {
      +    "enum": [
      +      "spot",
      +      "perpetual"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "market",
      -  "symbol",
      -  "name",
      -  "assetClass",
      -  "exchange",
      -  "currency",
      -  "active",
      -  "intervals",
      -  "availableFrom",
      -  "availableTo",
      -  "availability",
      -  "notes"
      -]New value: +[
      +  "market",
      +  "name",
      +  "group",
      +  "kind",
      +  "tier",
      +  "aliases",
      +  "hours",
      +  "status",
      +  "history_from",
      +  "bar_sizes",
      +  "paper_bar_sizes",
      +  "last_close",
      +  "closing_on",
      +  "stopped_on",
      +  "held",
      +  "backtest_bar_sizes",
      +  "trading_modes",
      +  "max_leverage",
      +  "cutover_at",
      +  "sources",
      +  "notes",
      +  "attribution"
      +]
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is fully covered. The description adds genuinely new behavioral context by enumerating the categories of metadata returned and explicitly stating it does NOT return prices or bars, preventing a wrong call. It says nothing about size or limits, which is a minor gap.

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 contents, then how to call it, then the negative scope statement. Every sentence carries distinct information and nothing is padded.

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?

An output schema exists so return shape needn't be explained, annotations cover safety semantics, and the one required parameter is fully documented in both schema and description. For a simple read-only single-arg lookup, nothing an agent needs in order to call it correctly 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?

With a single parameter at 100% schema description coverage, the schema already documents the market id and even the same alias examples (BTC, SP500, NVDA, GOLD). The description's sentence about aliases repeats rather than extends that, so the baseline 3 applies.

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?

"Return one market's bar sizes and stored history" pairs a specific verb with a single, enumerated resource, and the follow-on list (bar sizes, paper-bot bar sizes, trading modes, price sources, data notes) pins down exactly what metadata comes back. The phrase "one market's" implicitly separates it from search_markets, though no sibling is named explicitly, which keeps it below 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: the schema-facing sentence points at search_markets as the source of market ids, suggesting a lookup-then-describe workflow, and "Does not return prices or bars" rules out one wrong expectation. There is no explicit when-to-use/when-not statement against alternatives such as get_run_data or get_capabilities.

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.

Resources