Skip to main content
Glama

get_fund_price

Fetch the current NAV and recent return for a TEFAS-traded investment fund using its code or name, with an optional lookback period.

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.

Input Schema

TableJSON 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

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses what is returned (current price and recent return), but says nothing about rate limits, authentication, error behavior, or the TEFAS 28-day request constraint mentioned only in the schema. For a no-annotation tool this is a significant gap.

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 that front-load the core purpose (returns NAV and recent return) before giving input examples. No wasted filler.

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

Completeness3/5

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

With no output schema or annotations, the description covers the input side and the headline outputs (price + return), but it does not clarify the return shape (single value vs. time series implied by the days parameter) or the period semantics. Adequate but leaves ambiguity for a tool with a configurable date window.

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 the schema already documents both parameters (fundCode accepts code or name, days is 7-28). The description's examples (GAF, ABA) reinforce the fundCode flexibility but add little beyond what the schema states, making the baseline 3 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?

States a specific verb (returns) and resource (current NAV price and recent period return of a TEFAS-traded investment fund). The TEFAS/fund scope naturally distinguishes it from siblings like get_bist_price, get_crypto_price, and get_altin_gram_price, though it never names an alternative. Clear but lacks explicit sibling differentiation.

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 implied by the resource scope ('TEFAS'ta işlem gören bir yatırım fonu'), and examples of acceptable inputs (GAF, ABA, fund code or name) are given. However, there is no explicit when-to-use or when-not-to-use guidance relative to sibling price tools.

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