Skip to main content
Glama

AIsa Agent Mail

Manage Draft

delete_agentmail_inbox_draft
Destructive

Retrieve, update, or delete a specific email draft within an inbox by its ID. This endpoint allows you to get draft details, modify draft content and recipients, or remove the draft entirely.

Published reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.

Input Schema

NameRequiredDescriptionDefault
draft_idYesID of draft.
inbox_idYesThe ID of the inbox.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / Authorization
      Removed value: -{
      -  "description": "Bearer authentication",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "inbox_id",
      -  "draft_id",
      -  "Authorization"
      -]New value: +[
      +  "draft_id",
      +  "inbox_id"
      +]
  2. Changed2 schema fields changed
    • addedInput schema / properties / Authorization
      Added value: +{
      +  "description": "Bearer authentication",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "draft_id",
      -  "inbox_id"
      -]New value: +[
      +  "inbox_id",
      +  "draft_id",
      +  "Authorization"
      +]
  3. Changed2 schema fields changed
    • removedInput schema / properties / Authorization
      Removed value: -{
      -  "description": "Bearer authentication",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "inbox_id",
      -  "draft_id",
      -  "Authorization"
      -]New value: +[
      +  "draft_id",
      +  "inbox_id"
      +]
  4. First observed

TDQS

C2.5/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, idempotentHint=false and openWorldHint=true. The description only echoes that the draft can be 'removed entirely,' adding little; it says nothing about whether deletion is permanent, whether auth/permissions are needed, or side effects. The claim that the tool also retrieves and updates is misleading context for a delete endpoint, though it does not strictly contradict readOnlyHint=false.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Reasonably short, but the second sentence largely restates the first ('get draft details, modify draft content... or remove the draft entirely'), adding no new information. The injected pricing block is boilerplate noise rather than authored content.

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

Completeness2/5

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

For a destructive mutation with no output schema, the description should clarify permanence, scope of destruction, and prerequisites. Instead it dilutes the tool's identity by describing three operations, leaving an agent uncertain what this endpoint actually does.

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?

Schema description coverage is 100% for both required parameters (draft_id, inbox_id), so the schema already carries their meaning. The description adds no syntax, format, or source-of-ID detail beyond what the schema provides, making the baseline 3 appropriate.

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 names a specific resource (an email draft within an inbox, by ID) but describes three different operations — retrieve, update, delete — while the tool name is 'delete_agentmail_inbox_draft' and siblings get_agentmail_inbox_draft and patch_agentmail_inbox_draft each cover one of those verbs. This multi-verb framing blurs rather than sharpens the tool's actual scope for an agent choosing among siblings.

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

Usage Guidelines2/5

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

No when-to-use guidance is given, and the description compounds the problem by claiming this delete tool also retrieves and updates drafts. With dedicated get_ and patch_ siblings present, the description provides no routing information and actively blurs the alternative-selection decision.

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