Skip to main content
Glama

Cpv Lookup

cpv_lookup
Read-onlyIdempotent

Resolve a plain-English procurement category ("construction", "hospital equipment", "IT") to the CPV codes TED indexes it under, or explain what a CPV code covers. Use before search_notices when you know the subject but not the code.

Input Schema

NameRequiredDescriptionDefault
termYesPlain-English category ("construction") or a CPV code ("45000000", "45").

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds minimal behavioral context (e.g., TED indexing) but does not disclose return format or limitations. No contradiction.

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 concise sentences, front-loaded with the primary action, and no filler. Every word earns its place.

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?

For a single-parameter lookup tool with full schema coverage, safe-read annotations, and no output schema, the description adequately covers purpose, usage, and operational scope. The reverse mode ('explain what a CPV code covers') adds completeness.

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% for the single parameter 'term', with examples and meaning already provided. The description's mention of plain-English and CPV codes largely duplicates the schema, adding no new parameter-level semantics.

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?

The description uses a specific verb 'Resolve' and specifies the resource (CPV codes) with a bidirectional capability: plain-English to codes, and code explanation. It also distinguishes from sibling search_notices by explicitly naming it and advising usage before it.

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?

Provides explicit guidance with 'Use before search_notices when you know the subject but not the code', giving a clear when-to-use scenario and naming an alternative tool.

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.