Skip to main content
Glama

get_campaign_activity

Read-onlyIdempotent

The campaign's per-action audit trail (newest first), exactly what the runner did per lead: connection requests / messages / profile views dispatched, branch decisions, acceptances, bounces, completions. Far more granular than the funnel. Filter by prospect_id or status; paginate with limit + before.

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

Input Schema

NameRequiredDescriptionDefault
limitNoPage size (default 100, max 200).
beforeNoRFC3339(Nano) cursor, return rows older than this (created_at < before).
statusNoOnly events with this status.
campaign_idYesId of the campaign (from list_campaigns).
prospect_idNoOnly this prospect's events.

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?

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered. The description adds real context beyond that: results are ordered newest-first, rows represent discrete runner actions per lead, and the cursor is a backward-paging 'before' semantic. It does not describe row payload shape or whether the trail is complete versus sampled, which keeps it below 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?

Two sentences, front-loaded with what the tool returns and how it differs from the funnel, then the filtering/paging affordances. The event-type enumeration is long but earns its place by telling the agent what 'activity' actually means; a slight trim would make it tighter.

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 five-parameter read tool with no output schema but full annotations, the description covers ordering, granularity, filtering, and pagination — enough to call it correctly. It leaves the returned row structure implicit, but the event list compensates reasonably well for the absence of an output schema.

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%, with each of the five parameters documented including the status enum and the RFC3339(Nano) cursor. The description restates the filtering and pagination options ('filter by prospect_id or status; paginate with limit + before') but adds no syntax, defaults, or interaction details beyond the schema — the baseline 3 for full schema coverage.

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 — a per-action audit trail of what the runner did per lead — and enumerates the concrete event types (connection requests, messages, profile views, branch decisions, acceptances, bounces, completions). It also explicitly differentiates itself from get_campaign_funnel ('far more granular than the funnel'), so an agent can pick it apart from the sibling without opening a schema.

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?

Gives clear selection context: use this when per-lead granularity is needed, versus the funnel for aggregated views, plus how to narrow (prospect_id/status) and page (limit + before). It stops short of stating explicit exclusions, e.g. which sibling to use for campaign-level rollups or schedule status, so it is strong but not a full when/when-not map.

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