Skip to main content
Glama

hs_search

Find HS 2022 six-digit codes from a product keyword. Paid via x402: $0.005 USDC on Base per call. This tool returns the ready-to-call URL; call it with an x402-capable HTTP client (e.g. @x402/fetch).

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": {
      "q": "<q>"
    },
    "name": "hs_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesProduct keyword(s) or HS prefix
limitNo1-25, default 10

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose the two most consequential traits: the call is paid ($0.005 USDC on Base per call) and the tool does not return codes directly but a ready-to-call URL requiring an x402 client. That indirection is highly non-obvious and well worth stating. It stops short of describing error behavior, failure/refund handling, or what the fetched URL ultimately yields.

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?

Three short sentences, none wasteful: purpose first, cost second, invocation mechanics third. Nothing repeats the schema or the title, and the most actionable constraint (returns a URL, needs an x402 client) is placed where an agent will see it before committing to a paid call.

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 two-parameter, annotation-free tool with no output schema, the description covers the critical gaps: payment model, cost, and the fact that the return value is a URL rather than results. It leaves unstated what the fetched payload contains and whether the initial call itself incurs the charge, which is a real residual gap given there is no output schema.

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 description coverage is 100%, so the schema already defines both parameters, making 3 the baseline. The description adds only the keyword angle and actually narrows the schema, which permits an 'HS prefix' for q — a capability the description omits entirely.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource pair: 'Find HS 2022 six-digit codes from a product keyword', naming the classification standard and code granularity. It does not explicitly contrast itself with siblings like duty or landed_cost, but the lookup-versus-calculate distinction is inferable from the resource named.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is implied by 'from a product keyword' and strengthened by the invocation instruction to use an x402-capable HTTP client such as @x402/fetch. It gives no explicit when-not guidance and does not name a sibling as an alternative for related tariff tasks, so it stops short of routing the agent definitively.

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