get_category_stats
Get median and average for all metrics across all funds in a SEBI category.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | SEBI fund category name |
Get median and average for all metrics across all funds in a SEBI category.
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | SEBI fund category name |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It discloses that the tool aggregates across all funds in a category and computes median and average for all metrics, which is useful behavioral context. However, it says nothing about edge cases (e.g., invalid category, missing data, output structure), leaving some transparency gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no wasted words. It states exactly what the tool does and the scope of its operation in an efficient manner.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's low complexity (one parameter), the description is reasonably complete: it names the input (SEBI category) and the output computation (median and average across all funds/metrics). No output schema exists, so the description reasonably omits return type details.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%: the only parameter 'category' is described as a SEBI fund category name. The description reinforces that the category is SEBI-based but adds no further syntax or format details. Baseline 3 is appropriate because the schema already documents the parameter adequately.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Get') and names a precise resource: median and average for all metrics across all funds in a SEBI category. This clearly distinguishes it from sibling tools like get_metrics (single fund) and list_funds_in_category (listing, not stats).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is given on when to use this tool versus alternatives. It does not mention that this is the aggregate/category-level counterpart to fund-level metric tools, nor does it state any exclusions or recommended context. The usage is only implied by the description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.
Tools are mostly distinct, with clear prefixes (gift, nps, sif) separating fund types. Some overlap exists among metrics/returns tools, but descriptions clarify their specific scope. Overall, an agent can differentiate tools without much ambiguity.
All tools follow a consistent snake_case verb_noun pattern (e.g., get_fund, list_categories, screen_funds). Verbs are standardized (get, list, search, compare, find, screen), making the API predictable and easy to navigate.
At 28 tools, the set exceeds the 'too many' threshold. While the domain covers multiple fund types, the count is excessive; several tools (e.g., get_metrics, get_gift_metrics, get_nps_metrics) could be consolidated with parameters. This may overwhelm agents.
The tool surface is comprehensive for a read-only mutual fund data server. It covers search, comparison, screening, NAV history, holdings, quantitative metrics, benchmarks, and specialized segments (GIFT, NPS, SIF). No critical gaps were identified.