Skip to main content
Glama
carlwestman

borsdata-mcp-server

by carlwestman

get_stock_prices

Retrieve historical end-of-day stock prices for one instrument, with optional from/to date filters to limit response size. Returns date, open, high, low, close, volume.

Instructions

Get historical end-of-day stock prices for one instrument. Up to 20 years of data. Returns date, open, high, low, close, volume. Use from/to date filters to limit the response size — without filters this returns the full history which can be very large.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoEnd date (YYYY-MM-DD)
fromNoStart date (YYYY-MM-DD). Recommended to always set this to avoid very large responses.
insIdYesInstrument ID
Behavior4/5

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

With no annotations provided, the description carries full responsibility. It discloses the maximum time range (20 years), the response fields, and the potential for very large payloads without filters. This is transparent about a key operational behavior, though it omits details like error handling or rate limits.

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 exceptionally concise: two sentences cover purpose, data fields, time range, and usage warning. Every sentence adds value, with the main action front-loaded.

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?

For a simple historical data retrieval tool, the description is complete: it specifies the data fields returned and the time horizon, and warns about response size. A minor gap is not explicitly stating whether the return is an array or single object, but the plural 'prices' and historical context imply a list.

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 100%, with all parameters (insId, from, to) already described. The description reinforces the 'from' recommendation and explains the consequence of omitting filters, but it does not add substantial meaning beyond the schema.

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's function: retrieving historical end-of-day stock prices for a single instrument. It specifies the data fields returned (date, OHLC, volume) and distinguishes itself from sibling tools like 'get_stock_prices_batch' (multi-instrument) and 'get_latest_prices' (non-historical).

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 explicit guidance on using from/to date filters to limit response size, and warns that omitting filters returns a very large full history. It does not explicitly mention when to use alternatives, though the 'one instrument' scope implies batch tools for multiple instruments.

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/carlwestman/borsdata-mcp-server'

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