Skip to main content
Glama

campaigns_get

Returns the full campaign record. When diagnosing 'why isn't this campaign sending?', inspect these fields in order:

  1. is_active — false means paused/draft; flip with campaigns_activate.

  2. add_limit — 0 disables automatic enrolment (campaign stays active but no new leads are pulled from the segment). Manual campaigns_add_leads bypasses the cap. Positive values cap NEW enrolments per UTC day.

  3. current_add_count vs add_limit — if equal, today's quota is exhausted; resets at UTC midnight (last_add_reset_at).

  4. list_stats.available — how many segment leads are eligible right now. 0 with total > 0 usually means already-enroled, missing email, or bounced.

  5. is_autopilot_enabled — if false, messages sit in REVIEW_REQUIRED until approved via messages_approve.

Method: GET /api/v1/workspaces/{workspace_sqid}/campaigns/{sqid}/

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": {
      "sqid": "<sqid>"
    },
    "name": "campaigns_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose the read-only GET method plus the semantics of the returned fields, including the non-obvious trap that add_limit=0 disables enrolment while the campaign stays active. It omits auth/permission requirements and error behavior (e.g. missing or unauthorized sqid), so it stops short of a 5.

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?

Front-loaded with the one-line purpose, then a numbered diagnostic list that is scannable and ordered by inspection priority. It is longer than typical, but each numbered item maps to a distinct field an agent would otherwise misread, so the length is largely earned.

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 must explain return values, and it covers the decision-critical fields (is_active, add_limit, current_add_count, list_stats.available, is_autopilot_enabled) with their edge cases. It does not enumerate the rest of the record or describe failure modes, so it is strong but not exhaustive.

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 coverage is 0% for the single sqid parameter, and the description never defines it in prose. The 'Method: GET /api/v1/workspaces/{workspace_sqid}/campaigns/{sqid}/' line does imply sqid is the campaign identifier and that a workspace context exists, but format and sourcing of the value are left unstated.

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 ('Returns the full campaign record') and the word 'full' implicitly contrasts with the list sibling campaigns_list. It never names campaigns_list explicitly, so the differentiation is inferential rather than stated.

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?

Gives an explicit triggering scenario ('why isn't this campaign sending?') and then routes the agent to concrete alternatives for each finding — campaigns_activate for is_active, campaigns_add_leads for the cap, messages_approve for REVIEW_REQUIRED. That is when-to-use plus named alternatives, which is the top of the scale.

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.