Skip to main content
Glama

Send Mail With Policy

send_mail_with_policy
Destructive

Kompatibilitätsalias; für neue Abläufe send_mail. Policy-geprüft Nachricht senden (Postfach). Empfängername oder positive Empfänger-ID erforderlich; eine positive ID hat Vorrang.

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": {
      "inhalt": "<inhalt>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "send_mail_with_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
inhaltYes
betreffNo
empfaengerNo
empfaenger_idNo
idempotency_keyYes1–180 druckbare ASCII-Zeichen von ! bis ~, ohne Leerzeichen. Vor dem ersten Aufruf wählen und für Wiederholungen beibehalten.

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
toolYes
traceNo
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / anyOf
      Removed value: -[
      -  {
      -    "properties": {
      -      "empfaenger_id": {
      -        "minimum": 1
      -      }
      -    },
      -    "required": [
      -      "empfaenger_id"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "empfaenger": {
      -        "pattern": "\\S"
      -      }
      -    },
      -    "required": [
      -      "empfaenger"
      -    ]
      -  }
      -]
    • addedInput schema / description
      Added value: +"Bedingte Parameterregeln werden vor Ausführung serverseitig geprüft; VALIDATION_ERROR nennt den betroffenen Parameter."
    • 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

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, so the safety profile is covered structurally. The description adds real value with 'Policy-geprüft' (a server-side policy gate precedes sending) and the recipient precedence rule, but says nothing about irreversibility of a sent message or how the policy check can fail.

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 clauses, alias/deprecation note front-loaded, then purpose, then the recipient constraint. Compact and front-loaded, with only mild terseness from the semicolon-fragment style.

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?

An output schema exists, so return values need no prose, and the required idempotency_key is documented in the schema itself. Remaining gap is minor: what the policy check enforces and which failures (beyond the schema-noted VALIDATION_ERROR) are possible.

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 only 20%, so the description must compensate, and it does for the trickiest case: recipient name OR positive recipient ID is required, with a positive ID taking precedence — a conditional rule the flat schema cannot express. Content and subject remain unexplained, but their meaning is self-evident from the names.

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?

Names a specific action (policy-checked message send to a mailbox) and frames itself as a compatibility alias for send_mail. The verb+resource are identifiable, though the leading 'Kompatibilitätsalias' framing makes the primary purpose read as secondary.

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?

Explicitly routes new workflows to send_mail, which is exactly the alternative-selection guidance an agent needs. It does not spell out the reverse case (when this alias must be used instead), leaving the legacy/compat condition implicit.

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.