Skip to main content
Glama

List posts

list_posts
Read-only

List posts (calendar / queue). Optional filters: month (YYYY-MM), status. Pass limit to get only what you need (e.g. limit 5 + order "newest" for the most recent posts). Page with offset while hasMore is true.

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": "list_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax posts to return (1-50). Defaults to 20, or up to 100 posts of the month when month is set
monthNoCalendar month, e.g. "2026-04"
orderNoupcoming (default): scheduled posts still to go out, soonest first. With a month or another status filter, the default is that filter's posts by scheduled time. newest: most recently created first. recently_published: latest published first. recently_updated: most recently changed first
offsetNoSkip this many posts (for paging)
statusNoFilter by status; omit for no status filter. failed = every platform failed; has_failed = finished posts where any platform failed, including posts that published elsewhere (posts still publishing or waiting to retry are left out); each post then has failed_at

Output Schema

NameRequiredDescriptionDefault
postsYes
hasMoreNo
nextOffsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / status / description
      Previous value: -"Filter by status; omit for no status filter. failed = every platform failed; has_failed = any platform failed, including posts that published elsewhere"New value: +"Filter by status; omit for no status filter. failed = every platform failed; has_failed = finished posts where any platform failed, including posts that published elsewhere (posts still publishing or waiting to retry are left out); each post then has failed_at"
    • addedOutput schema / properties / posts / items / properties / failed_at
      Added value: +{
      +  "description": "With status has_failed: the latest time a platform of this post failed. It doesn't change while a post is retried, so it tells a new failure from one already seen",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / posts / items / properties / post_variants / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": {},
      -      "properties": {
      -        "connected_account_id": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "content": {
      -          "description": "Caption for this platform/account",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "error_message": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "id": {
      -          "type": "string"
      -        },
      -        "permalink": {
      -          "description": "Exact link to the published post when the platform gave one; otherwise build it from platform_post_id",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "platform": {
      -          "description": "Platform id, e.g. instagram, linkedin",
      -          "type": "string"
      -        },
      -        "platform_post_id": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "published_at": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "status": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "platform"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "connected_account_id": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "content": {
      +          "description": "Caption for this platform/account",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "error_message": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "failed_at": {
      +          "description": "With status has_failed: when this platform failed (null when it didn't)",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "permalink": {
      +          "description": "Exact link to the published post when the platform gave one; otherwise build it from platform_post_id",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "platform": {
      +          "description": "Platform id, e.g. instagram, linkedin",
      +          "type": "string"
      +        },
      +        "platform_post_id": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "published_at": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "status": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "platform"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / order / description
      Previous value: -"upcoming (default): by scheduled time, soonest first. newest: most recently created first. recently_published: latest published first. recently_updated: most recently changed first"New value: +"upcoming (default): scheduled posts still to go out, soonest first. With a month or another status filter, the default is that filter's posts by scheduled time. newest: most recently created first. recently_published: latest published first. recently_updated: most recently changed first"
    • removedOutput schema / properties / counts
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "additionalProperties": {},
      -      "properties": {
      -        "drafts": {
      -          "type": "number"
      -        },
      -        "failed": {
      -          "type": "number"
      -        },
      -        "published": {
      -          "type": "number"
      -        },
      -        "scheduled": {
      -          "type": "number"
      -        },
      -        "total": {
      -          "type": "number"
      -        }
      -      },
      -      "required": [
      -        "total",
      -        "scheduled",
      -        "published",
      -        "drafts",
      -        "failed"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "description": "Workspace-wide totals per status"
      -}
  3. Changed2 schema fields changed
    • changedInput schema / properties / status / description
      Previous value: -"Filter by status; omit for no status filter"New value: +"Filter by status; omit for no status filter. failed = every platform failed; has_failed = any platform failed, including posts that published elsewhere"
    • changedInput schema / properties / status / enum
      Previous value: -[
      -  "scheduled",
      -  "published",
      -  "draft",
      -  "failed",
      -  "all"
      -]New value: +[
      +  "scheduled",
      +  "published",
      +  "draft",
      +  "failed",
      +  "has_failed",
      +  "all"
      +]
  4. Changed1 schema field changed
    • changedOutput schema / properties / posts / items / properties / post_variants / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": {},
      -      "properties": {
      -        "connected_account_id": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "content": {
      -          "description": "Caption for this platform/account",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "error_message": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "id": {
      -          "type": "string"
      -        },
      -        "platform": {
      -          "description": "Platform id, e.g. instagram, linkedin",
      -          "type": "string"
      -        },
      -        "platform_post_id": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "published_at": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "status": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "platform"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "connected_account_id": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "content": {
      +          "description": "Caption for this platform/account",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "error_message": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "permalink": {
      +          "description": "Exact link to the published post when the platform gave one; otherwise build it from platform_post_id",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "platform": {
      +          "description": "Platform id, e.g. instagram, linkedin",
      +          "type": "string"
      +        },
      +        "platform_post_id": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "published_at": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "status": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "platform"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / limit / description
      Previous value: -"Max posts to return (1-50). Defaults to 20, or the whole month when month is set"New value: +"Max posts to return (1-50). Defaults to 20, or up to 100 posts of the month when month is set"
  6. Changed13 schema fields changed
    • removedOutput schema / properties / hasMore / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / hasMore / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
    • removedOutput schema / properties / nextOffset / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / nextOffset / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / posts / items / properties / created_at / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / posts / items / properties / created_at / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / posts / items / properties / post_variants / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": {},
      -      "properties": {
      -        "connected_account_id": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "content": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Caption for this platform/account"
      -        },
      -        "error_message": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "id": {
      -          "type": "string"
      -        },
      -        "platform": {
      -          "description": "Platform id, e.g. instagram, linkedin",
      -          "type": "string"
      -        },
      -        "platform_post_id": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "published_at": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "status": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "platform"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "connected_account_id": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "content": {
      +          "description": "Caption for this platform/account",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "error_message": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "platform": {
      +          "description": "Platform id, e.g. instagram, linkedin",
      +          "type": "string"
      +        },
      +        "platform_post_id": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "published_at": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "status": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "platform"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / posts / items / properties / published_at / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / posts / items / properties / published_at / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / posts / items / properties / raw_prompt / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / posts / items / properties / raw_prompt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / posts / items / properties / scheduled_at / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / posts / items / properties / scheduled_at / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  7. Changed4 schema fields changed
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Max posts to return (1-50). Defaults to 20, or the whole month when month is set",
      +  "maximum": 50,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Skip this many posts (for paging)",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / order
      Added value: +{
      +  "description": "upcoming (default): by scheduled time, soonest first. newest: most recently created first. recently_published: latest published first. recently_updated: most recently changed first",
      +  "enum": [
      +    "upcoming",
      +    "newest",
      +    "recently_published",
      +    "recently_updated"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / status / enum
      Previous value: -[
      -  "scheduled",
      -  "published",
      -  "draft",
      -  "all"
      -]New value: +[
      +  "scheduled",
      +  "published",
      +  "draft",
      +  "failed",
      +  "all"
      +]
  8. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "counts": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "drafts": {
      +              "type": "number"
      +            },
      +            "failed": {
      +              "type": "number"
      +            },
      +            "published": {
      +              "type": "number"
      +            },
      +            "scheduled": {
      +              "type": "number"
      +            },
      +            "total": {
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "total",
      +            "scheduled",
      +            "published",
      +            "drafts",
      +            "failed"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "Workspace-wide totals per status"
      +    },
      +    "hasMore": {
      +      "anyOf": [
      +        {
      +          "type": "boolean"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "nextOffset": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "posts": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "created_at": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "media_urls": {
      +            "anyOf": [
      +              {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "post_variants": {
      +            "anyOf": [
      +              {
      +                "items": {
      +                  "additionalProperties": {},
      +                  "properties": {
      +                    "connected_account_id": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "content": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "Caption for this platform/account"
      +                    },
      +                    "error_message": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "id": {
      +                      "type": "string"
      +                    },
      +                    "platform": {
      +                      "description": "Platform id, e.g. instagram, linkedin",
      +                      "type": "string"
      +                    },
      +                    "platform_post_id": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "published_at": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "status": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "id",
      +                    "platform"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "One entry per platform/account"
      +          },
      +          "published_at": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "raw_prompt": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "scheduled_at": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "status": {
      +            "description": "draft | scheduled | publishing | published | failed",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "status"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "posts"
      +  ],
      +  "type": "object"
      +}
  9. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds a useful pagination loop (offset while hasMore is true) but says nothing additional about result volume defaults or error behavior beyond what the schema and output schema already convey.

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?

Three tight sentences: purpose first, then filters, then limit/order advice, then paging. Every sentence carries actionable information and nothing is repeated verbatim from the schema.

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 rich annotations, 100% schema coverage, and an output schema, the description covers what an agent needs: filter options, an ordering example, and the pagination loop. Only explicit sibling routing is missing, which keeps it from a 5.

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 order/status enums are fully documented in the schema, so the baseline is 3. The description adds one example combination (limit 5 + order "newest") and restates the month format, which is modest incremental value rather than new semantics.

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?

"List posts (calendar / queue)" gives a specific verb and resource plus a hint at scope, which clearly separates it from the singular get_post sibling. It falls short of a 5 because it never explicitly contrasts itself with siblings like get_post or get_analytics.

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?

Provides concrete usage guidance: pass limit with order "newest" for recent posts, and page with offset while hasMore is true. It does not say when-not to use it or when to prefer get_post/get_analytics, so it stops short of full alternative routing.

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