Skip to main content
Glama

Parse Form 26AS (text export)

parse_form26as
Read-only

Parses the TRACES Form 26AS TEXT export into structured TDS and TCS entries, separating 206C rows and reporting totals plus creditable TDS deposited.

Instructions

Parse the caret-delimited Form 26AS TEXT export from TRACES into structured TDS entries (deductor, TAN, section, amounts, booking status) with totals, plus TCS rows (206C*) separated into tcsEntries. Reports creditableTdsDeposited (status F rows only) alongside the raw total. Download the 'Text' format from TRACES (the archive opens with your DOB as DDMMYYYY); PDF exports are not supported.

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": {
      "path": "<path>"
    },
    "name": "parse_form26as"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path to the 26AS .txt file downloaded from TRACES

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field 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"
  2. First observedv0.2.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint, but the description discloses the output shape (totals, TCS rows split into tcsEntries) and a non-obvious derivation rule: creditableTdsDeposited counts status F rows only and is reported alongside the raw total. It also flags the input failure mode (PDF unsupported) and the DOB-password unlock step, which annotations cannot convey.

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?

Three sentences, front-loaded with the core action and output, then derivation detail, then input caveats; no filler. The first sentence is dense with parenthetical field lists, which is slightly heavy but each item is informative.

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?

There is no output schema, so the description carries the return-value burden and does so: it names the entry fields, the totals, the TCS split, and the creditable-vs-raw distinction. Combined with the input-format caveat, an agent has everything needed to call it correctly and interpret the result.

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 coverage is 100% and the single path parameter is already documented, so the baseline would be 3. The description earns the extra point by constraining what the file must be — the TRACES Text export, not a PDF — which meaningfully narrows what a valid path points to.

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?

States a specific verb and resource ("Parse the caret-delimited Form 26AS TEXT export from TRACES") and names exactly what comes out (TDS entries with deductor, TAN, section, amounts, booking status, plus TCS rows). An agent can tell this apart from the AIS sibling purely from the document named, without opening the schema.

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?

Gives concrete preconditions: download the 'Text' format from TRACES, the archive opens with your DOB as DDMMYYYY, and PDF exports are not supported — a real exclusion that prevents a wrong call. It does not explicitly say when to prefer this over parse_ais or reconcile_documents, so routing between document parsers is left to inference.

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