Skip to main content
Glama
vishnu27597

Sandbox GSTR-1 MCP Server

by vishnu27597

generate_taxpayer_session

Generate a 6-hour taxpayer access token to securely authenticate GSTR-1 filing. Pass this token to all subsequent GSTR-1 API calls.

Instructions

Generate a taxpayer session (access token) valid for 6 hours.

This is Step 1 of the GSTR-1 filing workflow. The returned access_token must be passed to all subsequent tool calls.

Args: gstin: 15-digit GST Identification Number (e.g. "29AAACQ3770E000") username: GST portal username of the taxpayer

Returns: Dict with access_token and session metadata, or an error dict.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gstinYes
usernameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the behavioral disclosure burden. It discloses the token's 6-hour validity and the need to propagate it, and mentions an error return. However, it does not explain side effects, authentication prerequisites beyond the two params, or any security/rate-limit considerations.

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 concise and well-structured: a one-line purpose with token validity, workflow placement, propagation instruction, then clear Args and Returns sections. Every sentence earns its place with no filler or redundancy.

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?

For a 2-parameter tool with an output schema, the description covers purpose, workflow position, required downstream usage, parameter meanings, and return contents. It could be improved with explicit prerequisites or error/retry context, but overall it is sufficient for correct invocation within the workflow.

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 fully compensate. It does: gstin is explained as a 15-digit GSTIN with an example, and username is identified as the GST portal username. This adds meaningful format and domain context absent from the input 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 states a specific action and resource: generate a taxpayer session/access token, valid for 6 hours. It is clearly distinguishable from sibling workflow tools like generate_evc_otp and file_gstr1, and identifies itself as the first authentication step in the GSTR-1 workflow.

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 clearly positions the tool as Step 1 of the GSTR-1 filing workflow and instructs that the returned access_token must be passed to all subsequent tool calls. This communicates when to use it, though it does not explicitly call out alternatives or when not to use it.

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