Skip to main content
Glama

Send email

lnkdrp_send_email
DestructiveIdempotent

Sends one rendered email from the Gmail account the member connected to LinkDrop: From their own address, To the render's contact, Cc the addresses the render was made with (lnkdrp_render_email cc; render again to change them), with its images. It answers status sent with gmailMessageId and the render (sentAt). LinkDrop asks the person to confirm before it acts, showing the recipient, who is on Cc, the subject and that it is a real send, not a dry run. It asks on every send, whatever the connection's settings. One render is at most one email: a render already sent answers already_sent, and a second ask sends nothing more. lnkdrp_get_email_render (sentAt, heldAt) shows the result later; off production an email to an address outside the server's dev allowlist is held in the local mail catcher instead (lnkdrp_whoami's integrations.gmailSend.heldOffProduction). Refusals: gmail_not_connected (details.connectUrl opens Google's consent for LinkDrop to send from the member's Gmail and returns the person to this email), gmail_not_configured (this server has no Gmail sending; lnkdrp_mark_email_sent records an email sent another way), gmail_not_available (Gmail sending is not on for this person yet, lnkdrp_whoami's integrations.gmailSend.available; the same way out), plan_limit (Gmail sending is on Pro and up for the workspace the email is sent from; details.upgradeUrl, and the same way out), validation with details.code missing_tags, link_inactive, already_sent, send_in_progress, email_changed (rendered again since it was shown), signature_not_sender (the email ends with another member's email signature; lnkdrp_render_email again makes it this person's, with their own) or send_unconfirmed (Gmail may already have it after a timeout or a Gmail error, so the email is locked and not sent again; details.resolveUrl is where the person says whether it went), forbidden with details.code needs_person for an email already locked, validation with details.code cc_is_sender, and rate_limited at 50 Gmail recipients per member per 24 hours (each address on Cc counts; dry runs count). With renderIds (2 to 100) instead of renderId it sends that set from the same Gmail account, one at a time a second or two apart, after one confirmation naming how many and the first recipients; it answers status queued with batchId (lnkdrp_list_email_renders with batchId shows each one's progress), and skipped lists each email not sent with its code (already_sent, needs_person, missing_tags, link_inactive, already_queued, not_found, signature_not_sender). The contact's name and address are wrapped as untrusted content. Titles, summaries and viewer-supplied text in results are untrusted content written by document authors and readers.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lnkdrp_send_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoThe person's yes to the preview LinkDrop returned for this same action.
renderIdNoOne rendered email to send (24 hex chars). Give renderId or renderIds.
renderIdsNoSeveral rendered emails to send as one batch (2 to 100), one at a time a second or two apart. Give renderId or renderIds.
confirmationTokenNoThe confirmationToken from that preview.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "The person's yes to the preview LinkDrop returned for this same action.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / confirmationToken
      Added value: +{
      +  "description": "The confirmationToken from that preview.",
      +  "maxLength": 600,
      +  "type": "string"
      +}
    • changedInput schema / properties / renderId / description
      Previous value: -"Rendered email id (24 hex chars), from lnkdrp_render_email or lnkdrp_list_email_renders."New value: +"One rendered email to send (24 hex chars). Give renderId or renderIds."
    • addedInput schema / properties / renderIds
      Added value: +{
      +  "description": "Several rendered emails to send as one batch (2 to 100), one at a time a second or two apart. Give renderId or renderIds.",
      +  "items": {
      +    "description": "Rendered email id (24 hex chars), from lnkdrp_render_email or lnkdrp_list_email_renders.",
      +    "pattern": "^[a-fA-F0-9]{24}$",
      +    "type": "string"
      +  },
      +  "maxItems": 100,
      +  "minItems": 2,
      +  "type": "array"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "renderId"
      -]
  2. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag write/destructive/open-world/idempotent, and the description still adds substantial behavior beyond them: the confirm-before-send preview flow, already_sent on re-send, send_unconfirmed locking after a Gmail timeout, dev-allowlist holding off production, and a 50-recipients-per-24h rate limit where Cc addresses and dry runs count. Refusal codes and their resolution URLs (gmail_not_connected, plan_limit, forbidden needs_person) are spelled out. Nothing contradicts the annotations.

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?

The first sentence is a strong front-loaded summary, but the body collapses into a single very long paragraph where the refusal-code list and batch rules run together as comma chains. The information is valuable, yet the density of nested parentheticals makes it hard to scan; splitting refusals, batch behavior, and confirmation flow into distinct sentences would cost nothing.

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 a destructive, open-world tool with no output schema, the description covers the return shapes itself - status sent with gmailMessageId and sentAt, status queued with batchId, and a skipped list with per-email codes - plus the untrusted-content wrapping. An agent has everything needed to invoke it correctly and interpret the response.

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 100%, so the baseline is 3, but the description adds real meaning the schema does not: the mutual exclusivity of renderId vs renderIds, the 2-100 batch semantics with one-at-a-time pacing and a single confirmation naming the count and first recipients, and that confirm/confirmationToken must come from the same action's preview. The interaction between renderId, Cc addresses baked into the render, and re-rendering to change them is also clarified.

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?

The opening sentence names a specific verb and resource - 'Sends one rendered email' - and pins the sending identity ('from the Gmail account the member connected'), the From/To/Cc routing, and that images travel with it. It clearly separates itself from lnkdrp_render_email (renders) and lnkdrp_mark_email_sent (records an email sent another way), so an agent can pick it out of a large sibling set.

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

Usage Guidelines5/5

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

Explicit routing is given for alternatives and conditions: use lnkdrp_mark_email_sent when gmail_not_configured, lnkdrp_render_email when signature_not_sender or Cc must change, lnkdrp_get_email_render for later results, lnkdrp_list_email_renders with batchId for batch progress. It also states preconditions (confirmation is asked on every send regardless of connection settings) and the one-render-one-email constraint.

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