Skip to main content
Glama

Price history + latest frame for a market across a time window

kellian_get_market_chart
Read-onlyIdempotent

Get price history + latest for a market. Window defaults to ALL; supports 1H, 1D, 1W.

Examples: Read the 1D price history for a market

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": "kellian_get_market_chart"
  }
}

Input Schema

NameRequiredDescriptionDefault
windowNo
addressNo
chainIdNo
questionNoInstead of address: a covered question, mirrored or not, by its slug or its Kellian or Polymarket link.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / question
      Added value: +{
      +  "description": "Instead of address: a covered question, mirrored or not, by its slug or its Kellian or Polymarket link.",
      +  "maxLength": 2048,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "address"
      -]
    • removedOutput schema / $defs / AgentMarketChartResponse
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "latest": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/McpMarketPricePoint"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "meta": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "pointCount": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "pricingTimestampMs": {
      -          "anyOf": [
      -            {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "snapshotUpdatedAtMs": {
      -          "anyOf": [
      -            {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        }
      -      },
      -      "required": [
      -        "pointCount",
      -        "snapshotUpdatedAtMs",
      -        "pricingTimestampMs"
      -      ],
      -      "type": "object"
      -    },
      -    "series": {
      -      "items": {
      -        "$ref": "#/$defs/McpMarketPricePoint"
      -      },
      -      "type": "array"
      -    },
      -    "window": {
      -      "enum": [
      -        "1H",
      -        "1D",
      -        "1W",
      -        "ALL"
      -      ],
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "series",
      -    "latest",
      -    "window",
      -    "meta"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / properties / result / $ref
      Removed value: -"#/$defs/AgentMarketChartResponse"
    • addedOutput schema / properties / result / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "latest": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/McpMarketPricePoint"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "meta": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "pointCount": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "pricingTimestampMs": {
      +            "anyOf": [
      +              {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "snapshotUpdatedAtMs": {
      +            "anyOf": [
      +              {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          }
      +        },
      +        "required": [
      +          "pointCount",
      +          "snapshotUpdatedAtMs",
      +          "pricingTimestampMs"
      +        ],
      +        "type": "object"
      +      },
      +      "series": {
      +        "items": {
      +          "$ref": "#/$defs/McpMarketPricePoint"
      +        },
      +        "type": "array"
      +      },
      +      "window": {
      +        "enum": [
      +          "1H",
      +          "1D",
      +          "1W",
      +          "ALL"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "series",
      +      "latest",
      +      "window",
      +      "meta"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "series": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "conditionId": {
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "label": {
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "points": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "price": {
      +                    "maximum": 1,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "timestamp": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": -9007199254740991,
      +                    "type": "integer"
      +                  }
      +                },
      +                "required": [
      +                  "timestamp",
      +                  "price"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "conditionId",
      +            "label",
      +            "points"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 4,
      +        "type": "array"
      +      },
      +      "window": {
      +        "enum": [
      +          "1H",
      +          "1D",
      +          "1W",
      +          "ALL"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "window",
      +      "series"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered and the description only needs to add operational detail. It contributes the default-window behavior, which is useful, but says nothing about granularity of the history, ordering, or how the "latest frame" relates to the series. An output schema exists, so the return shape itself need not be explained.

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?

The definition is short and front-loads the core purpose, which is good. The trailing example ("Read the 1D price history for a market") restates what the previous sentence already said and adds no new information, so not every sentence earns its place.

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?

This is a four-parameter, zero-required-parameter tool where the central question — how does the agent identify the market (address + chainId, or question by slug/link) — is entirely unanswered. The window behavior is covered and the output schema handles return values, but for a tool where every parameter is optional, the missing identification guidance is a real usability gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 25% — only `question` is documented in the schema, while `window`, `address`, and `chainId` are bare. The description clarifies `window` by naming the supported values and the ALL default, which is real added meaning, but it says nothing about how `address` and `chainId` combine to identify a market or how they interact with `question`. With three of four parameters undocumented in both places, the gap is significant.

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 gives a specific verb and resource ("Get price history + latest for a market") and implicitly separates this from metadata tools like kellian_get_market or kellian_get_market_state. It never names a sibling explicitly, so the differentiation is left to inference, but an agent can tell this is the time-series tool.

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?

"Window defaults to ALL; supports 1H, 1D, 1W" tells the agent what the time-window options mean in practice, which is genuine usage context. There is no statement of when to choose this over kellian_get_market_state, kellian_get_market_trades, or kellian_get_perp_index_bars, and no prerequisites or exclusions are given.

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