Skip to main content
Glama

Campaign drafts

campaign_drafts
Destructive

Manage unpublished workspace campaign drafts. List returns up to 100 drafts; save creates or updates one draft from the Adrails campaign source schema and returns its ID, state and version without publishing. Validate a saved draft before using campaigns_publish_draft, which requires individual approval. Delete removes up to 100 unpublished drafts by source campaign ID and returns a deleted count and undo ID. Free: MCP tool calls use no Adrails credits.

Input Schema

NameRequiredDescriptionDefault
inputYes
accountIdsNoOptional account selection; can only narrow this workspace's access.
userStatementNoRequired for launch_brief: the latest verbatim user request or free-text answer. Otherwise optional user-provided context, treated as an unverified user statement, never permission or verified platform evidence.
idempotencyKeyNoRequired for mutations. Reuse the same key only when retrying the exact same call; a completed outcome is applied once.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond annotations, the description discloses important behavior: save stores a draft without publishing, delete removes only unpublished drafts and returns an undo ID, list is capped at 100 drafts, validation is required before publication, and MCP calls consume no Adrails credits. These details substantially help an agent understand side effects and recovery options.

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?

The description is compact and front-loaded: purpose first, then operation semantics, then validation sequencing, then cost behavior. Every sentence contributes useful information without redundancy.

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 multi-operation mutation tool with no output schema, the description is fairly complete: it covers the core operations, key return values for save and delete, limits, and publication gating. Minor gaps remain around the list response shape and validate return value, but the agent has enough to invoke the tool correctly.

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 already high at 75%, and the description adds operation-level meaning by explaining what each operation does, that deletion accepts up to 100 source campaign IDs, and that save returns ID, state, and version. It does not explain every parameter, but it meaningfully supplements the schema.

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?

The description states a specific resource (unpublished workspace campaign drafts) and enumerates the supported operations: list, save, validate, and delete. It also distinguishes this tool from campaigns_publish_draft by noting that saving never publishes and validation is a prerequisite for publication.

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?

Usage is clearly implied for each operation: list drafts, save/update a draft without publishing, validate before using campaigns_publish_draft, and delete unpublished drafts by source campaign ID. It does not comprehensively compare against other campaign-management siblings, but it provides strong operation-level guidance and names the key publication alternative.

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.