Skip to main content
Glama

TenderAPI

Search CPV codes

search_cpv_codes
Read-onlyIdempotent

Look up Common Procurement Vocabulary codes by English keywords or browse by code prefix. Call this before search_tenders when the user describes a subject rather than giving codes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum codes to return. Default 20.
queryYesEnglish keywords describing the subject (for example "software consultancy"), or a numeric code prefix such as 4523 to browse a branch.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
codesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is covered. The description adds useful workflow context (this is a prerequisite resolution step for search_tenders) but says nothing about result limits behavior or ranking; still, it exceeds the low bar set by the annotations.

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 waste: the purpose is front-loaded and the sequencing guideline follows immediately. Nothing redundant.

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, return values need not be described, and the description covers purpose, both input modes, and the ordering relative to search_tenders. Nothing an agent needs to invoke 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 description coverage is 100%, so both parameters (query and limit) are already documented in the schema with the same keyword-or-prefix semantics the description mentions. The description adds no syntax or format detail beyond the schema, so baseline 3 applies.

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 (look up) and resource (Common Procurement Vocabulary codes) plus two explicit modes: keyword search and prefix browsing. This clearly differentiates it from siblings like search_tenders, which operate on tenders rather than the code vocabulary itself.

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?

Gives an explicit trigger and ordering rule: 'Call this before search_tenders when the user describes a subject rather than giving codes.' It names the alternative tool and the condition that selects it, leaving nothing to inference.

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