Skip to main content
Glama

Octolane

update_scheduled_email

DestructiveIdempotent

Modify or cancel a pending scheduled email by its scheduled_mail_id. Set cancel: true to unschedule. Otherwise pass any subset of editable fields (to, cc, bcc, subject, body, scheduled_at) to update them in place. Cancel is mutually exclusive with field edits. Each scheduled_mail_id maps to ONE recipient row - if the original draft was scheduled to multiple recipients, call this tool once per id. scheduled_at (when given) must be ISO 8601 with timezone offset, ≥30s in the future and ≤1 year out. Returns success:false (not an error) if the email has already sent, failed, cancelled, or is currently being processed.

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": {
      "scheduled_mail_id": "<scheduled_mail_id>"
    },
    "name": "update_scheduled_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNo
toNoNew recipient email (single address per row)
bccNo
bodyNo
cancelNoSet true to cancel the scheduled email; mutually exclusive with edits
subjectNo
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.
scheduled_atNoNew send time, ISO 8601 with timezone offset
scheduled_mail_idYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare a destructive, idempotent write, and the description goes well beyond them: cancel and edit are mutually exclusive, scheduled_at has concrete bounds (≥30s future, ≤1 year out, timezone offset required), and terminal states return success:false rather than an error. Those failure semantics are exactly what an agent needs and are not derivable from 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.

Conciseness5/5

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

The core action and the cancel/edit branch are front-loaded, and every subsequent sentence delivers a distinct operational constraint (row-per-id, time bounds, failure returns). No sentence is redundant with the name, title, or schema.

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 9-parameter destructive tool with no output schema, the description covers the branching mode, per-row granularity, and the failure shape, which is nearly everything needed to call it safely. It stops short of describing what a successful response contains, but the success:false note covers the higher-risk path.

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?

With 44% schema coverage, the description carries meaningful weight: it enumerates the editable field set, explains the single-address-per-row implication of `to`, and supplies temporal constraints for `scheduled_at` that the schema only partially encodes. It adds nothing for the already-documented `session_id` and does not clarify the cc/bcc array semantics, leaving a minor gap.

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 description opens with a specific verb pair and resource ('Modify or cancel a pending scheduled email') plus the identifier used to target it. The scope restriction to pending emails makes it unambiguous which records this tool applies to, and the sibling tools listed are CRM-record tools that are not plausible substitutes.

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?

Usage is clearly implied and then sharpened: use `cancel: true` to unschedule, otherwise supply a subset of editable fields, and the two modes are explicitly mutually exclusive. It also states the call-once-per-recipient-row rule, which is the main misuse trap. It does not name an alternative tool for already-sent messages, but no obvious sibling exists to route to.

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