Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as FreeDailyPro Tools. If you published it, claim ownership there.

validate_gstin

Read-onlyIdempotent

Validate and decode an Indian GSTIN. Checks the format, the state code, the embedded PAN and the check character. Returns the state, PAN, holder type and entity number. It does not check the registration on the GST portal. Nothing is stored.

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
gstinYesAn Indian GSTIN, 15 characters, for example 27AAPFU0939F1ZV.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / gstin / description
      Added value: +"An Indian GSTIN, 15 characters, for example 27AAPFU0939F1ZV."
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world behavior, so the safety profile is covered. The description adds genuine value beyond that by disclosing that validation is offline-only (no portal lookup) and that nothing is stored, plus the decoded output fields. It does not state the failure behavior for an invalid GSTIN, which keeps it short of a 5.

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?

Four short sentences, front-loaded with the purpose, followed by the checks, the return values, and the two limitations. Every sentence carries distinct information and none restates the name or annotations.

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 validator with no output schema, the description covers what is checked, what is returned, and the key privacy/scope caveats. The only gap is what the response looks like for an invalid input (error vs. negative result), a minor omission for a tool this simple.

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 schema already documents the 15-character format with an example, so the parameter is fully specified structurally. The description adds no additional semantics such as case sensitivity or whitespace handling, which is the expected baseline when the schema does the work.

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 ('Validate and decode an Indian GSTIN') and enumerates exactly what is checked: format, state code, embedded PAN, and check character. This clearly separates it from siblings like validate_pan or validate_gtin, which operate on different identifiers.

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 scope limit 'does not check the registration on the GST portal' tells the agent when this tool is insufficient, which is meaningful guidance. It does not explicitly route to an alternative (e.g., validate_pan for a bare PAN), but the usage context is clear enough for an agent holding a GSTIN.

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