Skip to main content
Glama

India Mutual Fund NAV History

mfapi.nav.history
Read-onlyIdempotent

Get historical Net Asset Value (NAV) records for an India mutual fund scheme, most recent first. Returns daily NAV values in Indian Rupees (INR) with dates. Some schemes have 20+ years of history. Useful for performance analysis, CAGR calculations, SIP return modelling, and trend visualization. Limit parameter controls how many records are returned (default 100, max 1000). Use mfapi.schemes.search to find the scheme_code for a fund by name. Data source: MFAPI (api.mfapi.in), MIT license, no authentication required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of historical NAV records to return, most recent first (1–1000, default 100)
scheme_codeYesAMFI scheme code (integer). Use mfapi.scheme_search to find the code for a fund.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so the description correctly avoids repeating those. It adds valuable context: data source (MFAPI), license (MIT), no authentication required, the existence of 20+ years of history, and the fact that returns are in INR with dates. This enriches the agent's understanding beyond the structured annotations without contradicting them.

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?

The description is well-structured and front-loaded with the primary action. It packs multiple relevant details (ordering, currency, history depth, limit behavior, lookup strategy, source/license/auth) into a compact set of sentences without excessive verbosity. Slight redundancy with the schema (limit defaults) is minor and does not detract from readability.

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?

The description covers all essential information an agent needs: what is returned (daily NAV, INR, dates), ordering, limit semantics, how to find the required scheme_code, data source and licensing, and clear use cases. The presence of an output schema removes the need to describe return structure. No significant gaps remain for correct invocation.

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 description coverage is 100%, so both parameters are already documented. The description adds practical semantics by explaining the limit parameter's default and max (redundant but reinforcing) and telling the agent where to obtain scheme_code (via mfapi.schemes.search). This helps disambiguate the required parameter beyond the raw 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 states a specific verb ('Get') and resource ('historical Net Asset Value (NAV) records for an India mutual fund scheme') with clear ordering ('most recent first'). It implicitly differentiates from the sibling mfapi.nav.latest by focusing on history, and explicitly routes to mfapi.schemes.search for scheme_code lookup. This gives an agent a precise understanding of what the tool does.

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 usage context by listing intended analytical use cases ('performance analysis, CAGR calculations, SIP return modelling, trend visualization') and instructs the agent to use mfapi.schemes.search to find the required scheme_code. However, it does not explicitly contrast with the sibling mfapi.nav.latest for when to use history vs. current NAV, leaving that distinction implicit.

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.