Skip to main content
Glama

Preflight a campaign

preflight_campaign
Read-onlyIdempotent

Check whether a campaign can launch: sequence, contacts, attached mailboxes and their warm-up. Returns blocking checks with hints.

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>"
    },
    "name": "preflight_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idYesCampaign id from create_campaign.
workspace_idNoWorkspace id. Optional: defaults to the workspace picked at sign-in or bound to the API key.

Output Schema

NameRequiredDescriptionDefault
linksYes
readyNo
checksNo
countsNo
statusNo
next_stepYesWhat to do next, in one sentence.
campaign_idNo
launch_readyNo
workspace_idNo
blocking_failuresNo
attached_mailboxesNo
mailboxes_not_readyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Workspace id. Optional when the API key belongs to a single workspace."New value: +"Workspace id. Optional: defaults to the workspace picked at sign-in or bound to the API key."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description's only added behavior is that results come back as blocking checks with hints, which is useful but thin given an output schema exists.

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?

A single sentence that front-loads the core question ('can it launch') and then lists the checked surfaces. Zero filler and nothing to trim.

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?

With a full output schema and full annotation coverage, the description only needs to orient the caller, and it does — including a note that results are blocking checks with hints. It could still say more about ordering relative to launch_campaign, but nothing essential is missing.

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%: campaign_id is documented as coming from create_campaign and workspace_id explains its defaulting behavior. The description adds no parameter meaning beyond that, so the baseline 3 applies.

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?

States a specific verb ('Check whether a campaign can launch') and enumerates the validated scope: sequence, contacts, attached mailboxes and warm-up. That is far more informative than the title alone, though it never names the sibling it complements (launch_campaign) or distinguishes itself from adjacent checks like check_domains or get_warmup_status.

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 phrase 'can launch' implies this is a pre-launch gate, which most agents will infer correctly. However, there is no explicit when/when-not guidance or routing against the several overlapping check tools (check_domains, check_copy, get_warmup_status) that a caller must choose between.

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