Skip to main content
Glama

datei ablegen

datei_ablegen

Creates a new note, memo, or draft file in a legal case file, giving it a D-ID and leaving original sections locked. Requires explicit user confirmation before writing.

Instructions

SCHREIBT IN DIE AKTE. Textdatei in einem Fall anlegen: Notiz, Vermerk oder Entwurf. Erlaubt sind nur 01 Eingang, 06 Entwürfe und 07 Recherche; die Originalbereiche 02 bis 05 und 08 bleiben gesperrt. Überschreibt nie eine vorhandene Datei und registriert die neue Datei anschließend im Bestand, sodass sie eine D-Kennung bekommt. Nur mit bestaetigt=true nach Rückfrage beim Nutzer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fallYes
nameYesDateiname mit Endung .md oder .txt, ohne Pfad
textYesInhalt der Datei
bereichYes
bestaetigtNoNur true, wenn der Nutzer genau diesen Aufruf mit diesen Parametern ausdrücklich bestätigt hat. Ohne true wird nichts geändert; die Antwort enthält dann die Rückfrage.
unterordnerNoUnterordner im Bereich, optional

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations: it declares the no-overwrite guarantee ('Überschreibt nie eine vorhandene Datei'), the post-write side effect of registering the file in the Bestand so it receives a D-Kennung, and the confirmation gate that suppresses all changes when bestaetigt is absent. These are exactly the behavioral traits an agent needs before invoking a write tool.

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-loads the write intent in a short capitalized lead, then adds four dense sentences covering scope, restrictions, side effects, and the confirmation gate. Nearly every sentence earns its place, with only mild redundancy between the allowed-areas statement and the locked-areas statement.

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 mutation tool with no output schema, the description covers the mutation, its restrictions, its side effects, and the confirmation protocol, including what the response contains when confirmation is missing. The only material gap is guidance on how it relates to the overlapping note/draft tools.

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 67%, and the description compensates by explaining the allowed bereich values and, critically, that the other areas are locked out, plus the semantics of the bestaetigt gate and the response when it is false. It adds real constraint meaning beyond the enum itself, though 'fall' and 'unterordner' receive no added context.

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 and resource ('SCHREIBT IN DIE AKTE', 'Textdatei in einem Fall anlegen') and names the concrete artifacts it produces (Notiz, Vermerk, Entwurf). It is clear on its own, but it does not distinguish itself from siblings like notiz_anlegen or entwurf_erfassen, whose names overlap with the artifact types it claims to create.

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 an explicit precondition ('Nur mit bestaetigt=true nach Rückfrage beim Nutzer') and a hard scoping rule (only areas 01/06/07; 02-05 and 08 locked). It stops short of routing the agent away from the overlapping siblings, so the when-to-use is clear but the when-to-use-instead is not.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.