Skip to main content
Glama

Pflegegrad-Punkte berechnen

calculate_pflegegrad
Read-onlyIdempotent

Use after the questions from get_assessment_questions are answered (or when the user already knows the point values). Computes per area: sum of single points, level, weighted points (Anlage 2 zu § 15 SGB XI), the total (only the higher of areas 2 and 3 counts) and the resulting Pflegegrad with today's thresholds (12,5 / 27 / 47,5 / 70 / 90), the distance to the next grade, which area would gain most, and the comparison with the thresholds of the government draft for 2027 (PNOG, not yet law). Areas that are left out count as 0 and are listed as unanswered. Inputs are point values only, no personal data. Not for children up to 18 months (different procedure; the tool then links the children page).

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": "calculate_pflegegrad"
  }
}

Input Schema

NameRequiredDescriptionDefault
modul1NoMobilität: 5 Werte 0-3 (0 selbständig, 3 unselbständig) in der Reihenfolge der Fragen.
modul2NoVerstehen und Sprechen: 11 Werte 0-3 (0 Fähigkeit vorhanden, 3 nicht vorhanden).
modul3NoVerhalten: 13 Werte je 0 (nie), 1 (selten), 3 (häufig) oder 5 (täglich).
modul4NoSelbstversorgung: 12 Werte 0-3. Das Werkzeug gewichtet Essen (Frage 8) dreifach, Trinken (9) und Toilette (10) doppelt; die Fragen 11 und 12 zählen nur mit inkontinenz=true.
modul5NoKrankheit und Behandlung als Häufigkeiten (nur Hilfe, die die Person nicht allein schafft, voraussichtlich mindestens sechs Monate).
modul6NoAlltag und soziale Kontakte: 6 Werte 0-3.
alter_jahreNoNur wenn es um ein Kind geht: Alter in Jahren (Dezimal erlaubt, etwa 1.2). Für Erwachsene weglassen.
inkontinenzNotrue nur bei überwiegender oder vollständiger Harn- oder Stuhlinkontinenz oder künstlicher Ableitung.
sondenernaehrungNoErnährung über Sonde oder Infusion, dauerhaft (mindestens sechs Monate): keine, teilweise (zusätzlich zum Essen) oder vollstaendig.

Output Schema

NameRequiredDescriptionDefault
hebelNo
linksNo
moduleYes
statusYesergebnis = Berechnung; out_of_scope = Kind bis 18 Monate, dafür gilt ein anderes Verfahren (Link auf die Kinder-Seite).
hinweisNo
quellenYes
disclaimerYes
pflegegradYes
gesamtpunkteYes
punktgrenzenNo
kinder_hinweisNo
vergleich_2027No
pflegegrad_textYes
nicht_beantwortetNo
bis_naechster_gradNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), so the bar is lower. The description still adds real behavioral context: omitted areas are treated as 0 and reported as unanswered, no personal data is involved, results are tied to today's thresholds, and the 2027 PNOG comparison is flagged as not yet law. It does not discuss error handling or what happens with malformed array lengths.

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?

Front-loaded with the usage trigger, then the output inventory, then the caveats, so the agent gets the gating condition first. The opening sentence is a long run-on that crams in every computed quantity, which costs some readability, but no sentence is filler.

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?

An output schema exists, so return values need no prose. Given nine nested parameters, the domain-specific weighting rules, and the versioned threshold question, the description covers the dependency, the exclusion case, the omission semantics, the legal basis, and the forward-looking comparison. Nothing an agent needs to decide whether to call this tool is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline would be 3. The description goes beyond it by clarifying input modality ('point values only, no personal data') and the omission semantics ('areas left out count as 0 and are listed as unanswered'), which materially affects how the agent should populate the nine optional parameters.

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?

States a specific verb and resource (computes the Pflegegrad from point values) and enumerates the exact outputs: per-area sums, weighted points per Anlage 2 zu § 15 SGB XI, total using only the higher of areas 2 and 3, and the resulting grade. It is unmistakably distinct from get_assessment_questions (which supplies the raw answers) and get_pflegegrad_facts.

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

Usage Guidelines5/5

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

Explicitly says when to use it ('after the questions from get_assessment_questions are answered, or when the user already knows the point values') and names a sibling as the upstream dependency. It also gives an explicit when-not with a reason and an alternative: children up to 18 months use a different procedure and the tool routes to the children page.

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