Skip to main content
Glama

Get post counters

get_post_stats
Read-only

The dashboard counters in one call: posts created and published in the last 7 days, total scheduled, total waiting on an approver (pendingApprovalTotal), total sent back for edits (changesRequestedTotal — these are REJECTED posts, invisible to a PENDING_APPROVAL filter), and how many posts are scheduled on each of the next 7 days in the organization's timezone (upcoming, today first, zero days included).

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

Input Schema

NameRequiredDescriptionDefault
organizationIdNoOrganization to act in — an id from list_organizations. Required when this connection was authorized for more than one organization; omit it when there is only one.

Output Schema

NameRequiredDescriptionDefault
timezoneNo
upcomingNoExactly 7 days, today first, zero days included
scheduledTotalNo
createdLast7DaysNo
publishedLast7DaysNo
pendingApprovalTotalNo
changesRequestedTotalNoPosts an approver sent back for edits (status REJECTED, approvalStatus CHANGES_REQUESTED)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds meaningful behavioral context beyond annotations: counters cover a fixed 7-day window, changesRequestedTotal represents REJECTED posts invisible to a PENDING_APPROVAL filter, upcoming days are in the organization's timezone starting with today, and zero-count days are included.

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 a single dense sentence, but it is front-loaded with 'The dashboard counters in one call' and every clause supplies relevant counter detail. The parenthetical about changesRequestedTotal is useful, though the sentence is long and could be easier to scan if broken up.

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 read-only stats tool with an output schema, 100% parameter coverage, and clear annotations, the description is largely complete. It explains the counter semantics and edge cases like rejected-post visibility and zero days, though it could say more about how this aggregate view relates to the analytics siblings.

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% and the single organizationId parameter is fully documented in the schema, including when to omit it. The description adds no additional parameter semantics, so the baseline of 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 states a specific resource—dashboard counters—and enumerates exactly which counters are returned, including posts created/published in 7 days, scheduled totals, approval totals, and upcoming daily counts. It is clearly distinguishable from single-post tools, though it does not explicitly differentiate itself from analytics siblings like get_post_analytics or get_analytics_summary.

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 only implied by the phrase 'in one call' and by the list of aggregate metrics. There is no explicit guidance on when to choose this over get_post_analytics, get_analytics_summary, or get_top_posts, and no stated 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