Skip to main content
Glama
vishnu27597

Sandbox GSTR-1 MCP Server

by vishnu27597

save_gstr1_data

Upload GSTR-1 data to the GST portal for validation. Provide access token, GSTIN, return period, and full GSTR-1 payload; returns a reference ID to poll until completed.

Instructions

Upload GSTR-1 data to the GST portal for validation (Step 2).

After calling this tool, use check_return_status() with the returned reference_id to poll until the status is COMPLETED before proceeding.

Args: access_token: Taxpayer session token from generate_taxpayer_session() gstin: 15-digit GST Identification Number ret_period: Return period in MMYYYY format (e.g. "032026" for March 2026) gstr1_data: Complete GSTR-1 payload dict containing b2b, b2cl, b2cs, hsn, docs sections etc.

Returns: Dict with reference_id for status polling, or an error dict.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gstinYes
gstr1_dataYes
ret_periodYes
access_tokenYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral disclosure burden. It reveals the asynchronous polling pattern, the need to wait for COMPLETED status, and the return shape with reference_id. It could add more about failure modes or retry behavior, but it is substantially transparent.

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?

Purpose is front-loaded, followed by the critical polling instruction, then concise parameter definitions and return summary. Each sentence contributes necessary information without filler or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers workflow order, parameter semantics, and the asynchronous return contract, which is sufficient for correct invocation. Minor gaps remain around detailed error scenarios and explicit prerequisites beyond the token, but the provided output schema and sibling context reduce that burden.

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?

Schema description coverage is 0%, so the description must compensate, and it does. Every parameter is explained: access_token source, gstin format, ret_period format with example, and gstr1_data payload structure including key sections like b2b, b2cl, b2cs, hsn, and docs.

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 ('Upload'), resource ('GSTR-1 data'), destination ('GST portal'), and purpose ('for validation'), plus workflow position ('Step 2'). This clearly distinguishes it from sibling tools like file_gstr1 and get_gstr1_summary.

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?

Provides explicit next-step guidance: call check_return_status with the returned reference_id and poll until COMPLETED before proceeding. It does not explicitly name negative alternatives or when not to use this tool, but the workflow step and sequencing make usage clear.

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