Skip to main content
Glama

Check a campaign is ready to send

get_campaign_readiness
Read-only

Check everything a campaign needs before it can send, for BOTH campaign types, and get the confirmation token required to send. Reports each check with the tool that fixes it, plus warnings that do not block. RUNS NOTHING — no lead is queued and no email is sent, so it is always safe to call. When everything passes it returns a single-use token valid for five minutes: show the user the recipient count and mailboxes it reports, get their answer, and only then call launch_campaign or approve_leads.

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": "get_campaign_readiness"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idYesThe campaign to check. Works for both single and multi campaigns.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.9/5.0
Behavior5/5

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

Annotations declare readOnlyHint=true and destructiveHint=false, and the description reinforces rather than repeats this by specifying exactly what is NOT done ("no lead is queued and no email is sent"). It adds behavior annotations cannot express: the token is single-use with a five-minute validity, the response itemizes each check with the sibling tool that fixes it, and non-blocking warnings are separated from blockers. This also implicitly explains why the tool is not idempotent despite being read-only.

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?

Three sentences ordered by importance: what it does, that it is side-effect free, then the token workflow. The safety claim is front-loaded with an em-dash and every clause carries information an agent needs before or after the call.

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?

There is no output schema, yet the description tells the agent what comes back: per-check results paired with the fixing tool, non-blocking warnings, a recipient count, mailboxes, and the token. For a single-parameter pre-flight gate, nothing an agent needs to call it correctly or act on its result is missing.

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 one parameter at 100% schema coverage, the schema already carries the meaning (UUID, "works for both single and multi campaigns"). The description reinforces the dual-type scope but adds no new constraint, format, or edge-case guidance for campaign_id, so it sits at the baseline-plus rather than exceeding it.

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?

"Check everything a campaign needs before it can send, for BOTH campaign types, and get the confirmation token required to send" gives a specific verb (check), a specific resource (campaign), and names the artifact produced (confirmation token). The explicit "BOTH campaign types" also closes the scope question an agent would otherwise have to infer from the schema.

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 states the trigger (before a send), the follow-on action ("only then call launch_campaign or approve_leads"), and the required human-in-the-loop step (show recipient count and mailboxes, get their answer). Alternatives are named and the ordering between this tool and its siblings is unambiguous.

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