Skip to main content
Glama

gmailDeleteEmail

Permanently deletes a Gmail email by message ID, removing unwanted messages from the account.

Instructions

Permanently delete a Gmail email.

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": {
      "message_id": "<message_id>"
    },
    "name": "gmailDeleteEmail"
  }
}

Input Schema

NameRequiredDescriptionDefault
message_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the single most important trait — that deletion is permanent and therefore not undoable — which is real value beyond the bare name. However, it says nothing about whether the item is moved to trash first, whether the whole thread is affected, or what permissions/scope are required.

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?

A single short sentence with zero padding, and the decisive qualifier "permanently" is front-loaded where it will be read. Brevity here is efficient rather than padded, though the sentence is thin enough that it borders on under-specification captured in other dimensions.

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 an irreversible destructive operation with no annotations, no output schema, and an undocumented parameter, the definition is too thin. An agent still lacks the prerequisites (confirmation, scope), the effect on the containing thread, and any error behavior — all of which the description would have to supply here.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single parameter, so the description must compensate and does not. It never explains that message_id is the Gmail message identifier (versus a thread ID or RFC Message-ID header) or what happens if the ID is unknown or already deleted.

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 verb and resource ("Permanently delete a Gmail email") and the adverb "permanently" usefully distinguishes it from softer operations like archive or label-removal. It stops short of naming any sibling such as gmailModifyEmail, so the agent must infer how it differs from non-permanent removal paths.

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 explicit when-to-use or when-not-to-use guidance and no named alternative. The word "permanently" hints that this is the irreversible path, but the description never says to prefer a trash/label-removal route when recovery might be needed, nor does it state any precondition for calling it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.