Skip to main content
Glama

Save issue email

save_email
DestructiveIdempotent

Guarda en una issue un correo relacionado con ella (recibido o enviado), para que su dueño lea el hilo en la ficha. NO envía nada: Hilbana solo lo muestra. El correo queda a nombre de la persona de la credencial y SOLO ella lo ve. externalId es el id del mensaje en su origen (p. ej. el Message-ID): repetir la llamada con el mismo externalId actualiza el correo en vez de duplicarlo, y si estaba en otra issue lo mueve a esta. direction: 'received' o 'sent'. from: remitente («Nombre <dirección>»). to y cc: listas de direcciones. date: fecha del correo (ISO-8601 o epoch ms); ordena el hilo. body: TEXTO PLANO, sin HTML ni adjuntos; si supera 100000 caracteres se recorta (la respuesta trae truncated=true). threadId y mailbox (el buzón de origen) son opcionales. Hasta 200 correos por persona e issue. Es de los planes de pago.

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": {
      "issueId": "<issueId>",
      "externalId": "<externalId>",
      "direction": "<direction>",
      "from": "<from>",
      "body": "<body>",
      "date": "<date>"
    },
    "name": "save_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNo
toNo
bodyYes
dateYes
fromYes
issueIdYesAdmite el UUID de la issue o su identificador legible (TEAM-123, el que se ve en la app), sin distinguir mayúsculas. Si ese identificador existiera en varios de tus workspaces hay que pasar el UUID.
mailboxNo
subjectNo
threadIdNo
directionYes
externalIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses that the email is bound to the credential's person and visible only to them, that repeated calls with the same externalId update rather than duplicate and even move the email between issues, that bodies are plain-text and truncated past 100000 characters with truncated=true in the response, a 200-email per person/issue cap, and a paid-plan gate. These details are consistent with the supplied hints (idempotentHint=true explains the externalId upsert, destructiveHint=true is consistent with overwriting/moving an existing email).

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?

Information density is high and the core purpose plus the no-send guarantee are front-loaded, but the rest is a single run-on paragraph mixing visibility rules, idempotency, per-field syntax, truncation, quotas, and pricing. Splitting parameter notes from behavioral constraints would make it easier to scan.

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?

For an 11-parameter mutation with no output schema, the description covers nearly everything an agent needs: visibility, idempotency and move semantics, field formats, truncation with the response flag, quota, and plan gating. Only the unmentioned subject field leaves a small gap.

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

Parameters4/5

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

Schema coverage is only 9%, so the description carries most of the burden, and it does: it defines externalId's origin-scoped meaning and upsert behavior, the allowed direction values, the from/to/cc address formats, the date formats and its role in ordering the thread, and the optional threadId and mailbox. The only undocumented parameter is subject, which appears in the schema but is never mentioned.

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?

States a specific verb and resource ("Guarda en una issue un correo relacionado con ella") plus the reader-facing outcome ("para que su dueño lea el hilo en la ficha"). It explicitly distinguishes itself from a send operation ("NO envía nada: Hilbana solo lo muestra") and from listing/deleting siblings implied by the catalog.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear situational trigger (attaching a received or sent email to an issue so its owner can read the thread in the card) and an explicit exclusion (nothing is sent, it is display only). It does not name a concrete alternative such as list_emails or get_message for retrieval, so routing is only partly covered.

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