HSN Classifier
Server Details
Look up Indian HSN and GST codes by description or product name (4,676 entries).
- Status
- Unhealthy
- Last Tested
- Transport
- Streamable HTTP
- URL
- Repository
- guptaprakhariitr/hsn-classifier-mcp
- GitHub Stars
- 0
- Server Listing
- hsn-classifier-mcp
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 4/5 across 3 of 3 tools scored.
Each tool has a distinct input and output: classify_product takes a product name and returns HSN codes; lookup_hsn takes an HSN code and returns description; search_hsn takes keywords and returns matching HSN descriptions. There is no overlap in purpose.
All tool names follow a consistent verb_noun pattern: classify_product, lookup_hsn, search_hsn. The verbs are distinct (classify, lookup, search) and the nouns correspond to the entity (product, hsn).
Three tools is appropriate for a specialized HSN classifier server. It covers the essential operations: classifying a product, looking up a code, and searching by keyword. Not too many or too few.
The tool set covers the main use cases (classify, lookup, search) but could benefit from a tool to list all HSN sections or chapters for hierarchical browsing. However, for the stated purpose of product classification, it is largely complete.
Available Tools
3 toolsclassify_productAInspect
Classify a product name into the most likely HSN code via keyword scoring. Returns {best, alternatives[], query, matched_tokens[]}. Best-effort: always returns a result (best may be null if nothing matched).
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Product / service name, e.g. 'cotton t-shirt' or 'pre-paid SIM card'. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so the description carries full burden. It discloses the return structure ({best, alternatives[], query, matched_tokens[]}) and the fallback behavior (best may be null). It does not mention side effects or error conditions, but for a classification tool this is adequate.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with purpose and return structure, no redundant information. Every word serves a purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter tool without output schema, the description covers purpose, return structure, and edge case behavior. Missing explicit comparison with sibling tools and error handling, but overall complete enough.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with a clear description of the 'name' parameter. The description adds context about classification into HSN codes, but does not provide additional value beyond what the schema already conveys.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb (classify), resource (product name into HSN code), and method (keyword scoring). It distinguishes from sibling tools (lookup_hsn and search_hsn) by focusing on classification of product names.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when a product name needs an HSN code, but it does not explicitly state when to use this tool over siblings or provide exclusions. The 'best-effort' note provides some behavioral guidance but not comparative.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
lookup_hsnAInspect
Look up an HSN code (Harmonized System Nomenclature, used by Indian GST). Accepts 4-digit, 6-digit, or 8-digit codes (8-digit gets truncated to 6 then 4). Returns {code, description, gst_rate?}. Throws if no match.
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | HSN code, e.g. '1006' (rice) or '300490' (other formulated medicaments). |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It discloses truncation (8-digit truncated to 6 then 4) and error behavior (throws if no match), which adds value beyond the schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two concise sentences that front-load purpose and include all key behaviors. No redundant information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema, the description lists return fields (code, description, gst_rate?) and covers error handling. For a single-parameter tool, this is thorough and includes edge cases (truncation, throwing).
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% (param already described in schema). The description provides an example ('code, e.g. '1006' (rice)') which adds meaning, but does not significantly expand on the schema's description. Baseline 3 with minor improvement.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool looks up an HSN code and specifies the valid digit lengths (4,6,8). It does not explicitly differentiate from sibling tools (classify_product, search_hsn), but the name and context imply direct lookup by code.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains acceptable input formats and truncation behavior but lacks explicit guidance on when to use this tool versus siblings (e.g., 'Use this to get details for a specific code, not to search or classify').
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_hsnAInspect
Free-text keyword search across HSN descriptions. Returns up to limit ranked matches (default 10, max 50). Use this when you have a product name but not a code.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max matches to return (1-50, default 10). | |
| query | Yes | Free-text query, e.g. 'basmati rice' or 'cement bricks'. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden for behavioral disclosures. It explains the return behavior (ranked matches with configurable limit), and mentions default/max values. However, it does not state that the tool is read-only or describe potential side effects, which are minimal for a search tool. The disclosure is adequate but not exhaustive.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is exceptionally concise with two front-loaded sentences: the first defines the action and behavior, the second provides usage guidance. No information is redundant or irrelevant.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (2 parameters, no output schema), the description adequately covers purpose and parameter behavior. However, it omits the structure of returned matches (e.g., whether HSN code and description are included). A brief note on output format would improve completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% coverage, with descriptions for both `query` and `limit`. The description reinforces the `limit` behavior and clarifies the search scope ('across HSN descriptions'), but adds limited semantic value beyond the schema. It does not introduce new parameter meaning.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool performs free-text keyword search across HSN descriptions, with specific details on result limits. It distinguishes itself from siblings by explicitly advising use when a product name (not code) is available, making purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides a clear 'when to use' directive: 'Use this when you have a product name but not a code.' This implies the alternative (lookup_hsn) for codes, but does not explicitly exclude other contexts or list alternative tool names. It is useful but lacks full coverage of when-not-to-use.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Servers
- Alicense-qualityBmaintenanceClassifies product descriptions to official HS codes and validates supplier-provided codes using government tariff schedules via the HSPing API.Last updated318MIT
- AlicenseAqualityDmaintenanceProvides tools to retrieve and validate Goods and Services Tax (GST) details using GST numbers, PAN cards, or company names. It enables users to check registration status, filing history, and business addresses directly through the GST Insights API.Last updated8MIT
- Alicense-qualityBmaintenanceValidates Indian GSTIN numbers with structural checks, embedded PAN extraction, state-code lookup, and mod-36 check character validation, all via local compute.Last updatedMIT
- AlicenseAqualityAmaintenanceAn offline-first MCP server for Indian financial, tax, and government APIs, providing tools for identity validation (PAN, Aadhaar, GSTIN), tax calculations (Income Tax, TDS, GST), and master data lookups (IFSC, Pincode, HSN/SAC) with zero authentication required.Last updated5832MIT
Your Connectors
Sign in to create a connector for this server.