Skip to main content
Glama

Neiss Product Codes

neiss_product_codes
Read-onlyIdempotent

Look up CPSC NEISS product/activity codes by keyword, e.g. "pool", "ATV", "trampoline", use this to find the exact product_code to pass to neiss_injuries, or just to see how CPSC categorizes a product. Entirely local (the fixed ~800-code NEISS coding-manual list); no live call.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "stairs"
    },
    "name": "neiss_product_codes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax matches, 1-100 (default 25).
queryYesKeyword to match against NEISS product titles, case-insensitive substring.

Output Schema

NameRequiredDescriptionDefault
codesNo
foundYes
returnedNo
total_matchedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: the dataset is a fixed ~800-code coding-manual list, the tool is entirely local, and there is no live network call, implying determinism and no latency or rate-limit concerns. Minor tension: openWorldHint=true sits oddly with 'entirely local... no live call', though the remaining hints (readOnly, idempotent, non-destructive) are consistent with the description.

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?

Everything is in one packed sentence with no filler, and the core lookup verb is front-loaded. The run of clauses ('use this to..., or just to see..., Entirely local...; no live call') makes it slightly sprawling, but nothing is redundant.

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 simple two-parameter lookup with an output schema, the description covers purpose, locality, and downstream usage adequately. It omits edge-case behavior such as what an empty match set means or whether results are ranked, which would round it out.

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

Parameters4/5

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

Schema coverage is 100%, so both parameters are already documented, making 3 the baseline. The description nonetheless adds practical value by giving example keywords ('pool', 'ATV', 'trampoline') that show the granularity of terms that match against product titles, going slightly beyond the schema's generic substring rule.

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 ('Look up CPSC NEISS product/activity codes by keyword') and scopes it to keyword search over product titles. It also differentiates itself from the sibling neiss_injuries by framing itself as the code-resolution step that feeds that tool.

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

Usage Guidelines5/5

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

Gives two explicit use cases: resolving a product_code to pass to neiss_injuries, or simply exploring how CPSC categorizes a product. It names the downstream consumer, so the agent can route between this tool and neiss_injuries without guessing.

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.