Skip to main content
Glama

DRGSystem — German medical coding catalogs

SEG-4-Kodierempfehlung abrufen

seg4kde_get
Read-onlyIdempotent

Liefert in 'focus' den Volltext einer SEG-4-Kodierempfehlung samt Veröffentlichungs- und Änderungsdatum sowie den darin genannten ICD-, OPS- und DRG-Kodes. Ohne Nummer aufgerufen liefert die Funktion die oberste Gliederungsebene.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNoNummer der Kodierempfehlung. Leer lassen für die oberste Gliederungsebene.
yearNoKatalogjahr (z. B. 2026). Leer lassen für das aktuellste verfügbare Jahr.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearNoKatalogjahr, aus dem alle Daten dieser Antwort stammen.
focusNoDer abgefragte Kode mit allen Detaildaten. Null bei einer Suche und beim Katalog-Einstieg (leerer Kode).
itemsNoDie Kodeliste der Antwort: bei einer Abfrage die direkt untergeordneten Kodes von 'focus' (bzw. die oberste Ebene bei leerem Kode), bei einer Suche die Treffer.
parentsNoÜbergeordnete Kodes von 'focus' als Pfad von der obersten Ebene abwärts (Brotkrumen). Leer bei einer Suche und beim Katalog-Einstieg.

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already signal read-only and idempotent behavior. The description adds useful behavioral detail beyond that: results are delivered in 'focus', include publication/change dates and ICD/OPS/DRG codes, and null input returns the top-level structure. 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?

Two dense sentences with no filler. The primary output contract is front-loaded and the nullable-code case is handled in the second sentence without repetition.

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 read-only, idempotent getter with two optional parameters and an output schema, the description covers the essential call variants and return contents. Nothing critical is missing for an agent to invoke it correctly.

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 'code' and 'year' are already documented in the input schema. The description's statement about calling without a number largely restates the schema's 'Leer lassen für die oberste Gliederungsebene' and adds only marginal value.

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 names a specific verb (Liefert) and resource (SEG-4-Kodierempfehlung), and clarifies that it returns the full text plus metadata and codes, optionally at the top level. This is clear, but it does not explicitly differentiate from the sibling seg4kde_search, so it stops short of a 5.

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 description implies when the tool is appropriate: call with a recommendation number for full text, or without it for the top-level hierarchy. However, it gives no explicit guidance on when to prefer this tool over seg4kde_search or how to obtain a number if unknown.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool is explicitly paired with a search and a get operation per catalog, with distinct roles: search returns hits, get returns full records plus hierarchy. Potential confusion between ICD/OPS systematic and alphabetic searches is actively resolved in the descriptions by cross-referencing exactly when to use each.

Naming Consistency5/5

The vast majority of tools follow a predictable <catalog>_search and <catalog>_get pattern, with alphabetic variants like icd10alpha_search/icd10alpha_get. The single exception, lg_ops_strukturmerkmale, is still descriptive and clearly tied to the Leistungsgruppe domain, so the overall naming remains coherent.

Tool Count4/5

At exactly 25 tools, the server sits at the heavy end of the typical range, but each pair covers a distinct official German medical coding catalog or reference work. Given the broad scope—ATC, ICD, OPS, DRG, PEPP, DKR, SEG-4, hospitals, Leistungsgruppen, and Zusatzentgelte—the count is justified rather than bloated.

Completeness5/5

The server provides consistent search and full-record retrieval for every catalog it exposes, including alphabetic indexes where relevant and hierarchy browsing via get-without-code. Cross-references between ICD, OPS, DRG, ATC, DKR, and SEG-4 are integrated into the get operations, so there are no obvious dead ends for the domain.

Resources