Skip to main content
Glama

get_fund_price

Read-only

Retrieve the current NAV and recent performance return for a TEFAS-traded investment fund by fund code or name, with an optional lookback period of up to 28 days.

Instructions

TEFAS'ta işlem gören bir yatırım fonunun (YAT/EMK...) güncel fiyatını (NAV) ve son dönem getirisini döndürür. Örn: GAF (Girişim), ABA (Aksiyo), fon kodu veya fon adı girilebilir.

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": {
      "fundCode": "<fundCode>"
    },
    "name": "get_fund_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoGeriye dönük kaç gün gösterilsin (TEFAS istek başına en fazla 28 gün). Varsayılan 28.
fundCodeYesFon kodu veya fon adı (örn. 'GAF', 'ABA', 'üniversite'...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety and external-data profile is covered. The description adds that the response includes both current NAV and recent-period return, which is useful, but says nothing about failure behavior for unknown fund codes or the TEFAS 28-day request cap beyond what the schema states.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences: the first front-loads what is returned, the second supplies identifier examples. Slight redundancy with the schema's example list is the only waste.

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?

There is no output schema, and the description compensates by naming the two returned values (NAV and recent-period return). Combined with annotations covering the read-only profile and the fully documented input schema, an agent has nearly everything needed; the only gap is the absence of error or not-found guidance.

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 description coverage is 100%, so both parameters are already documented, including the 7-28 day range and default. The description's fund-code examples largely duplicate the schema's own examples ('GAF', 'ABA'), adding little new meaning; a baseline 3 is appropriate.

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: it returns the current NAV price and recent-period return of an investment fund traded on TEFAS, and gives concrete fund examples (GAF, ABA). This implicitly separates it from the stock, crypto, and FX price siblings by asset class, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: the agent can infer it applies to TEFAS investment funds (YAT/EMK) rather than other instruments, and the examples clarify accepted identifiers. There is no explicit statement of when to prefer this over another price tool, nor any exclusions or prerequisite conditions.

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