Skip to main content
Glama

suggest_step_variant

Read-onlyIdempotent

Draft an alternative version of one sequence step (invite note or message) to A/B test, using how the step performs, recent reply themes and the sender's writing skill. Nothing is saved: show the draft to the user and add it as a variant with update_campaign if they want it.

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": {
      "campaign_id": "<campaign_id>",
      "step_id": "<step_id>"
    },
    "name": "suggest_step_variant"
  }
}

Input Schema

NameRequiredDescriptionDefault
step_idYesId of the message step to draft a variant for (the step's `id` in the campaign's sequence, see get_campaign).
campaign_idYesId of the campaign (from list_campaigns).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description still adds useful context beyond them: that even the draft is not persisted, and that the output is derived from step performance, recent reply themes and the sender's writing skill — telling the agent the draft is data-grounded rather than generic. It stops short of saying how long or what shape that draft takes.

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?

Two tight sentences: the first gives purpose and inputs, the second gives the side-effect posture and the follow-up action. Front-loaded and free of filler.

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 two-parameter, no-output-schema drafting tool, everything an agent needs is present: scope, data sources, non-persistence, and the exact next call to persist a variant with update_campaign.

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 100%, so both campaign_id and step_id are already documented, including where the ids come from. The description adds only a light framing (the step is an invite note or message), so the schema carries the load and baseline 3 applies.

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 (Draft) and a precisely scoped resource (an alternative version of one sequence step, restricted to invite note or message), and frames it as an A/B test artifact. This is clearly distinguishable from update_campaign, which the description names as the persistence path.

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?

The description says when to reach for it (to A/B test a step variant) and routes the follow-up explicitly: nothing is saved, so the agent must show the draft to the user and call update_campaign if they accept it. That is an explicit when-and-what-next with the alternative named.

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