Skip to main content
Glama

Neiss Injuries

neiss_injuries
Read-onlyIdempotent

National WEIGHTED estimate of consumer-product-related emergency-department injuries from CPSC's NEISS surveillance system, "how many people were injured by X", "ER visits from Y last year". Pass either an exact 4-digit product_code (see neiss_product_codes) or a free-text product name to resolve. Returns the national estimate (NOT a raw case count, NEISS samples ~100 hospitals and CPSC's own estimate is the sum of each sampled case's statistical weight) plus the underlying sample size. Estimates built from fewer than ~20 sampled cases are flagged unstable per CPSC convention and should not be quoted as precise. Optionally narrow by age_range. Covers emergency-department-treated injuries only, not deaths, hospitalizations elsewhere, or injuries that did not reach an ED.

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": {
      "year": 2024,
      "product_code": "1842"
    },
    "name": "neiss_injuries"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoA single calendar year, e.g. 2024. Default: the most recent year loaded (the response says which).
productNoFree-text product name instead of a code, e.g. "stairs", "swimming pools". Matched case-insensitively against NEISS product titles; ambiguous matches return candidates instead of a number.
to_yearNoEnd of a year range (inclusive). Requires from_year.
age_rangeNoPatient age bucket at time of injury. Default "all" (every age, including unknown).
from_yearNoStart of a year range instead of a single year (inclusive).
product_codeNoExact 4-digit CPSC NEISS product code, e.g. "1842". Leading zeros optional.

Output Schema

NameRequiredDescriptionDefault
foundYes
yearsNo
sourceNo
age_rangeNo
any_unstableNo
product_codeNo
product_titleNo
interpretationNo
total_sample_casesNo
total_estimated_injuriesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, open-world behavior, but the description adds genuinely non-obvious traits: the figure is a statistical-weight sum over ~100 sampled hospitals, not a raw case count, and estimates built from fewer than ~20 sampled cases are flagged unstable and should not be quoted precisely. The remaining gap is that it does not say what happens when year is omitted beyond the schema's note.

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?

Front-loaded with the core identity and example use cases, and every sentence carries information. The single dense paragraph packs several distinct ideas (weighting, instability threshold, coverage limits) that would scan better as separate sentences or structure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter analytical tool with an output schema, this is complete: it explains the nature of the returned estimate, the sample-size companion value, the instability caveat, and the population coverage limits. Nothing an agent needs to call or interpret it correctly is missing.

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 the baseline is 3, but the description adds real meaning: product_code must be an exact 4-digit CPSC code (with a pointer to neiss_product_codes), and the free-text product path resolves against NEISS titles and returns candidates when ambiguous. That mutual-exclusivity and disambiguation behavior is not in the schema.

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 resource (national weighted estimate of consumer-product ED injuries from CPSC NEISS) with explicit example phrasings ('how many people were injured by X'). It also distinguishes itself from neiss_product_codes by routing code lookup there, so an agent can separate the two tools without opening either schema.

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 clear when-to-use framing via example questions, states the two input modes (exact 4-digit code vs free-text name), notes the optional age_range narrowing, and sets a firm boundary: ED-treated injuries only, not deaths, hospitalizations elsewhere, or non-ED injuries. This is explicit inclusion and exclusion guidance.

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.