Skip to main content
Glama

Read a batch calling campaign

get_call_campaign
Read-onlyIdempotent

Read a batch calling campaign

Returns one campaign with its current counters: how many numbers it holds and how many calls have succeeded, failed or are still waiting. batchId stays null until the campaign is submitted. The counters are the ones stored on the campaign record and are updated as call results arrive, so poll this endpoint to follow a running campaign. It is guarded by the read:agents scope rather than a scope of its own.

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": {
      "campaignId": "<campaignId>"
    },
    "name": "get_call_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaignIdYesIdentifier of the campaign. A non-numeric value is rejected with 400.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered. The description adds genuinely new behavior: counters are read from the campaign record and update as results arrive (eventual consistency), `batchId` stays null until submission, and the endpoint requires the `read:agents` scope rather than its own. That is meaningful context an agent cannot get from annotations alone.

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?

The definition is front-loaded with the core purpose, then layers counters, polling semantics, and the scope note in a compact paragraph. Each sentence carries information; only the scope sentence is arguably tangential to invocation.

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 carries the burden of explaining the return value, and it does: counters for total numbers plus succeeded/failed/waiting calls, and the null-until-submitted `batchId`. Combined with 100% schema coverage and annotations, an agent has everything needed to call and interpret this tool.

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 100% and the single `campaignId` parameter is already documented with its 400-on-non-numeric behavior in the schema. The description adds no parameter-level meaning, though it does explain the related `batchId` return field; baseline 3 applies when the schema does the heavy lifting.

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?

The description states a specific verb and resource ('Read a batch calling campaign') and clarifies it returns exactly one campaign with counters, which implicitly separates it from the plural list_call_campaigns sibling. It stops short of naming any sibling explicitly, so differentiation relies on the singular/plural reading of the name.

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?

It gives a concrete usage context: 'poll this endpoint to follow a running campaign', which tells the agent when this tool is the right choice. It does not name alternatives or state exclusions (e.g., use list_call_campaigns to enumerate), so it falls short of full routing guidance.

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.