Skip to main content
Glama

Octolane

schedule_bulk_emails

Destructive

Schedule 1–10 emails for future delivery via the user's connected Gmail mailbox(es). Before calling, recap each draft (recipients, subject, body, scheduled_at in the user's local time) and confirm with the user. Use ONE call for multiple drafts; do not loop. Each scheduled_at must be ISO 8601 with timezone offset; interpret natural-language times like 'tomorrow 9am' against the user's timezone. Returns a per-draft results array so partial failures are visible (e.g. unconnected sender, past scheduled_at). Each draft fans out into one row per to recipient - capture the returned scheduled_mail_ids if the user may want to edit or cancel later.

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": {
      "drafts": "<drafts>"
    },
    "name": "schedule_bulk_emails"
  }
}

Input Schema

NameRequiredDescriptionDefault
draftsYesUp to 10 drafts to schedule in one call
session_idNoThe ID of the task this call belongs to. Leave it out on your first call. On every later call for the same task, send the ID an earlier result gave you, and pass it to any subagent working on that task.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=false, yet the description still adds substantive behavior beyond them: a per-draft results array so partial failures are visible (unconnected sender, past scheduled_at), fan-out into one row per `to` recipient, and advice to retain `scheduled_mail_ids` for later edit/cancel. This tells the agent what the response looks like and how failures surface, which the annotations alone cannot.

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?

Five tight sentences, front-loaded with purpose and scope, then procedure, then input format, then return behavior. No filler or repetition of the schema, and each sentence carries a distinct actionable fact.

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?

With no output schema, the description supplies the return contract (per-draft results, fan-out per recipient, scheduled_mail_ids) and names the realistic failure modes. Combined with 100% schema coverage on the two parameters, nothing an agent needs to call this correctly is missing.

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 description coverage is 100%, so the schema already documents `from`, `scheduled_at` bounds and the drafts array. The description still adds meaning by requiring ISO 8601 with timezone offset and instructing the agent to resolve natural-language times like 'tomorrow 9am' against the user's timezone, plus the 1-10 batching limit. That is genuine added semantics over a fully-documented schema.

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 first sentence states a specific verb (schedule), resource (emails), scope (1-10, future delivery) and delivery channel (the user's connected Gmail mailboxes). It is instantly distinguishable from the read-oriented sibling like search_emails, and an agent knows exactly what action is being taken.

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?

It gives explicit procedural guidance: recap recipients/subject/body/scheduled_at in the user's local time and confirm before calling, and use ONE call rather than looping. That is a clear when-and-how-to-use rule with an explicit prohibition. It stops short of naming an alternative tool for single-email or non-scheduled sends, so it is not a full when/when-not/alternatives statement.

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