Skip to main content
Glama

email_thread_action

Execute actions on email threads: archive, delete, mark as spam, restore, mark unread, snooze, unsnooze, merge, set tags, or assign agents.

Instructions

Accion sobre hilo de email — Ejecuta una accion sobre un hilo de email: archivar, eliminar, spam, restaurar, marcar como no leido, posponer (snooze), quitar snooze, fusionar hilos, asignar etiquetas o asignar agente [mutation]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAccion a ejecutar: archive, delete, spam, restore, mark_unread, snooze, unsnooze, merge, set_tags, assign
thread_idYesID del hilo de email
untilNoFecha/hora hasta la que posponer (solo para action=snooze). Formato ISO 8601 o natural (ej: '2026-03-22 09:00:00', 'tomorrow 9am')
target_thread_idNoID del hilo destino para fusionar (solo para action=merge)
tagsNoArray de etiquetas (solo para action=set_tags)
agent_hashNoHash del agente a asignar (solo para action=assign, null para desasignar)
Behavior2/5

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

The description includes '[mutation]' indicating state changes, but with no annotations, it fails to disclose side effects, prerequisites, or reversibility. Actions like 'delete' likely have destructive consequences, yet nothing is mentioned. The behavioral disclosure is insufficient.

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

Conciseness5/5

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

The description is a single, well-structured sentence that front-loads the purpose and lists the actions. Every word is informative, and there is no redundancy or extraneous content. It is appropriately concise.

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?

Given the multi-action nature and lack of annotations/output schema, the description is incomplete. It does not explain side effects (e.g., delete is irreversible), required permissions, or the meaning of the return value. The agent lacks sufficient context to use the tool reliably.

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 coverage is 100% with parameter descriptions. The description adds value by explicitly listing all possible action values, which is not captured in an enum. However, it does not clarify parameter constraints or relationships beyond what the schema provides, so the added value is modest.

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?

The description clearly states the tool executes an action on an email thread and lists the supported actions (archive, delete, spam, etc.). However, it does not differentiate from sibling tools like snooze_email_thread or assign_email_thread, which perform the same specific actions, leading to potential ambiguity.

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 guidance is provided on when to use this generic action tool versus more specific sibling tools (e.g., snooze_email_thread, assign_email_thread). The agent receives no context to choose between them, which is a significant gap.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wazionapps/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server