Skip to main content
Glama

get_campaign

Read-onlyIdempotent

Full campaign payload including sequence tree, account assignments, daily limits, schedule reference, and runner status. Use list_campaigns to find ids or for a lighter summary, and get_campaign_stats for numbers and the step-by-step funnel. An unknown id returns a not-found error.

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

Input Schema

NameRequiredDescriptionDefault
campaign_idYesId of the campaign (from list_campaigns).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuine context beyond them by disclosing the error behavior for an unknown id and by characterizing the payload as a full/heavy object. It stops short of noting payload size or cost implications for large sequence trees, but that is a minor gap given the annotation coverage.

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 short sentences with the payload contents front-loaded, followed by routing guidance and then the error case. Every clause carries information an agent needs; no filler or restatement of the name.

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?

With no output schema, the description must convey what comes back, and it does so by enumerating the payload sections. Combined with the sibling routing and not-found behavior, an agent can decide to call it and interpret the result without further context.

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?

There is one parameter at 100% schema description coverage, and the schema already documents it as the campaign id sourced from list_campaigns. The description's 'use list_campaigns to find ids' repeats that same information rather than adding format, validation, or resolution detail, so baseline 3 applies.

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?

States a specific verb and resource (fetch the full campaign payload) and enumerates exactly what that payload contains: sequence tree, account assignments, daily limits, schedule reference, runner status. It is immediately distinguishable from list_campaigns (lighter summary) and get_campaign_stats (numbers/funnel).

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?

Names both relevant alternatives and the condition that selects each: list_campaigns for discovering ids or a lighter summary, get_campaign_stats for metrics and the step-by-step funnel. It also flags the failure case (unknown id returns not-found), leaving nothing to inference.

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