Skip to main content
Glama

NAICS Lookup

NAICSLookup
Read-only

NAICS Lookup: NAICS Lookup is a NAICS code lookup and search API for the 2022 North American Industry Classification System. Look up one code or up to 500 at once, or search by keyword, and get the title, description, level, parent, hierarchy and children, while paid plans add the SBA small-business size standard, the Census index terms, cross-references and the 2017 concordance. (Cost: 2 credits) REST: GET https://api.apiverve.com/v1/naicslookup, params in the query string, key in the x-api-key header. Docs: https://apiverve.com/md/marketplace/naicslookup.md

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
codeNoOne NAICS code, or several separated by commas (up to 10 on Free, 500 on paid plans). NAICS 2017 codes retired in 2022 come back under retired with their replacements
levelNoOnly return codes at this level when searching (2 to 6 digits)
limitNoMaximum search results (1-50)
searchNoKeywords to search titles, index terms and descriptions. Plain-language terms are understood too: online store or ecommerce, SaaS, IT consulting, and occupations such as plumber or electrician
detailsNoInclude index terms, cross-references and the NAICS 2017 concordance

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNoError message, null on success
statusNo"ok" on success

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / code / description
      Previous value: -"One NAICS code, or several separated by commas (up to 10 on Free, 500 on paid plans)"New value: +"One NAICS code, or several separated by commas (up to 10 on Free, 500 on paid plans). NAICS 2017 codes retired in 2022 come back under retired with their replacements"
    • changedInput schema / properties / search / description
      Previous value: -"Keywords to search titles, index terms and descriptions"New value: +"Keywords to search titles, index terms and descriptions. Plain-language terms are understood too: online store or ecommerce, SaaS, IT consulting, and occupations such as plumber or electrician"
    • addedOutput schema / properties / data / properties / retired
      Added value: +{
      +  "description": "Requested NAICS 2017 codes retired in 2022, each with code, version, status, title and replacedBy (the 2022 codes that replaced it); empty for searches",
      +  "type": [
      +    "array",
      +    "null"
      +  ]
      +}
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, it discloses credit cost (2 credits), the auth mechanism (x-api-key header, query-string params), the REST endpoint, and free-vs-paid tier gating of the returned fields. That is real operational context an agent cannot get from the annotations or schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded, but the opening 'NAICS Lookup: NAICS Lookup is a NAICS code lookup' is redundant, and the middle sentence runs long by cramming result fields and paid-tier extras into one clause. The cost/REST/docs tail is useful but adds to the bulk.

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?

An output schema exists, so return-shape explanation is optional, yet the description still covers modes, limits, tier differences and cost. The only real omission is guidance on when a different tool would be the better choice, which matters little given the absence of any comparable sibling.

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% and the schema already documents code, level, limit, search and details thoroughly, so the baseline would be 3. The description adds meaning by tying the paid-plan fields (SBA size standard, index terms, cross-references, 2017 concordance) to the data the call can return, clarifying the payoff of the details flag.

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 pair (look up / search) and a specific resource (2022 NAICS codes), plus what data comes back (title, description, level, parent, hierarchy, children). No sibling in the catalog touches industry classification, so it is unambiguously distinguishable.

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

Usage Guidelines4/5

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

Explicitly names the two operating modes — 'Look up one code or up to 500 at once, or search by keyword' — so an agent knows which parameter path to take. It stops short of naming any alternative tool or stating when-not to use it, so it is clear context rather than full routing 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.