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.
Behavior4/5

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

Annotations already mark the tool as readOnly and idempotent. The description adds useful behavioral context: the output includes the conditions into which the features are decomposed, and the no-code call returns all codes of the year with published features. There is 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 sentences, front-loaded with the primary purpose and followed by the no-code variant. Every clause adds value; no filler or redundant wording.

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 read-only lookup with two optional parameters and an output schema, the description covers the core behavior and the edge mode of omitting opsCode. It could be more explicit about invalid code/year handling, but that is minor given the schema and provided output schema.

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%: both year and opsCode already have explicit descriptions incluing normalization and null behavior. The description mainly restates the null behavior for opsCode and adds no new param-level semantics beyond 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?

The description clearly states the verb ('Liefert') and the exact resource: OPS-Strukturmerkmale checked by the Medizinische Dienst, tied to a specific catalog. This is unique among the sibling tools, making it easy for an agent to distinguish from other get/search operations.

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?

The description explains both invocation modes: with an opsCode it returns the structure features for that code; without one it returns all published codes of the year. It does not explicitly compare against sibling tools, but the usage context is clear and no exclusions are needed.

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