Skip to main content
Glama

Find CPV / ДК 021 codes

lookup_cpv
Read-onlyIdempotent

Looks up CPV 2008 / ДК 021:2015 codes (9,458 codes, Ukrainian and English names) by words or by code, with parent levels; for a single exact code the direct sub-codes are listed too. Does not count towards any limit.

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": {
      "query": "<query>"
    },
    "name": "lookup_cpv"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNoRestrict results to one hierarchy level
limitNoMaximum number of codes
queryYesWords in Ukrainian or English (e.g. 'ремонт даху', 'laptops') or a code/prefix

Output Schema

NameRequiredDescriptionDefault
itemsYes
childrenNoDirect sub-codes when a single code was requested

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. Beyond that, the description adds genuinely non-obvious behavior: results include parent hierarchy levels, an exact code also expands to its direct sub-codes, and calls are exempt from usage limits — the last being especially valuable operational context.

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?

Three short sentences, zero filler: data scope first, query modes second, hierarchy/limit-exemption details last. Every clause carries information an agent would otherwise have to discover empirically.

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?

With full schema coverage, an output schema, and explicit annotations, the description only needs to add data scope, query modes, and hierarchy behavior — all of which it does. Nothing an agent needs to call this correctly is missing.

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%, with all three parameters (query, level, limit) documented inline including examples and bounds, so the baseline is 3. The description adds only that query accepts either words or a code/prefix, which the schema already states, and does not explain how level interacts with a code-style query.

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 (looks up) and resource (CPV 2008 / ДК 021:2015 codes), plus the corpus size and the two languages covered. It also distinguishes the two query modes (words vs. code/prefix) and notes that exact codes additionally return direct sub-codes, so an agent knows precisely what this tool resolves.

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 description makes clear the tool should be used to resolve classification codes by free-text words or by code/prefix, and implicitly when hierarchy context is needed (parent levels). It gives no explicit exclusion against an alternative tool, but no sibling performs CPV lookup, so the guidance that matters is present.

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