Skip to main content
Glama

List supported fiscal years

list_tax_years
Read-only

List fiscal years with available rule packs, then return Indian ITR filing deadlines, pass/remaining status by form, revised-return window, and next advance-tax instalment for a chosen date.

Instructions

List the fiscal years this server has rule packs for, with filing deadlines for the current assessment year and status: computed from today's date in India, which deadlines have passed, the days left, the phase per ITR form (on time, belated with the s.234F fee, or updated return only), the revised-return window, and the next advance tax instalment of the current financial year. Quote status instead of comparing dates yourself. statutes gives each year's Act and, for tax year 2026-27 under the Income-tax Act 2025, the map from the 1961 section numbers the notes cite.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_tax_years"
  }
}

Input Schema

NameRequiredDescriptionDefault
asOfNoDate to report the status for (YYYY-MM-DD). Defaults to today in India; pass it only to plan ahead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.7.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / asOf
      Added value: +{
      +  "description": "Date to report the status for (YYYY-MM-DD). Defaults to today in India; pass it only to plan ahead.",
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +  "type": "string"
      +}
  2. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish that this is a read-only, closed-world call, and the description goes further by disclosing that `status` is derived from today's date in India and itemizing what it encodes (passed deadlines, days left, per-ITR-form phase with the s.234F fee, revised-return window, next advance-tax instalment). The one gap is that it does not say what happens if a requested `asOf` predates the available rule packs.

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?

It is front-loaded with the purpose and wastes no preamble; every clause maps to a returned field, which is justified because no output schema exists. The sentences are long and heavily comma-stacked, slightly taxing to parse, but no sentence is expendable.

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 and only a read-only annotation, the description carries the full burden of explaining return values, and it does so thoroughly — field names, semantics, and the `statutes`/section-number mapping for tax year 2026-27. An agent can call this and interpret the response without further discovery.

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 coverage is 100% and the single `asOf` parameter is already fully described in the schema, including the 'defaults to today in India' and 'plan ahead' framing, so the description largely restates it. It adds no format or boundary detail beyond the schema, which is the baseline-3 case for a fully documented parameter.

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 opening clause gives a specific verb and resource: 'List the fiscal years this server has rule packs for.' It then enumerates exactly what each entry carries (deadlines, `status`, `statutes`), which makes it unmistakable versus the compute_* siblings that calculate rather than enumerate supported years.

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 an explicit behavioral instruction — 'Quote `status` instead of comparing dates yourself' — and scopes the only parameter ('pass it only to plan ahead'), which tells the agent when not to use it. It stops short of naming a sibling or stating an explicit call-order prerequisite (e.g. 'call before compute_tax'), so it is clear context rather than full when/when-not routing.

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