Skip to main content
Glama

Edit an email step

update_step
Idempotent

Change a step of a draft or paused campaign: subject/body/content_format/append_signature edit variant A; name and delay_days edit the step. Other variants are untouched (update_variant). Returns the full step list.

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": {
      "id": "<id>",
      "step_id": "<step_id>"
    },
    "name": "update_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCampaign id (uuid).
bodyNo
nameNo
step_idYesStep id from list_steps.
subjectNo
delay_daysNo
content_formatNo
append_signatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare not-readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds genuinely useful behavioral detail — the field-to-target routing and that the call returns the full step list — but says nothing about required permissions or failure behavior on a non-draft campaign, which is the highest-risk edge case here.

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?

Dense and front-loaded with zero filler; the scope constraint and field routing appear in the first sentence. 'variant A' is used without explanation, which is a minor comprehension cost for an otherwise tight description.

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 an 8-parameter mutation tool with sparse schema descriptions and no output schema, the definition covers scope, field routing, and return shape. Remaining gaps are permissions/authorization and the delay semantics, which are secondary but not trivial.

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 only 25% (just id and step_id documented), so the description has to compensate, and it largely does: it maps six of the eight parameters onto their targets (variant A vs step). It still leaves delay_days' meaning (delay before send) and its 0+ bound unexplained.

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?

States a specific verb and resource ('Change a step of a draft or paused campaign') and immediately scopes it: subject/body/content_format/append_signature edit the variant, name/delay_days edit the step. An agent can distinguish this from update_variant, add_step, and delete_step from the text alone.

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 a real precondition ('draft or paused campaign') and names the alternative for other variants ('Other variants are untouched (update_variant)'). It does not explicitly say what happens or what to do if the campaign is active, so the when-not side is only implied.

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.