Skip to main content
Glama

Put an email in the trash

trash_email
Idempotent

Moves one email to its mailbox's trash. In the inbox: only when BumbleBox certifies it as noise (spam, newsletter, promotion, unanimous safety vote, no known contact or action word). Already filed out of the inbox (Notifications, Newsletters, archive…): when it is noise, a notification or an automated alert, with no known contact or action word. Any other email is not moved: it becomes a proposal the user confirms in one tap in BumbleBox. Never a permanent deletion; undone by restore_to_inbox.

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": {
      "email_id": "<email_id>"
    },
    "name": "trash_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoWhy, shown to the user with a proposal.
email_idYesEmail id, as returned by search_emails or list_to_answer.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / result / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, it discloses the most important behavioral facts: no permanent deletion, a fallback path where the action degrades into a user-confirmed proposal, and that reason is shown to the user. This resolves the tension between destructiveHint=false and a trash operation, so the agent knows the call is safe and reversible.

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?

The action and the non-destructive guarantee are front-loaded, and every sentence carries eligibility or safety information. The middle eligibility block is dense with nested conditions, but it is structured with colon-delimited clauses and no filler.

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?

An output schema exists, so return values need not be explained. Given a mutation tool with only one required parameter, the description covers the decision criteria, the fallback behavior, and reversibility — everything an agent needs to call it correctly.

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%, so both parameters are already documented, including that reason is shown to the user with a proposal. The description adds context about the proposal mechanism but no syntax or format detail beyond the schema, so the baseline of 3 applies.

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?

"Moves one email to its mailbox's trash" names a specific verb and resource, and the surrounding sentences bound the scope to a single email. The agent can distinguish this from archive_email or move_email without opening another schema, since the description pins the destination to trash.

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?

It goes well beyond context: it enumerates the exact preconditions for inbox mail (BumbleBox noise certification with the specific signals) versus already-filed mail, and states that any other email is not moved but converted into a user-confirmed proposal. It also names restore_to_inbox as the reversal path, giving the agent both the when and the what-to-do-instead.

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.