Skip to main content
Glama

Turkish funds: Daily price history

funds_getFundPrices
Read-onlyIdempotent

Daily price history

One fund's daily price, shares, investors and size between start and end (inclusive; default the 30 days up to its latest price; at most 1,830 days per request), oldest first, with meta.changePercent over the range. History since October 2021. Use for a fund's price history or its change over a period.

GET /v1/funds/{code}/prices on Turkish funds (SBX-FON). Costs 1 credit per call.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "code": "<code>"
    },
    "name": "funds_getFundPrices"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoYYYY-MM-DD. Default: the fund's latest price date.
codeYesA TEFAS fund code, e.g. AAL.
startNoYYYY-MM-DD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare this as a safe, read-only, idempotent read, and the description adds substantial non-structured context: default window of the last 30 days up to the latest price, a hard cap of 1,830 days per request, oldest-first ordering, meta.changePercent over the range, data availability only since October 2021, and a cost of 1 credit per call.

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 front-loaded with the resource and its contents, then the endpoint, then the use case and cost, with no filler sentences. Every clause adds operational information such as range limits, ordering, or history depth.

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?

With no output schema, the description supplies the return-shape information an agent needs (which fields come back, the meta.changePercent aggregate, and ordering), plus scope limits and cost. Nothing material is missing for a three-parameter read tool.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description goes further by explaining that start/end are inclusive, that end defaults to the fund's latest price date, and that the default window is the trailing 30 days. The one gap is that the 1,830-day cap is stated without saying what happens on violation (truncation vs. error).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('one fund's daily price, shares, investors and size between start and end') and states the endpoint GET /v1/funds/{code}/prices, so the agent knows exactly what is returned. It does not explicitly contrast itself with the nearest sibling funds_getFund, though the phrase 'Use for a fund's price history or its change over a period' effectively scopes it.

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?

It gives a clear when-to-use statement: 'Use for a fund's price history or its change over a period.' It does not name an alternative tool or state when not to use it, so routing against funds_getFund or fx_getCurrencyHistory is left to inference.

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.

Resources