Skip to main content
Glama

Get campaign

get_campaign
Read-onlyIdempotent

Read one campaign: settings (sending window, timezone), step list, mailboxes and the Stats totals (sent, delivered, bounced, replied, unsubscribed, reply classification, opened/clicked when tracking is enabled). Use when the user asks how one campaign is set up or wants its headline numbers.

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

Input Schema

NameRequiredDescriptionDefault
idYesCampaign id (uuid).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the description doesn't need to restate safety. It does add value by disclosing the payload composition and one genuine behavioral nuance: opened/clicked figures appear only when tracking is enabled, which tells the agent to expect conditional fields.

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?

Two sentences, front-loaded with what is returned before the usage note. The parenthetical field list is dense but every item is informative rather than filler. No wasted framing or boilerplate.

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 no output schema, the description carries the burden of describing the return shape and does so field-by-field, which is the right call for a single-id read tool. Only gaps are error behavior for an unknown id and any sibling disambiguation, both minor here.

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?

Only one parameter (id) and the schema already documents it fully as a uuid, so there is nothing in the description that adds meaning beyond structured data. Baseline 3 applies since schema coverage is 100%.

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 and resource ('Read one campaign') and enumerates the return payload in concrete terms (settings, step list, mailboxes, Stats totals). An agent knows exactly what it gets back. It does not differentiate itself from the sibling get_campaign_stats, whose subject matter overlaps with the Stats portion described here.

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?

The second sentence gives an explicit usage trigger: 'when the user asks how one campaign is set up or wants its headline numbers.' That is clear context for selection. It stops short of naming when NOT to use it, and given the sibling get_campaign_stats exists, some disambiguation guidance is missing.

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.