Skip to main content
Glama

Karoto: used cars in France and Germany

Identify a German vehicle by KBA HSN/TSN

lookup_hsn_tsn
Read-onlyIdempotent

Resolve German Fahrzeugschein codes (HSN field 2.1 + TSN field 2.2) from the official Kraftfahrt-Bundesamt registry to Karoto make/model, German registered fleet size and live engine variants, or list HSN/TSN codes of a make/model.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lookup_hsn_tsn"
  }
}

Input Schema

NameRequiredDescriptionDefault
hsnNoGerman KBA manufacturer code (4 digits, Fahrzeugschein 2.1), e.g. 0603, 0005
tsnNoGerman KBA type code (3 to 10 alphanumeric chars, Fahrzeugschein 2.2), e.g. BQS, AMQ
makeNoMake (with model, lists German HSN/TSN codes of that model)
yearNoOptional registration year to narrow matching engine variants
limitNoMax rows when listing types (default 50, max 200)
modelNoModel (filters HSN types or lists HSN/TSN codes when paired with make)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds useful provenance (official Kraftfahrt-Bundesamt registry) and discloses the shape of the returned data (fleet size, live engine variants). It says nothing about behavior with zero arguments, data currency, or error handling for unmatched codes.

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?

A single sentence that front-loads the domain (Fahrzeugschein HSN/TSN) and the authoritative source before the outputs. It is dense but every clause carries information; the trailing 'or list...' clause is slightly run-on but necessary to convey the reverse mode.

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

Completeness3/5

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

With six all-optional parameters, no required fields, and no output schema, the description should explain mode selection and the no-argument case, which it does not. It does adequately describe what the tool produces and where the data comes from, so it is workable but leaves an agent guessing at invocation edge cases.

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 all six parameters are already documented, including the 2.1/2.2 field mapping and the make/model pairing rule. The description mirrors that mapping but adds no format, precedence, or conflict-resolution detail beyond the schema. Baseline 3 is appropriate.

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?

The description uses a specific verb ('Resolve') with a precise resource: German Fahrzeugschein HSN/TSN codes from the KBA registry. It also names the outputs (Karoto make/model, fleet size, engine variants) and a second mode (listing codes for a make/model). It stops short of distinguishing itself from siblings such as decode_vin or lookup_cnit, so it is clear but not sibling-differentiating.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The two operating modes (codes in -> vehicle out; make/model in -> codes out) are stated, which implies when to reach for it. However, there is no explicit guidance on alternatives (decode_vin for VINs, lookup_cnit for French codes), no statement of what happens when no parameters are supplied despite all six being optional, and no note on which parameter combinations select which mode.

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