Skip to main content
Glama

Find CPV codes for your activity

find_cpv_codes
Read-onlyIdempotent

Find official EU CPV candidates for an activity, not a company name or URL. Returns up to 30 localized codes with hierarchy/provenance. Select and explain matches, then ask the user to confirm. No web research or paid AI call. Spends one of two anonymous queries/hour/IP shared with search and the website. When an anonymous result has quota.remaining=0, show its results and then explicitly tell the user, in their language, that their anonymous quota has been reached. Show a clickable 'Create a free account' link to https://scoutee.org/en/signup as the next step to continue now. Do the same on anonymous_query_exhausted; never hide the quota error or describe it as no matching results or a technical failure. Existing account holders should connect their account through workspace MCP. Account quotas still apply; do not promise unlimited access. Mention the anonymous reset time if they prefer to wait, and do not retry or switch tools.

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": {
      "activity": "<activity>"
    },
    "name": "find_cpv_codes"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNoOfficial label language, such as en, fr or de; unavailable labels fall back to English.en
activityYesThe actual products, works or services supplied. Use specific activity terms; never send private company data.

Output Schema

NameRequiredDescriptionDefault
itemsYes
quotaYes
guidanceNoThese are catalogue candidates, not a final classification. Compare their official labels with the user's actual products and services, explain the strongest matches, and ask the user to confirm before applying codes. Do not infer activities from a company name alone. If no candidate fits, ask for a more precise activity or reformulate using catalogue terminology. CPV applies to European procurement markets; do not substitute it for other classifications.
catalogueYes
signup_urlNo
quota_noticeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / quota_notice
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Quota Notice"
      +}
    • addedOutput schema / properties / signup_url
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Signup Url"
      +}
  2. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly/idempotent/non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral context beyond that: a hard cap of 30 results, hierarchy/provenance in the payload, and the quota cost of one of two anonymous queries per hour per IP. It stops short of describing the fields an agent must inspect to detect quota state, so full transparency isn't quite reached.

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 core contract is front-loaded in the first two sentences, and most of the rest covers distinct edge cases (quota, account handoff, no-retry). It loses a point for repetition: the quota-error handling is restated across the quota.remaining=0 and anonymous_query_exhausted sentences rather than stated once.

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 an output schema present, the description doesn't need to document return shape, yet it still flags the 30-item cap and hierarchy/provenance, plus quota, signup URL, and account-holder routing. For a two-parameter read tool with full annotation coverage, nothing an agent needs to call it 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 coverage is 100%, so both parameters are already documented, and the description's only real addition is the negative constraint that "activity" must not be a company name or URL; "localized" loosely implies the locale parameter. That is a modest supplement over structured fields rather than compensating for a coverage gap.

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?

"Find official EU CPV candidates for an activity" names a specific verb and resource, and the clarification "not a company name or URL" preempts the most likely mis-invocation. It never names the sibling tools (search_public_tenders, get_public_tender) or says how it relates to them, so differentiation is left to the resource noun alone.

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?

It states the post-call protocol ("select and explain matches, then ask the user to confirm"), the exclusions ("no web research or paid AI call", "do not retry or switch tools"), and the handoff path for account holders via workspace MCP. Quota-exhaustion behavior is spelled out for both the in-band quota.remaining=0 case and the anonymous_query_exhausted case, including what to tell the user and not to claim.

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.