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
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.3/5 across 3 of 3 tools scored.
Each tool has a distinct purpose: classify_product maps a name to a code, lookup_hsn retrieves details for a code, and search_hsn finds codes via free text. No overlap in functionality.
All tool names follow the verb_noun pattern (classify_product, lookup_hsn, search_hsn) consistently, making the set easy to understand.
Three tools are well-scoped for the server's purpose of HSN classification and lookup, covering the main use cases without excess or deficiency.
The tool set covers the full workflow: classifying a product, looking up a code's details, and searching by keyword. No obvious gaps for the domain.
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?
With no annotations, the description carries full burden. It discloses the return structure, that it is best-effort, always returns a result, and that 'best' may be null. This provides good behavioral insights, though it could mention if the tool has any side effects or performance characteristics.
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 two sentences, each serving a clear purpose: stating the action and return shape, then adding a behavioral qualifier. No unnecessary words, and the key information is front-loaded.
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 (one parameter, no output schema, no annotations), the description fully covers what the tool does, how it behaves, and what it returns. It explains the return fields and the possibility of a null 'best'. No gaps identified.
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 parameter description including an example. The tool description does not add significant additional meaning beyond the schema, so a baseline score of 3 is appropriate.
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's action ('Classify a product name'), resource, method ('via keyword scoring'), and return shape. It distinguishes from siblings 'lookup_hsn' and 'search_hsn' by specifying the classification approach and that it returns a best-effort result with alternatives.
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 by stating it classifies product names into HSN codes, but it does not explicitly explain when to use this tool versus the sibling tools 'lookup_hsn' or 'search_hsn'. There is no guidance on prerequisites or exclusion criteria.
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?
Without annotations, the description fully discloses key behavioral traits: accepted code lengths (4,6,8-digit), truncation behavior for 8-digit codes, return fields ({code, description, gst_rate?}), and error handling (throws if no match). No contradictions.
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 covering purpose, input constraints, behavior, return, and errors. All information is front-loaded and essential, with no wasted words.
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 a single parameter, no output schema, and no annotations, the description provides complete context: purpose, input rules, return structure, and error condition. No gaps identified.
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 schema covers the parameter fully (100% coverage), but the description adds meaning beyond the schema by specifying accepted digit lengths and truncation behavior, which helps the agent understand input constraints.
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?
Description clearly states it looks up an HSN code, specifies the code length (4,6,8-digit), and mentions it's for Indian GST. It also indicates the return structure and error behavior, effectively distinguishing it from sibling tools like search_hsn and classify_product.
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 use when you have a specific HSN code to look up, but does not explicitly state when to use this tool versus alternatives (e.g., use search_hsn for partial matches or classify_product for product classification). No when-not guidance provided.
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 discloses ranking behavior, limit parameter (default 10, max 50), and that results are ranked. Does not mention handling of empty queries or no matches, but covers key behavioral aspects.
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?
Three sentences that each add value: purpose, parameter detail, and usage guideline. No unnecessary words or repetition. Front-loads the core action.
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?
Covers purpose, parameter behavior, and usage context well. However, lacks description of the return value structure (e.g., fields like code, description, relevance score) which is important since there is no output schema defining it.
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%, so baseline is 3. Description adds value by explaining the limit parameter's behavior (default, max, ranking) and the purpose of the query parameter (free-text). Exceeds baseline by providing context beyond schema.
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?
Clearly states 'Free-text keyword search across HSN descriptions' with specific verb (search) and resource (HSN descriptions). Includes a use case ('when you have a product name but not a code') that distinguishes it from sibling tools classify_product and lookup_hsn.
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?
Explicitly says 'Use this when you have a product name but not a code', providing clear context. Lacks explicit exclusion of alternative tools but the guidance is sufficient for typical usage.
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!