Skip to main content
Glama

DRGSystem — German medical coding catalogs

OPS-Strukturmerkmale abrufen

lg_ops_strukturmerkmale
Read-onlyIdempotent

Liefert die Strukturmerkmale, die der Medizinische Dienst für einen OPS-Kode prüft (Katalog nach § 23 Absatz 5 LOPS-RL), jeweils mit den Bedingungen, in die sie zerlegt sind. Ohne Kode aufgerufen liefert die Funktion alle Kodes des Jahrgangs, für die Strukturmerkmale veröffentlicht sind.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearNoKatalogjahr (z. B. 2026). Leer lassen für das aktuellste verfügbare Jahr.
opsCodeNoOPS-Kode, normalisiert ('1945') oder in amtlicher Schreibweise ('1-945'). Leer lassen für alle Kodes des Jahrgangs.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
infoNoHerkunft der Daten dieses Jahrgangs.
yearNoKatalogjahr, aus dem alle Daten dieser Antwort stammen.
itemsNoDie Strukturmerkmale, nach OPS-Kode und Kennung sortiert.

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is covered. The description adds meaningful behavioral context: it states that calling without a code returns all codes of the year that have published structural features, and that results include the decomposed conditions. This goes beyond the 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 sentences both carry essential information: the first defines the main purpose, the second clarifies the optional no-code behavior. No filler or redundant restatement of the tool name/title.

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 tool with two optional parameters, an output schema, and full schema descriptions, the description is complete enough for an agent to invoke it correctly. It covers the main behavior, the optional argument semantics, and the read-only/idempotent nature via annotations.

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 the parameters are already fully documented. The description adds the contextual behavior that omitting the code returns all codes of the year, but it does not add new parameter-level meaning beyond what the input schema already provides.

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 clearly states the tool's purpose: it returns OPS structural features checked by the Medical Service for an OPS code, including the conditions into which they are decomposed. The legal reference and the explicit resource ('Strukturmerkmale') distinguish it from the sibling get/search tools even without naming them.

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 to use the tool: when you need OPS structural features and their conditions. It also explains the no-code behavior, but does not explicitly compare with alternatives such as lg_get or lg_search or state when not to use it.

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