Skip to main content
Glama

Delete sender

delete_sender
DestructiveIdempotent

Permanently deletes a saved sender and its signature. Use it only when the user wants the sender gone; to correct it use save_sender, to change the signature set_signature. sender_id comes from list_senders; an id of another account or an unknown id returns "Sender not found". Existing letters keep their address; if it was the default, the most recently changed sender becomes the default.

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": {
      "sender_id": "<sender_id>"
    },
    "name": "delete_sender"
  }
}

Input Schema

NameRequiredDescriptionDefault
sender_idYesThe sender_id of a saved sender, from list_senders or create_letter, e.g. '2ed4ac857e35'.

Output Schema

NameRequiredDescriptionDefault
deletedNoId of the deleted sender.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / sender_id / description
      Previous value: -"The sender_id of a saved sender, from list_senders or create_letter."New value: +"The sender_id of a saved sender, from list_senders or create_letter, e.g. '2ed4ac857e35'."
  2. Changed3 schema fields changed
    • changedInput schema / properties / sender_id / description
      Previous value: -"The id of a saved sender from list_senders."New value: +"The sender_id of a saved sender, from list_senders or create_letter."
    • addedOutput schema / properties
      Added value: +{
      +  "deleted": {
      +    "description": "Id of the deleted sender.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
    • removedOutput schema / title
      Removed value: -"delete_senderDictOutput"
  3. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds substantial behavior: the signature is deleted alongside the sender, existing letters retain the address, and default reassignment falls to the most recently changed sender. It also discloses the exact failure text ("Sender not found") for unknown or foreign-account ids.

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?

Three dense sentences, each with a distinct job: purpose, alternatives, side effects and errors. The destructive nature is front-loaded and no wording is padding.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With a single required parameter, full schema coverage and an output schema already present, the description need only cover routing and side effects — which it does, including cascade deletion, address retention, default reassignment, and error cases.

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 100%, so the baseline is 3; the description goes slightly beyond by stating the provenance of sender_id (list_senders) and, more usefully, the error returned for a cross-account or unknown id. It adds error semantics rather than new format detail, so it improves marginally on 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?

The description opens with a specific verb and resource: "Permanently deletes a saved sender and its signature." It also implicitly separates itself from sibling mutations (save_sender for correction, set_signature for signature changes), so an agent can tell what this tool does and does not cover.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Guidance is explicit: "Use it only when the user wants the sender gone; to correct it use save_sender, to change the signature set_signature." It gives both the trigger condition and a named alternative for each adjacent intent, leaving no routing ambiguity.

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