Skip to main content
Glama

Campaign Opens

get_campaign_opens
Read-onlyIdempotent

List the contacts who opened a campaign: email, name, lists and time of the open. Paged (limit 1-100); optional date_from/date_to.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1)
limitNoRows per page, 1-100 (default 20)
date_toNoEnd date YYYY-MM-DD (account timezone)
date_fromNoStart date YYYY-MM-DD (account timezone)
campaign_idYesCampaign ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / campaign_id / description
      Previous value: -"Campaign ID,required"New value: +"Campaign ID"
  2. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description usefully adds the payload shape (email, name, lists, open time) and the pagination bound of 1-100, but says nothing about ordering, duplicate opens per contact, or maximum date span.

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 the resource and result fields, then the paging and filter constraints. Nothing is wasted, though the parenthetical could have carried a bit more (e.g. default page size) at no extra length.

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 returns and does so by listing the four exposed fields. Combined with the fully documented input schema and read-only annotations, an agent has enough to call it correctly; only ordering and pagination-total behavior are missing.

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 description coverage is 100%, so page, limit, date_from, and date_to are already documented with formats and defaults. The description only restates the limit range and the existence of the date filters, adding no meaning beyond the schema; baseline 3 is appropriate.

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 opens with a specific verb and resource ('List the contacts who opened a campaign') and enumerates the returned fields, which lets an agent separate it from the click/unsubscribe reporting siblings. It stops short of naming those siblings explicitly, so the differentiation is inferred 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the campaign-scoped framing and the optional date range, but there is no explicit statement of when to prefer this over get_campaign_clicks, get_campaign_unsubscribes, or analyze_campaign. Prerequisites, such as whether the campaign must be sent before opens exist, are absent.

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