Skip to main content
Glama
tally-compliance-mcp

tally-compliance-mcp

by Rihu20

build_gstr1

Build GSTR-1 JSON for a single month from Tally sales vouchers and return an error report for compliance review.

Instructions

Build GSTR-1 JSON (one month, e.g. '2025-10') from Tally sales vouchers, with an error report.

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": {
      "period": "<period>"
    },
    "name": "build_gstr1"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose two useful behaviors: it produces a JSON artifact, and it returns an error report alongside it, implying partial failures are surfaced rather than aborting silently. It says nothing about whether Tally data is modified, where the JSON is written, or what happens when vouchers contain invalid GSTINs or HSN codes, which is the gap that matters for a build tool.

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?

A single sentence that front-loads the artifact, then the source, then the period constraint, then the error-report behavior. No filler and nothing repeated from the schema.

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

Completeness3/5

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

For a one-parameter generator with no output schema and no annotations, the description covers the what and the input format but not the operating context: Tally connectivity, output destination, and how the error report relates to the JSON (is the JSON still produced when errors exist?). Those are the details an agent would need before committing to a call.

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?

The schema has 0% description coverage on a lone 'period' string, so the description has to compensate, and it does: it pins the value to exactly one month and gives the concrete 'YYYY-MM' example '2025-10'. That removes the main ambiguity (month vs. quarter vs. fiscal year). It does not state whether an out-of-range or future period is rejected.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Build GSTR-1 JSON') plus the data source ('Tally sales vouchers') and the deliverable ('error report'). That verb/resource pair is enough to separate this from the check_* and reconcile_2b siblings, which only validate rather than generate. It stops short of a named contrast with any sibling, so a 4 rather than a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: bring a single month to generate a return file. The description gives no prerequisites (e.g. is a live Tally connection required, must the period fall in the open fiscal year?) and no when-not-to-use guidance or routing to the related check_* tools. An agent could reasonably call it and fail for reasons the description never warned about.

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