Skip to main content
Glama

AgentStall: Africa and India data

India GSTIN validator: check a GST number and decode state and PAN

india_gstin_validate
Read-onlyIdempotent

GSTIN (India GST number) validation: checks the 15-character format and the check character, and decodes the state, the embedded PAN and the type of PAN holder (company, individual, firm, trust and others). Format check only, not a GST portal registration lookup; the number is not stored. Useful for invoices, vendor onboarding and KYB forms for Indian businesses, and for catching typos. Free here (20 calls per day).

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": "india_gstin_validate"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent and closed-world, and the description adds facts those annotations cannot express: it does not store the number, it is a format/checksum check rather than an authoritative registry query, and it is rate limited to 20 calls per day. Cost and quota disclosure is exactly the kind of behavioral context that prevents surprise failures.

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

Conciseness4/5

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

One dense paragraph that front-loads the core validation behavior, then scope limits, then use cases and quota — a sensible ordering with no filler sentences. It is on the long side for a one-parameter validator, but every clause carries information.

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?

For a single-parameter validator with no output schema, the description still tells the agent what comes back (format/checksum verdict plus decoded state, PAN and holder type) and what it does not do. Nothing needed to call it correctly or interpret the result is missing.

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

Parameters3/5

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

Schema coverage is 100% and the single parameter already documents the 15-character format with a worked example ('27AAPFU0939F1ZV'). The description restates the 15-character constraint but adds no new semantics about the input, so the baseline 3 for a fully documented schema applies.

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 and resource ('GSTIN validation: checks the 15-character format and the check character') and enumerates what it decodes (state, embedded PAN, holder type). It also draws a explicit boundary against a lookalike capability ('Format check only, not a GST portal registration lookup'), so an agent can place it precisely.

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 clear use contexts ('invoices, vendor onboarding and KYB forms for Indian businesses, and for catching typos') and rules out the portal-lookup reading. It stops short of naming an alternative tool to call when a real registration lookup is needed, so it is strong context rather than full when/when-not routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources