Skip to main content
Glama
vishnu27597

Sandbox GSTR-1 MCP Server

by vishnu27597

get_gstr1_summary

Retrieve GSTR-1 summary with section details and checksum, supplying the values needed for filing.

Instructions

Retrieve the GSTR-1 summary including sec_sum and chksum needed for filing (Step 5).

The sec_sum and chksum values returned here must be passed directly to file_gstr1().

Args: access_token: Taxpayer session token gstin: 15-digit GST Identification Number ret_period: Return period in MMYYYY format summary_type: "long" for full section detail (default), "short" for totals only

Returns: Dict with sec_sum array and chksum string, or an error dict.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gstinYes
ret_periodYes
access_tokenYes
summary_typeNolong

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden. 'Retrieve' and 'needed for filing' clearly indicate a read-only preparation step rather than a filing action. The return contract (sec_sum array, chksum string, or error dict) is disclosed, which is sufficient for an agent to understand what will happen.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact, well-organized with Args/Returns sections, and front-loads the purpose. Every sentence contributes necessary information, and there is no redundancy with the schema.

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?

All four parameters are semantically defined, the return values are described, the downstream usage is stated, and an output schema is available. For a retrieval tool with no annotations, the description covers everything an agent needs to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Despite 0% schema description coverage, the description fully explains every parameter: access_token as the taxpayer session token, gstin as a 15-digit GSTIN, ret_period in MMYYYY format, and summary_type with 'long'/'short' semantics and a default. This adds meaning far beyond the bare property names in the 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 clearly states the specific action: retrieving the GSTR-1 summary with sec_sum and chksum for filing Step 5. It names exact data elements and the downstream consumer, making the tool's role in the workflow unambiguous. It is easily distinguished from siblings like file_gstr1 and check_return_status.

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 explicitly tells the agent that the returned sec_sum and chksum must be passed directly to file_gstr1(), which is strong contextual usage guidance. It does not explicitly contrast this with alternatives like check_return_status, but the workflow positioning is clear enough for an agent to select it appropriately.

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