Skip to main content
Glama
malkreide

i14y-mcp

by malkreide

Search a concept's code list

search_codelist_entries
Read-onlyIdempotent

List the codes attached to a code-list concept to resolve official classification values from the federal metadata catalogue. Provide a concept UUID to retrieve entries.

Instructions

List the individual codes of a code-list concept.

Use this to resolve official code values — for example the canonical list of a classification used across several federal datasets. Only concepts with concept_type == "CodeList" return entries.

Args: concept_id: UUID of a code-list concept from list_concepts. language: Language for entry names. Required by the upstream API. page: 1-based page number. page_size: Records per page (1-200).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
languageNode
page_sizeNo
concept_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYes
sourceNoAttribution string.Data: I14Y Interoperability Platform, Swiss Federal Statistical Office (BFS) — https://www.i14y.admin.ch. Licence terms are declared per distribution; check the `licence` field before reuse.
entriesYes
languageYes
returnedYes
page_sizeYes
concept_idYes
provenanceNoWhere this payload came from.live_api
retrieved_atYesUTC timestamp of retrieval.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already mark the tool read-only, idempotent, and non-destructive. The description adds non-redundant behavioral context: only CodeList concepts return entries and `language` is required by the upstream API, which helps an agent anticipate failures. No contradiction with 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?

The description is two short paragraphs plus a compact Args list. The core purpose and key constraint are front-loaded, and each sentence adds information without repetition or filler.

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

Completeness4/5

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

For a paged read-only listing tool with an output schema available, the description covers purpose, applicable concept type, pagination parameters, and the upstream language requirement. It doesn't fully specify behavior for invalid or non-codelist concept IDs (empty vs error), but the CodeList-only statement largely covers the main edge case.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema-level parameter descriptions, the Args section carries the full burden and succeeds: each parameter gets a purpose, and `concept_id` is tied back to `list_concepts`, `language` noted as required upstream, and paging semantics are stated. This is complete and meaningful compensation for the schema gap.

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 opens with 'List the individual codes of a code-list concept,' a specific verb-plus-resource statement that clearly distinguishes this from sibling tools like list_concepts and get_concept. The title reinforces the scope without ambiguity.

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?

It says 'Use this to resolve official code values' and adds the precondition that only concepts with `concept_type == "CodeList"` return entries, giving clear when-to-use context. It does not explicitly name sibling alternatives or state 'do not use for X,' so it earns a 4 rather than 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.