Delete mail
mails.deleteDelete a single email.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailId | Yes | Mail ID | |
| mailboxId | Yes | Mailbox ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| http_status | Yes | HTTP status of the API response |
mails.deleteDelete a single email.
| Name | Required | Description | Default |
|---|---|---|---|
| mailId | Yes | Mail ID | |
| mailboxId | Yes | Mailbox ID |
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| http_status | Yes | HTTP status of the API response |
Changes observed during successful MCP inspections. Dates show when Glama detected each change.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds no behavioral context beyond the annotations, which already mark the operation as destructive and non-idempotent. It does not disclose whether deletion is permanent, reversible, or has side effects, so the agent gains no extra safety-relevant information.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no wasted words. It conveys the essential action and scope immediately while leaving details to the schema and annotations.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a low-complexity tool with two fully documented required parameters, an output schema, and annotations covering destructiveness, the description is largely sufficient for correct invocation. It lacks only explicit sibling guidance, which is already accounted for in the usage dimension.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already provides 100% coverage with descriptions for both required parameters. The tool description does not add any meaning beyond the schema, so the baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action ('Delete') on a specific resource ('a single email'), making the tool's purpose immediately clear. The word 'single' hints at a distinction from sibling tools like mails.delete_bulk, but it does not explicitly name the alternative.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied by the qualifier 'single': use this tool to delete one email rather than multiple. However, there is no explicit guidance about when to prefer alternatives such as mails.delete_bulk or how this relates to archived delete operations.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.
The resource namespaces make most tools easy to tell apart, and each action has a clear target. A couple of boundary cases exist, such as attachments.add versus mails.inject, since both relate to putting files on a simulated email, but descriptions mostly resolve the ambiguity.
Every tool follows the same resource.action convention, and the action verbs are predictable across the set, including delete_bulk and rotate_secret. The pattern is uniform even across different resource families, making the API very predictable.
With 40 tools, the surface is quite large for an MCP server, even though the namespaces are clean. Many singular and bulk delete variants could be combined or expressed as parameters to reduce the count, so the set feels heavier than it needs to be.
The server covers the main lifecycle needs for mailboxes, emails, attachments, archived mailboxes, domains, identities, OAuth clients, and team management. Minor gaps remain, such as no mailbox update/rename, no manual archive action, and no invitation acceptance endpoint, but agents can work around these.