Skip to main content
Glama

Daily Open Close

daily_open_close
Read-onlyIdempotent

Fetch official open, high, low, close, volume, and after-hours/pre-market prices for a US stock ticker on a specific date (YYYY-MM-DD) from Massive (formerly Polygon.io).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYes
tickerYes
adjustedNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
lowNoLow price
fromNoDate of data
highNoHigh price
openNoOpening price
closeNoClosing price
statusNoAPI response status
symbolNoTicker symbol
volumeNoTrading volume
preMarketNoPre-market price
afterHoursNoAfter-hours price

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "date": "2024-01-15",
      +    "ticker": "AAPL"
      +  },
      +  {
      +    "adjusted": true,
      +    "date": "2024-01-15",
      +    "ticker": "MSFT"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "afterHours": {
      +      "description": "After-hours price",
      +      "type": "number"
      +    },
      +    "close": {
      +      "description": "Closing price",
      +      "type": "number"
      +    },
      +    "from": {
      +      "description": "Date of data",
      +      "type": "string"
      +    },
      +    "high": {
      +      "description": "High price",
      +      "type": "number"
      +    },
      +    "low": {
      +      "description": "Low price",
      +      "type": "number"
      +    },
      +    "open": {
      +      "description": "Opening price",
      +      "type": "number"
      +    },
      +    "preMarket": {
      +      "description": "Pre-market price",
      +      "type": "number"
      +    },
      +    "status": {
      +      "description": "API response status",
      +      "type": "string"
      +    },
      +    "symbol": {
      +      "description": "Ticker symbol",
      +      "type": "string"
      +    },
      +    "volume": {
      +      "description": "Trading volume",
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, and non-destructive behavior. The description adds context about the data source (Massive/Polygon.io) and the inclusion of after-hours/pre-market prices, which helps the agent understand the tool's scope without contradicting 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?

The description is a single, well-structured sentence that is concise and front-loaded. It includes essential details without any fluff or 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?

The tool is relatively simple, and the output schema covers return values. The description adequately covers the core purpose and data scope, but it omits the adjusted parameter and any guidance on alternatives, so it is not fully complete.

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?

Schema coverage is 0%, so the description must compensate. It explains the date format (YYYY-MM-DD) and specifies that the ticker is for US stocks, but it does not explain the 'adjusted' parameter, leaving an important gap for agents deciding how to use optional parameters.

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 tool fetches official open, high, low, close, volume, and after-hours/pre-market prices for a US stock ticker on a specific date. This distinguishes it from sibling tools like previous_close or aggregates, which serve different data needs.

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 description provides clear context for when to use the tool: when daily official OHLCV data including after-hours/pre-market for a single ticker and date is needed. It does not explicitly name alternatives, but the specificity implies the appropriate use case.

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.