Skip to main content
Glama

agb_get_record

Retrieve one exact AGB registration by eight-digit AGB-code while preserving leading zeros; pass record_type to resolve ambiguous matches.

Instructions

Retrieve one exact AGB registration, preserving leading zeros.

Return found, not_found or ambiguous. For ambiguous, return candidates to retry with record_type. A found record includes identity, status, source_url and retrieved_at. Source failures are tool errors, never not_found responses.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agbcodeYesEight-digit AGB-code.
sectionsNoRequested sections. Omitted means basisregistratie and kwalificaties; [] means identity and status only.
record_typeNozorgverlener (person), onderneming (business) or vestiging (location). Pass the type from search. If omitted, return alternatives when ambiguous; never choose the first match.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
recordNo
outcomeYes
candidatesNoAlternatives for an ambiguous lookup; retry with record_type.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it enumerates the three outcome states (found/not_found/ambiguous), specifies that ambiguous results return candidates, lists the fields of a found record, and critically clarifies that source failures surface as tool errors rather than not_found — a distinction that prevents misreading failures as absence.

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?

Five tight sentences, each carrying a distinct piece of operational information, with the core purpose front-loaded and the error-handling caveat last where it is most likely to be read as an exception to the outcome list.

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?

An output schema exists so return values need no prose, yet the description still names the outcome states and found-record fields, and it covers the failure-mode edge case that a schema alone cannot express. Nothing an agent needs to invoke this correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description adds a non-obvious semantic constraint by noting that leading zeros in agbcode are preserved, which guards against the common pitfall of numeric coercion on an 8-digit code. The record_type retry semantics are also referenced in prose, reinforcing the schema.

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 and resource ('Retrieve one exact AGB registration') and scopes it as a single-record exact lookup, which cleanly separates it from the agb_search_* siblings. The leading-zeros clause signals the precision of the key being matched.

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 tells the agent what to do when the result is ambiguous (retry with record_type) and distinguishes exact retrieval from search. It does not explicitly state when to prefer this over the sibling search tools, but the 'one exact registration' framing makes the division of labor inferable.

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