Skip to main content
Glama

list_posts_with_metrics

Read-only

List EVERY published post in a date range, newest first, a page at a time, each with every number its platform reports (impressions, likes, comments, shares, engagement rate, and on LinkedIn profile viewers, members reached, saves, sends, follows, lift and clicks). Use it to build a full history or export ("all my posts this year with their stats"); for the best or worst few, use list_top_posts. Ranges may be longer than a year. When the reply ends with a cursor, call again with the same arguments plus that cursor for the next page; the last page has none. author works as on list_top_posts. Each row's post_id works with get_post_analytics and tag_published_post. Read-only.

Input Schema

NameRequiredDescriptionDefault
limitNoPosts per page (default 50, max 100).
authorNoWhose posts. "me" for the person asking, or a teammate's name. Omit for the whole workspace.
cursorNoThe cursor the previous page ended with. Omit for the first page.
periodNoRolling window ending today. Default 30d. For any other window, pass start_date/end_date instead.
end_dateNoOptional. Last day of a custom range, YYYY-MM-DD, inclusive. Defaults to today. Needs start_date.
platformNoOptional. Omit for every platform.
start_dateNoOptional. First day of the range, YYYY-MM-DD, in the user's timezone. Overrides `period`. Any length of range is allowed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/destructiveHint=false, and the closing 'Read-only' is consistent with that. The description goes further with behavior the annotations cannot express: cursor-based pagination ('when the reply ends with a cursor, call again with the same arguments plus that cursor'), page-size limits, and the fact that each row's post_id feeds get_post_analytics and tag_published_post. It stops short of describing metric timing/freshness or how per-platform figures differ, which is why it is not a 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?

Front-loaded with purpose and scope before alternatives and pagination mechanics, and nearly every sentence carries operational information. The long parenthetical listing every metric (profile viewers, members reached, saves, sends, follows, lift and clicks) is dense and slightly slows scanning, though it does inform the agent what comes back.

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 7-parameter read tool with no output schema, the description covers the scope, the shape of each row, the pagination contract, and downstream tool chaining — enough to invoke correctly. What is missing is return-volume guidance beyond page size and any note on metric freshness or empty-range behavior.

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 every parameter already carries its own documentation; this sets the baseline at 3. The description adds only marginal semantics — that `author` behaves as on list_top_posts and that cursor must be paired with identical arguments — but leaves the period/start_date override relationship and platform enum behavior to the schema.

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 plus scope: 'List EVERY published post in a date range, newest first, a page at a time.' It also enumerates the metric payload and explicitly separates itself from list_top_posts, so an agent can distinguish it from list_recent_posts, search_posts and list_top_posts without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives a concrete when-to-use ('build a full history or export') and names the alternative for the contrasting case ('for the best or worst few, use list_top_posts'). It also pre-empts a likely misuse by stating ranges may exceed a year, removing the ambiguity that might push an agent toward period-based windows.

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