Skip to main content
Glama

miel_enviar_mensaje

Sends a MIeL message on the user's behalf to specified recipients with an optional attachment; irreversible, so confirm text and recipients before use.

Instructions

Manda un mensaje por la mensajería de MIeL a nombre del usuario, con un adjunto opcional. No se puede deshacer: usalo sólo si el usuario lo pidió, y confirmá con él destinatarios y texto si los redactaste vos.

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": {
      "materia": "<materia>",
      "para": "<para>",
      "asunto": "<asunto>",
      "texto": "<texto>"
    },
    "name": "miel_enviar_mensaje"
  }
}

Input Schema

NameRequiredDescriptionDefault
paraYesNombres (o ids de miel_destinatarios). Ej: ['caltana martin'].
textoYesTexto plano; cada línea va como un párrafo.
asuntoYes
adjuntoNoRuta de un archivo local para adjuntar (máx. 40 MB).
materiaYesId de comisión, código o parte del nombre. Ej: 'prog avanzada'.

Output Schema

NameRequiredDescriptionDefault
idYesId del mensaje en tu bandeja de Enviados.
paraYes
asuntoYes
adjuntoNo
materiaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4/5.0
Behavior4/5

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

Annotations declare openWorldHint=true and idempotentHint=false, and the description reinforces this by warning that the send cannot be undone and that the agent must confirm recipients and text before acting. That is genuine behavioral context (real-world side effect, irreversibility, human-in-the-loop requirement) beyond the structured hints. The apparent tension with destructiveHint=false is a wording nuance — irreversible delivery is not data destruction — rather than a contradiction.

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?

Two sentences, front-loaded with the action and the optional attachment, then the risk and confirmation protocol. Nothing is redundant or padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a send tool with an output schema (so return values need no explanation), the description covers the essential risks: external delivery, no undo, and required user confirmation. Minor omissions like rate limits or what happens when a recipient name is ambiguous are not blocking for correct invocation.

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 80%, with descriptions already covering recipients (names or miel_destinatarios ids), plain-text body line handling, and the 40 MB attachment limit. The prose only restates 'optional attachment' and 'on behalf of the user', adding essentially no syntax or format meaning beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource (send a message through MIeL messaging on behalf of the user) plus the optional-attachment scope. An agent can tell this is a write/send operation distinct from the read-oriented siblings like miel_mensajes or miel_mensaje, though no sibling is named explicitly.

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 an explicit gate: use only when the user requested it, and confirm recipients and body text with the user if the agent drafted them. That is a concrete when-to-use condition rather than an implied one. No named alternative tool or exclusion case is offered, which keeps it short of a 5.

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