Skip to main content
Glama

Material anlegen

save_material

Legt ein selbst geschriebenes Material (Arbeitsblatt, Lesetext, Wortliste, Elternbrief-Entwurf …) als Word-Datei (.docx) in den Materialien ab: mit class/class_id in der Klasse, sonst in der Sammlung. Die Lehrkraft kann es in Word/LibreOffice weiter bearbeiten, drucken und als PDF ansehen. content in einfachem Markdown: # Überschrift, ## Unterüberschrift, Absätze, "- " Aufzählung, "1. " Nummern, fett, kursiv, "___" eigene Zeile = Schreiblinie, "---" = neue Seite, Tabellen mit | a | b |. large=true für große Schrift (Grundschule). share=true gibt die Datei per Link frei (für einen QR-Code auf dem Bildschirm: widget_action qr mit dem Link).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "title": "<title>",
      "content": "<content>"
    },
    "name": "save_material"
  }
}

Input Schema

NameRequiredDescriptionDefault
classNoKlassenname statt class_id
largeNo
shareNo
titleYesDateiname/Titel, z. B. "Arbeitsblatt Brüche"
contentYesInhalt in einfachem Markdown
class_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnly=false, destructive=false, openWorld=false; the description adds real substance: the output is an editable Word file the teacher can print and view as PDF, and share=true publishes it via link. It stops short of saying what the call returns (e.g. file id or link payload), which is the one meaningful gap.

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 purpose and placement, then the Markdown dialect, then the flags — a sensible ordering with no filler. It is dense to the point of being one long run-on sentence, and the Markdown syntax list could be compressed, but every clause carries usable information.

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 6-param write tool with no output schema, the description covers placement, content format, formatting flags and sharing behavior. Missing only the return value/shape and any note on overwrite behavior when a file with the same title already exists.

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 coverage is 50% and the description compensates well: the class/class_id precedence is spelled out, and the two boolean params that have no schema description at all (large, share) are given concrete meaning, as is the Markdown subset for content. Only title gets no added value 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?

States a specific verb ("legt ... ab") plus the resource (self-written material as a .docx in the Materialien) and enumerates concrete examples (Arbeitsblatt, Lesetext, Wortliste). An agent can distinguish it from save_template or save_class without opening a schema.

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?

Gives explicit routing logic — with class/class_id it lands in the class, otherwise in the Sammlung — and names the sibling widget_action qr as the follow-up for turning a share link into a QR code. No explicit exclusions or when-not-to-use guidance, which keeps it short of a 5.

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