Skip to main content
Glama

DRGSystem — German medical coding catalogs

Regelereignis abrufen

rules_get
Read-onlyIdempotent

Liefert ein Regelereignis vollständig: alle betroffenen Kodes mit ihrer Rolle (betrifft, Abgrenzung, erwähnt, Beispiel), Geltungszeitraum, Prüfstatus und Quelle.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesKennung aus 'rules_for_code', z. B. 'SA-S20260001', 'DKR-D003', 'SEG4-16'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoKennung des Ereignisses, an 'rules_get' zurückzugeben.
urlNoAdresse der Originalquelle.
giltNoWofür das Ereignis gilt.
kodesNoAlle Kodes des Ereignisses mit ihrer Rolle.
rolleNoRolle des abgefragten Kodes in diesem Ereignis. Null in Listen ohne Kodebezug.
seiteNoSeite dieses Portals mit dem vollständigen Text, falls vorhanden.
titelNoTitel, wie ihn die Quelle führt.
quelleNoArt der Quelle.
anhaengeNoDokumente der Quelle zu diesem Ereignis, je Fassung mit Geltungsjahren (neueste zuerst).
volltextNoWortlaut der Quelle in Abschnitten. In Listen nur, wenn er kurz ist; sonst null und VolltextZeichen gibt die Länge an — vollständig über Rules/Get.
geerbtVonNoKode, an dem das Ereignis hängt, wenn es vom übergeordneten Kode geerbt ist (z. B. 'E44' für die Abfrage 'E44.0'). Null, wenn es am abgefragten Kode selbst hängt.
geprueftAmNoDatum der fachlichen Prüfung (yyyy-MM-dd).
zitatankerNoWörtlicher Anker in der Quelle, an dem die Kurzfassung hängt.
fachgebieteNoFachgebiete, die das Ereignis vor allem betrifft (Destatis-Fallverteilung bzw. OPS-Kodebereich). Leer = fachübergreifend.
geprueftVonNoWer geprüft hat.
kurzfassungNoWorum es geht, in ein bis drei Sätzen.
praxisfolgeNoWas daraus für die Kodierung folgt.
pruefstatusNoWie die Angaben entstanden sind.
aktenzeichenNoAktenzeichen oder Nummer in der Quelle.
aktualisiertNoDatum der letzten Überarbeitung durch die Quelle (yyyy-MM-dd).
ersetztDurchNoId des Ereignisses, das dieses ersetzt.
anwendbarkeitNoNur bei der Prüfung eines Falls: ob das Ereignis für diesen Fall gilt.
stellungnahmenNoPositionen Dritter, z. B. FoKA: Konsens / Dissens. Ein Dissens heißt: die Frage ist zwischen MD und Krankenhäusern umstritten.
verbindlichkeitNoFür wen das Ereignis bindend ist.
veroeffentlichtNoDatum der Veröffentlichung (yyyy-MM-dd).
volltextZeichenNoLänge des Wortlauts in Zeichen, wenn er in der Liste nicht mitgeliefert wird.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and closed-world, so the safety profile is covered. The description adds genuinely useful behavioral content beyond that: it spells out the completeness guarantee ('vollständig') and the exact facets returned (roles, validity period, review status, source), which tells the agent not to expect a partial or summary payload.

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?

One dense but front-loaded sentence that opens with the verb and the completeness claim before listing facets. Nothing is wasted, though the facet list is long enough to slightly obscure the core action.

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 single-param read with an output schema, the description is sufficient: the agent knows the id source (via schema), that the result is a complete rule event, and roughly what fields to expect. Only the routing against rules_for_code is left implicit.

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 coverage is 100% and there is a single required id, so the schema carries the parameter burden; the description adds no syntax or format detail for it. Baseline 3 is appropriate since the description's enumerated content describes the response, not the input.

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?

States a specific verb ('Liefert') and resource ('ein Regelereignis vollständig') and enumerates what the payload contains, so the agent knows this is a full-record fetch by id. It does not, however, differentiate itself from the sibling rules_for_code, which is the tool that produces the id it consumes.

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?

Usage is only implied: the description is a pure 'get' and the id-provenance hint ('Kennung aus rules_for_code') lives in the schema, not the description. There is no explicit statement of when to call this versus rules_for_code or the *_search siblings.

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