Skip to main content
Glama

Draft Message For Context

draft_message_for_context
Read-onlyIdempotent

Kompatibilitätsalias; für neue Abläufe get_writing_context. Veralteter Kompatibilitätszugang: liefert Schreibkontext statt generischer Textvorlagen. Nutze get_writing_context und formuliere die Nachricht anhand der Belege selbst.

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": {
      "channel": "<channel>",
      "intent": "<intent>"
    },
    "name": "draft_message_for_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentYes
channelYesPostfach-Kanal: postfach; mail ist ein Alias.
subjectNo
max_lengthNoMaximale Zeichen im Textgerüst einschließlich Ellipse; Standard 600, wirksam auf 50..2500 begrenzt. Kontextbelege bleiben separat.
thread_keyNoBeschränkt Stilbelege auf diesen Thread.
recipient_nameNo
context_summaryNoHintergrund für den Entwurf; bleibt separat und wird nicht in den Nachrichtentext kopiert.
expected_verein_idNoOptionaler Kontextanker: muss dem beim Aufruf aktiven Verein entsprechen (0 = keiner).

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
toolYes
traceNo
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / expected_verein_id
      Added value: +{
      +  "description": "Optionaler Kontextanker: muss dem beim Aufruf aktiven Verein entsprechen (0 = keiner).",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "data": {},
      +    "meta": {
      +      "type": "object"
      +    },
      +    "status": {
      +      "enum": [
      +        "ok",
      +        "error"
      +      ],
      +      "type": "string"
      +    },
      +    "tool": {
      +      "type": "string"
      +    },
      +    "trace": {
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "tool",
      +    "status"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so safety is covered. The description adds genuinely non-structured behavior: the tool is deprecated, and it returns evidence/context that the agent must transform into a message rather than a ready-made draft.

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?

Three short sentences with the most important fact (compatibility alias, use get_writing_context) front-loaded and the behavioral caveat last. Minor redundancy between 'Kompatibilitätsalias' and 'Veralteter Kompatibilitätszugang' costs nothing significant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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-value shape need not be explained, and annotations cover the safety profile. Still missing for a deprecated 8-parameter tool: whether it will be removed, whether output differs from get_writing_context, and any guidance on the undocumented parameters.

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

Parameters2/5

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

Schema description coverage is a middling 63% across 8 parameters, and the description contributes no parameter meaning at all — nothing on intent, subject, recipient_name, thread_key or the expected_verein_id anchor, several of which have no schema description. The remaining gap is left entirely to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the tool as a deprecated compatibility alias and states that it returns writing context rather than generic text templates, which usefully corrects the misleading 'draft_message' name. However, it never gives a clean verb+resource statement of what calling it actually produces, and the framing is dominated by the deprecation notice rather than the function.

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 explicitly names the successor (get_writing_context) and instructs the agent to use it and compose the message from the evidence itself, which is clear routing guidance. It stops short of saying when, if ever, the alias should still be invoked (e.g. legacy client compatibility, expected removal).

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.