Skip to main content
Glama

Grouped Daily

grouped_daily
Read-onlyIdempotent

Fetch OHLCV bars for all US stocks on a given date (YYYY-MM-DD) from Massive (formerly Polygon.io) in a single call; useful for market-wide snapshot or screening.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYes
adjustedNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoNumber of results
statusNoAPI response status
resultsNoDaily data for all tickers
field_legendNoLegend for the single-letter OHLC bar keys (o/h/l/c/v/vw/n/t).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / field_legend
      Added value: +{
      +  "description": "Legend for the single-letter OHLC bar keys (o/h/l/c/v/vw/n/t).",
      +  "type": "object"
      +}
    • addedOutput schema / properties / results / items / properties / date
      Added value: +{
      +  "description": "Bar start as an ISO 8601 timestamp (derived from `t`).",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "date": "2024-01-15"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "count": {
      +      "description": "Number of results",
      +      "type": "number"
      +    },
      +    "results": {
      +      "description": "Daily data for all tickers",
      +      "items": {
      +        "properties": {
      +          "T": {
      +            "description": "Ticker symbol",
      +            "type": "string"
      +          },
      +          "c": {
      +            "description": "Close price",
      +            "type": "number"
      +          },
      +          "h": {
      +            "description": "High price",
      +            "type": "number"
      +          },
      +          "l": {
      +            "description": "Low price",
      +            "type": "number"
      +          },
      +          "n": {
      +            "description": "Number of transactions",
      +            "type": "number"
      +          },
      +          "o": {
      +            "description": "Open price",
      +            "type": "number"
      +          },
      +          "t": {
      +            "description": "Timestamp",
      +            "type": "number"
      +          },
      +          "v": {
      +            "description": "Volume",
      +            "type": "number"
      +          },
      +          "vw": {
      +            "description": "Volume weighted average",
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "status": {
      +      "description": "API response status",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description adds useful operational context beyond those: it fetches all US stocks in one call, requires a date, and sources data from Massive/Polygon.io. It does not mention potential response size or rate limits, but the output schema and annotations cover the main safety and return expectations.

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 a single, well-structured sentence that front-loads the action and resource, then adds the parameter format and a use case. Every clause contributes value with no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the output schema, annotations, and modest two-parameter surface, the description adequately covers the tool's purpose, universe, and date format. The only notable omission is the adjusted parameter semantics, but the overall context is sufficient for an agent to select and invoke this read-only bulk data tool.

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?

With 0% schema description coverage, the description must compensate for parameter explanations. It does document the date format (YYYY-MM-DD), but the 'adjusted' boolean parameter is never mentioned or explained, leaving a meaningful gap in usability.

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 the action (Fetch OHLCV bars), resource (all US stocks on a given date from Massive/Polygon.io), and format (YYYY-MM-DD). It distinguishes itself from sibling tools like aggregates or daily_open_close by emphasizing the market-wide, single-call nature.

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?

The phrase 'useful for market-wide snapshot or screening' provides clear context for when to choose this tool. It does not explicitly name alternatives or state when not to use it, but the market-wide scope strongly implies a contrast with single-ticker endpoints.

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.