Skip to main content
Glama

Preview a sequence email

preview_sequence
Read-only

Render each step of an email sequence for a selected row as it will be sent, and identify any missing template variables before launch.

Instructions

Render every step of a sequence for one row (the first row by default), exactly as it will be sent, plus any template variables that row is missing.

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": {
      "sequence_id": "<sequence_id>"
    },
    "name": "preview_sequence"
  }
}

Input Schema

NameRequiredDescriptionDefault
row_idNo
sequence_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is fully covered. The description adds useful context beyond that: it renders all steps, it falls back to the first row when row_id is omitted, and it reports missing template variables. It stops short of saying what happens when the sequence or row does not exist, whether anything is persisted, or how the output is shaped.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

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

A single front-loaded sentence with no filler. Every clause does useful work: the main action, the default row behavior, and the extra output about variables. Slightly dense, but there is no padding to remove.

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 two-parameter read-only preview with no output schema, the description covers purpose, the default for row_id, and the return content, which is adequate. Gaps are minor: the error cases when the sequence or row is invalid and the exact shape of the rendered output remain unstated. Because there is no output schema, one more sentence on return shape would have helped.

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 description coverage is 0% and the description does most of the work here. "For one row (the first row by default)" tells the agent that row_id is optional and sets its fallback, and sequence_id is implied by "a sequence." Given a schema with zero descriptions, the description compensates only partly, since it says nothing about formats like IDs versus names. The result is a low baseline with sufficient recovery for a mid score overall.

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?

Specific verb and resource: "Render every step of a sequence for one row... exactly as it will be sent." This clearly separates it from mutation siblings like create_sequence or when a different tool might be intended (send_test_email) is never addressed. Distinguishing it from send_test_email is a real gap, but the description does state a concrete, non-tautological purpose.

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

Usage Guidelines3/5

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

The clause "for one row (the first row by default)" tells the agent how to scope a call, which implies when the tool applies. But there is no explicit "use this when..." or "use X instead for..." routing, and no clear signal about when it should be used rather than send_test_email. The closest sibling does the same kind of preview for a real send, and the description never mentions that.

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