Skip to main content
Glama

Vertragsentwurf löschen

delete_contract_draft
DestructiveIdempotent

Einen Vertragsentwurf löschen. Ausgestellte Verträge bleiben (Aufbewahrung) — beenden mit end_contract.

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": {
      "id": "<id>"
    },
    "name": "delete_contract_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesVertrags-ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds domain-specific behavior beyond that: issued contracts are retained for archiving and must be terminated rather than deleted, which is exactly the consequence an agent needs to know before calling.

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 short sentences, no filler. The action comes first, the retention constraint and the alternative follow, which is the correct priority order for a destructive tool.

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 one-parameter destructive tool with full annotation coverage and no output schema, the definition is essentially complete: action, excluded case, and alternative are all stated. Minor omissions are what happens to dependent objects (e.g. linked documents) and whether the deletion can be undone.

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?

There is a single parameter whose schema description coverage is 100% ("Vertrags-ID"), so the schema fully carries the meaning. The description adds no formatting, lookup, or validation guidance for the id, which is the expected baseline here.

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?

The description pairs a specific verb and resource ("Einen Vertragsentwurf löschen") and immediately scopes it: issued contracts are excluded because of retention rules. That sets it apart from the destructive sibling end_contract, though it does not distinguish it from delete_draft.

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?

It gives the critical when-not condition - delivered/issued contracts should not be deleted - and names the correct alternative (end_contract). It stops short of stating the positive trigger (e.g. only for unsent drafts) or any prerequisite permissions.

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