Skip to main content
Glama

Polygon-io MCP Server

Official

get_aggs

Retrieve aggregated stock data for a specific ticker within a defined date range and custom time intervals, enabling detailed market analysis.

Instructions

List aggregate bars for a ticker over a given date range in custom time window sizes.

Input Schema

NameRequiredDescriptionDefault
adjustedNo
from_Yes
limitNo
multiplierYes
paramsNo
sortNo
tickerYes
timespanYes
toYes

Input Schema (JSON Schema)

{ "properties": { "adjusted": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Adjusted" }, "from_": { "anyOf": [ { "type": "string" }, { "type": "integer" }, { "format": "date-time", "type": "string" }, { "format": "date", "type": "string" } ], "title": "From" }, "limit": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Limit" }, "multiplier": { "title": "Multiplier", "type": "integer" }, "params": { "anyOf": [ { "type": "object" }, { "type": "null" } ], "default": null, "title": "Params" }, "sort": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Sort" }, "ticker": { "title": "Ticker", "type": "string" }, "timespan": { "title": "Timespan", "type": "string" }, "to": { "anyOf": [ { "type": "string" }, { "type": "integer" }, { "format": "date-time", "type": "string" }, { "format": "date", "type": "string" } ], "title": "To" } }, "required": [ "ticker", "multiplier", "timespan", "from_", "to" ], "title": "get_aggsArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/polygon-io/mcp_polygon'

If you have feedback or need assistance with the MCP directory API, please join our Discord server