Skip to main content
Glama

Get publishing stats

get_publishing_stats
Read-only

Statistics for posts published through Content Distributor: per-account and per-day counts of succeeded, failed, cancelled, and queued posts, plus failure reasons, split by day in UTC. Last 7 days; 28 days requires Pro Plus or above; 90 days follows the same plan tiers as the web app. All platforms are included. (Required scope: cd.analytics.read)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_publishing_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
platformNo
accountIdNo
workspaceIdNoOptional: id of the workspace to operate on (look it up with list_workspaces); if omitted, the default personal workspace is used. A developer API key can only use the workspace it is bound to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely non-structured context: results are bucketed by day in UTC, all platforms are included, and the call requires the cd.analytics.read scope. It stops short of noting default behavior when platform/accountId are omitted or whether missing accounts appear with zero counts.

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?

Three dense sentences that front-load the returned data before moving to constraints, with no filler. The telegraphic style ('Last 7 days; 28 days requires Pro Plus or above') is efficient, though the parenthetical scope note at the end is slightly easy to miss.

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?

There is no output schema, so the description carries the return-value burden and does so by listing the metric breakdown, failure reasons, and UTC day splitting. Combined with the plan-tier and scope notes, an agent could call this correctly; only the unexplained platform/accountId parameters and default filtering behavior keep it from being fully complete.

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 only 25% — only workspaceId is documented in the schema — so the description bears most of the parameter burden. It usefully explains the days window and its plan gating, but says nothing about what platform accepts (enum? name vs id?) or how accountId narrows the result, leaving two of four parameters semantically thin.

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 gives a specific verb and resource — statistics for posts published through Content Distributor — and enumerates the exact breakdown (per-account/per-day counts of succeeded, failed, cancelled, queued, plus failure reasons). An agent knows precisely what data comes back, but the description never names or contrasts the closest siblings such as get_post_metrics or get_analytics_summary, leaving that routing to the agent's inference.

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?

Plan-tier constraints are spelled out for the days values (7 days free, 28 days requires Pro Plus, 90 days follows web-app tiers, required scope cd.analytics.read), which is real usage guidance for selecting parameters. However, there is no guidance on when to choose this tool over the other analytics tools in the sibling set, so the usage framing is implied rather than explicit.

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.