Skip to main content
Glama

discovery_stat_codes_list

ISIC / NAICS / NACE codes that the Layer 2 tags map onto, for callers who need to interoperate with an official classification.

A blank label means the official reference table has not been imported yet, not that the code is unknown — the rows are created from the codes the taxonomy references.

Method: GET /api/v1/discovery/stat-codes/

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": "discovery_stat_codes_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoSearch the code and its official label together, so a caller who knows neither the scheme's numbering nor our slugs can still find a code by typing part of its name.
codeNo
levelNo
limitNoNumber of results to return per page.
offsetNoThe initial index from which to return the results.
schemeNoWhich classification this code belongs to * `isic5` - ISIC Rev. 5 (UN) * `naics2022` - NAICS 2022 (US/CA/MX) * `nace21` - NACE Rev. 2.1 (Eurostat) * `chsic` - UK SIC 2007 (Companies House) * `naf` - NAF rev. 2 (INSEE/SIRENE)
has_labelNoTrue excludes stubs -- rows a tag references whose official reference table has not been imported, which carry a blank label and are not worth offering in a picker.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose a genuinely non-obvious data trait: blank labels mean the reference table hasn't been imported rather than an unknown code, and rows are stubs derived from taxonomy references. It also states the underlying GET path. It omits auth requirements, ordering, and pagination behavior, which keeps it below 5.

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?

The resource statement is front-loaded, followed by the label caveat and the method line, with no filler prose. The method line is low value for an agent (the transport is already implied) but costs little.

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

Completeness3/5

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

For a 7-parameter, annotation-free, output-schema-free list tool, the description explains the domain concept and the stub-row quirk but says nothing about what a returned row contains, how results are ordered, or which scheme values pair with which other filters. Adequate but with clear gaps.

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 coverage is 71%, so most parameters are already documented in the schema (q, scheme enum, has_label, limit, offset). The description adds no per-parameter meaning beyond indirectly contextualizing has_label via the blank-label explanation; `code` and `level` remain undocumented in both places.

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 names the concrete resource (ISIC / NAICS / NACE statistical codes that Layer 2 tags map onto) and its interoperability purpose, so an agent can tell what the endpoint returns. It lacks an explicit list verb and does not distinguish this from sibling tools such as discovery_industry_tags_list, leaving the caller to infer the boundary.

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?

"For callers who need to interoperate with an official classification" gives an implicit when-to-use signal, but there is no guidance on when to prefer the retrieve sibling, when to use the raw reference .json.gz endpoints, or when to skip this tool entirely. Usage is implied rather than specified.

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.