Skip to main content
Glama
India Stack MCP
by PriyuK

Validate GSTIN

validate_gstin

Checks a 15-character Indian GSTIN offline for format, state code, embedded PAN, and checksum; it does not confirm active registration.

Instructions

Check an Indian GST number offline: format, state code, embedded PAN and checksum. Does not confirm the registration is active.

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": {
      "gstin": "<gstin>"
    },
    "name": "validate_gstin"
  }
}

Input Schema

NameRequiredDescriptionDefault
gstinYes15-character GSTIN, e.g. 27AAPFU0939F1ZV

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does meaningful work: 'offline' signals no network call, no external dependency, and no rate-limit exposure, and the explicit negative about registration status prevents over-trusting a pass. It does not describe the shape of the result (pass/fail plus reasons), which is a remaining gap given there is no output schema.

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?

Two sentences, front-loaded with the capability and closed with the critical limitation. No filler, redundant naming, or restatement of the title.

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 single-parameter offline validator, the description plus the well-documented schema cover what an agent needs in order to call it correctly and to interpret the outcome honestly. The only shortfall is that no output schema exists and the description does not say what a result looks like.

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 includes a correctly formatted example, so the baseline is already satisfied. The description adds meaning beyond the schema by defining what the validation actually checks—state code and embedded PAN in particular—which tells the agent how to interpret a failure.

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 ('Check') and a precise resource ('Indian GST number'), then enumerates exactly what is verified: format, state code, embedded PAN, checksum. The resource alone separates it from validate_pan and validate_upi_id without opening any 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 a clear usage boundary with 'Does not confirm the registration is active,' which tells the agent this is a structural check, not a status lookup. It stops short of naming an alternative tool for the active-status case, so it earns a 4 rather than a 5.

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