Skip to main content
Glama

Find a NAICS industry code

formation.lookup_naics
Read-onlyIdempotent

Returns candidate NAICS industry codes (typically 2–6) for a plain-English business description. A code is required for every LLC, and for nonprofits in AK, CT, LA, MS, TN, WV. Free; does not consume credits.

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": {
      "businessDescription": "<businessDescription>"
    },
    "name": "formation.lookup_naics"
  }
}

Input Schema

NameRequiredDescriptionDefault
businessDescriptionYesWhat the business does, in plain words.

Output Schema

NameRequiredDescriptionDefault
textYesHuman-readable tool result (also mirrored in content[].text).
isErrorNoTrue when the tool could not complete successfully.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / businessDescription / maxLength
      Added value: +500
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds business-level context the annotations cannot convey — 'Free; does not consume credits' — which matters for an agent orchestrating a paid formation flow, plus the expected number of returned candidates. Return shape details are covered by the output schema.

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?

Two sentences, zero filler, with the core purpose front-loaded and the eligibility condition second. Every clause carries information an agent needs.

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?

With an output schema present and rich annotations, the description covers purpose, cost, and the conditional requirement for the code. The only real gap is what to do with multiple candidates (e.g., how to choose among 2–6 results), which would help an agent chain into formation steps.

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% and the single parameter is documented as 'What the business does, in plain words.' The description echoes this ('plain-English business description') without adding format, length, or quality guidance beyond the schema's 500-character limit. Baseline 3 is appropriate.

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 ('Returns candidate NAICS industry codes') with an explicit input ('for a plain-English business description') and expected result cardinality ('typically 2–6'). It is clearly distinguishable from siblings like law.search or formation.requirements, which do not map descriptions to industry codes.

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?

The sentence 'A code is required for every LLC, and for nonprofits in AK, CT, LA, MS, TN, WV' tells the agent exactly when this lookup is mandatory, which is strong conditional context. It stops short of naming an alternative or stating when not to call it, so it falls short of a 5.

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