Skip to main content
Glama

Get Campaign Report

postly_get_campaign_report
Read-onlyIdempotent

Fetches the performance report for a Postly campaign: planned, scheduled, published, and failed content plus engagement where available. Optionally limit it to a period of 1 to 366 days. Requires campaigns.read.

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": {
      "workspace_id": "<workspace_id>",
      "campaign_id": "<campaign_id>"
    },
    "name": "postly_get_campaign_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNoOptional ISO 8601 start of the report period. Provide with until.
untilNoOptional ISO 8601 end of the report period. Provide with from.
campaign_idYesPostly campaign ID from postly_list_campaigns.
workspace_idYesPostly workspace ID.

Output Schema

NameRequiredDescriptionDefault
codeNo
dataNo
messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the description only needs to add beyond that. It does: the auth scope (campaigns.read), the date-window bound, and the honest caveat that engagement is present only "where available" — a real data-completeness signal an agent can plan around.

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?

Two sentences, front-loaded with what the tool returns, then the period constraint and the auth requirement. No filler and nothing repeated from the schema or annotations.

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 an output schema present and full parameter documentation, the description only needed to cover scope, auth, and the date-window rule — all of which it does. It is slightly thin on whether large reports are paginated or truncated, which is the one remaining gap for a report-style call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds meaning the schema lacks: the 1-to-366-day window that governs the from/until pair. The remaining parameters (campaign_id, workspace_id) are already well documented in the schema and need no restatement.

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 ("Fetches the performance report for a Postly campaign") and enumerates what the report contains (planned, scheduled, published, failed content plus engagement). This distinguishes it from metadata-oriented siblings like postly_get_campaign and postly_list_campaign_posts, though no sibling is named explicitly.

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?

Adds a concrete constraint for the optional period ("1 to 366 days") and a prerequisite ("Requires campaigns.read"), which helps an agent decide how to call it. However, it never says when to prefer this over postly_get_campaign or postly_get_account_analytics, and gives no exclusions.

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