Skip to main content
Glama

List Posts

list_posts
Read-only

List posts with filters. Returns paginated results. workspaceId is required. Statuses: SCHEDULED, PUBLISHED, CANCELLED, RESCHEDULED.

Set includeMetrics to true to attach each post's latest performance figures (views, likes, comments, shares, engagement rate). Use this to compare how posts performed instead of fetching them one at a time. A null metrics field means no analytics have been collected for that post, which is different from zero.

Input Schema

NameRequiredDescriptionDefault
toNoPosts scheduled before this date (ISO 8601)
fromNoPosts scheduled after this date (ISO 8601)
pageNoPage number (default: 1)
limitNoPosts per page (default: 20, max: 100)
statusNoFilter by post status
platformNoFilter by platform
workspaceIdYesThe workspace ID (required)
includeMetricsNoAttach latest performance metrics to each post (default: false)
socialAccountIdNoFilter by social account ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "FACEBOOK",
      -  "INSTAGRAM",
      -  "X",
      -  "LINKEDIN",
      -  "TIKTOK",
      -  "YOUTUBE",
      -  "THREADS",
      -  "BLUESKY",
      -  "PINTEREST",
      -  "GOOGLE_BUSINESS"
      -]New value: +[
      +  "FACEBOOK",
      +  "INSTAGRAM",
      +  "X",
      +  "LINKEDIN",
      +  "TIKTOK",
      +  "YOUTUBE",
      +  "THREADS",
      +  "BLUESKY",
      +  "PINTEREST",
      +  "GOOGLE_BUSINESS",
      +  "TELEGRAM"
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral context beyond that: results are paginated, workspaceId is mandatory, and the null-vs-zero metrics distinction prevents a common misreading. It omits return ordering and total-count behavior, keeping it short of 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads purpose, scope and pagination in the first sentence, then devotes the second paragraph solely to the non-obvious metrics option. Every sentence carries information; the enumeration of statuses is the only mild redundancy.

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?

Nine parameters with a required workspace and no output schema—the description covers pagination, the required param, status vocabulary and the metrics payload well enough to call the tool correctly. It leaves the response envelope (items array, total pages) and default sort order undocumented, which a caller would want before building on the results.

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, and the description earns above that by explaining includeMetrics semantics and what a null metrics value means, which the schema alone does not convey. Status values are restated from the enum, adding little, and the to/from date-filter semantics are left entirely to the schema.

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 ('List posts with filters') plus pagination and the required workspace scope. It distinguishes itself from the sibling get_post only obliquely ('instead of fetching them one at a time') rather than naming it, so an agent can infer the split but must do a little work.

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

Usage Guidelines4/5

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

Gives an explicit usage scenario for includeMetrics with a rationale ('compare how posts performed instead of fetching them one at a time'), which effectively routes the agent away from repeated get_post calls. It offers no guidance on when to filter by status/platform versus listing broadly, and no exclusions for the other list_* siblings.

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