Skip to main content
Glama

AIsa Agent Mail

Manage Inbox Thread

delete_agentmail_inbox_thread
Destructive

Retrieve, update, or delete a specific email thread within an inbox, including details like messages, labels, senders, and timestamps.

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

Input Schema

NameRequiredDescriptionDefault
inbox_idYesThe ID of the inbox.
thread_idYesID of thread.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / Authorization
      Removed value: -{
      -  "description": "Bearer authentication",
      -  "type": "string"
      -}
    • removedInput schema / properties / permanent
      Removed value: -{
      -  "description": "If true, permanently delete the thread instead of moving to trash.",
      -  "type": "boolean"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "inbox_id",
      -  "thread_id",
      -  "Authorization"
      -]New value: +[
      +  "inbox_id",
      +  "thread_id"
      +]
  2. Changed3 schema fields changed
    • addedInput schema / properties / Authorization
      Added value: +{
      +  "description": "Bearer authentication",
      +  "type": "string"
      +}
    • addedInput schema / properties / permanent
      Added value: +{
      +  "description": "If true, permanently delete the thread instead of moving to trash.",
      +  "type": "boolean"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "inbox_id",
      -  "thread_id"
      -]New value: +[
      +  "inbox_id",
      +  "thread_id",
      +  "Authorization"
      +]
  3. Changed3 schema fields changed
    • removedInput schema / properties / Authorization
      Removed value: -{
      -  "description": "Bearer authentication",
      -  "type": "string"
      -}
    • removedInput schema / properties / permanent
      Removed value: -{
      -  "description": "If true, permanently delete the thread instead of moving to trash.",
      -  "type": "boolean"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "inbox_id",
      -  "thread_id",
      -  "Authorization"
      -]New value: +[
      +  "inbox_id",
      +  "thread_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, so the safety profile is covered by structured data. What the description adds is actively misleading: it advertises retrieval of 'messages, labels, senders, and timestamps', which reads as a read operation, and it never states that deletion is permanent, whether it cascades to contained messages, or what authorization is required.

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?

The core sentence is short and front-loaded, but it is padded with an unnecessary list of thread contents and prefixed by a verb set that does not match the tool name. The appended pricing block is injected boilerplate that consumes attention without aiding tool selection.

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, non-idempotent operation with no output schema, the description should state permanence, cascade behavior, and anything the caller gets back. Instead it describes thread contents as if the tool returned them, leaving the destructive semantics carried almost entirely by the annotations.

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% (inbox_id and thread_id are both documented in the schema), so the baseline is 3. The description adds no format, constraint, or sourcing detail about the two IDs beyond what the schema already provides.

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 concrete resource ('a specific email thread within an inbox') but opens with three verbs ('Retrieve, update, or delete') for a tool whose name is delete_agentmail_inbox_thread and whose title is the generic 'Manage Inbox Thread'. An agent cannot determine from the text whether this call destroys a thread or merely reads/updates it, and the multi-verb framing blurs it against the get_/patch_ 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?

There is no guidance on when to use this versus get_agentmail_inbox_thread, patch_agentmail_inbox_thread, or delete_agentmail_thread. The sibling list shows a full get/patch/delete family, and the description offers nothing to route between them. Usage must be inferred entirely from the tool name.

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