Skip to main content
Glama
polygon-io

Massive.com MCP Server

call_api

Read-only

Fetch data from a Massive.com REST API endpoint and optionally store results as a table for SQL querying or apply built-in functions for post-processing.

Instructions

Fetch data from a Massive.com REST API endpoint. Use a path from search_endpoints results. Set store_as to save results as an in-memory table for SQL querying with query_data. Paginated responses include a next-page hint with the exact path and params for the follow-up request. The apply parameter runs built-in functions on results — string input values refer to table columns, numeric values are literals. Use search_endpoints with scope="functions" to discover available functions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAPI endpoint path (e.g., /v2/aggs/ticker/AAPL/range/1/day/2024-01-01/2024-01-31)
applyNoList of function steps to post-process results. Each step: {"function": "name", "inputs": {...}, "output": "col_name"}
paramsNoQuery parameters as key-value pairs
api_keyNoAPI key for this request. Overrides the server's default key.
store_asNoTable name to store results as a DataFrame for SQL querying (e.g. 'prices')

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations indicate readOnlyHint=true, and the description adds that it is a fetch operation, paginated responses include next-page hints, and the apply parameter runs built-in functions. No contradictions; adds significant behavioral context beyond annotations.

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 sentences cover purpose, usage, parameters, and integration. No redundant words; front-loaded with the core action.

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 5 parameters and an output schema, the description addresses all key aspects: endpoint discovery, storage, pagination, function application, and parameter usage. No gaps.

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

Parameters5/5

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

Despite 100% schema coverage, the description adds meaning: path comes from search_endpoints, store_as creates a DataFrame for SQL, apply functions with inputs/outputs, params as query parameters, and api_key override. Each parameter's intent is clarified.

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 clearly states it fetches data from a Massive.com REST API endpoint, mentions using a path from search_endpoints, and distinguishes from sibling tools by referencing query_data and search_endpoints.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly instructs to use a path from search_endpoints, describes store_as for SQL querying with query_data, and explains pagination. Could be more explicit about when not to use, but provides strong contextual guidance.

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

Install Server

Other Tools

Latest Blog Posts

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_massive'

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