Skip to main content
Glama

List posts

list_posts
Read-onlyIdempotent

List posts newest first, 50 per page, without content. Published by default; set status draft for drafts. projectId takes an ID or slug. Filter by author, tag, created or published dates, release details, source, or text. Sort by createdAt, updatedAt, or lastPublishedAt and set order; with updatedSince the oldest change comes first. Pass nextCursor as cursor until hasMore is false, even if posts is empty, and keep the other arguments unchanged. Each post has id, identifier, title, status, author, project and webUrl. Use get_post for content.

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
qNoMatch words in the title or text. Not with updatedSince or includeDeleted.
sortNoDefault createdAt; updatedAt with updatedSince or includeDeleted.
limitNoHow many posts to return in one page. 50 when omitted.
orderNoSort direction. Newest first when omitted, or oldest change first with updatedSince.
tagIdNoOnly posts with this tag: a tag ID from list_tags. Not with updatedSince or includeDeleted.
cursorNonextCursor from the previous page. Leave it out for the first page.
statusNoWhich posts to list: published, which applies when omitted, or draft.
includeNoParts to add to each post: tags, attachments (its files), links (attached web links) or counts.
authorIdNoOnly posts by this user: a user ID, or "me".
projectIdNoOnly posts in this project: its ID or slug, from list_projects.
createdViaNoOnly posts created through this channel, such as web, api or mobile.
hasReleaseNotrue: posts with release details. false: the rest.
releaseTypeNoOnly this release type.
createdAfterNoPosts created after this time. Epoch milliseconds or an ISO 8601 time with a timezone.
updatedSinceNoPosts changed after this time, oldest change first. To poll, start 5s before the newest updatedAt and skip repeats. Epoch milliseconds or an ISO 8601 time with a timezone.
createdBeforeNoPosts created before this time. Epoch milliseconds or an ISO 8601 time with a timezone.
includeDeletedNoInclude deleted posts, which carry deletedAt.
publishedAfterNoPosts first published after this time. Epoch milliseconds or an ISO 8601 time with a timezone.
publishedBeforeNoPosts first published before this time. Epoch milliseconds or an ISO 8601 time with a timezone.
response_formatNoHow much to return. concise applies when omitted; detailed adds every field and the full text.

Output Schema

NameRequiredDescriptionDefault
postsYesThis page of results.
hasMoreNotrue when another page exists.
removedNoWith includeDeleted: posts that left the list, each with id, updatedAt and deletedAt.
nextCursorNoPass as cursor for the next page. Null or absent on the last page.

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 readOnly, idempotent, non-destructive, so the description isn't burdened with safety framing. It adds real behavior beyond them: default page size of 50, content omitted from results, default ordering newest-first, and the non-obvious rule that updatedSince returns oldest change first and reverses the sort default.

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-loads purpose, then paging, then filtering, sorting, and return shape. Sentences are dense but each carries distinct information; the result-field list is slightly redundant given the output schema but still aids quick scanning.

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 20-parameter listing tool with an output schema, the description covers the critical interactions an agent would otherwise get wrong: default status, page size, cursor discipline, and the updatedSince sort inversion. Remaining gaps (interaction of combine-able filters beyond the schema notes) are minor.

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 the baseline is 3, but the description still adds usable detail beyond field-level text: projectId accepts an ID or slug, cursor is the previous page's nextCursor, and the filters are grouped by author, tag, dates, release details, source, and text. The updatedSince ordering caveat is genuinely non-obvious.

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?

Opens with a specific verb and resource plus scope: 'List posts newest first, 50 per page, without content.' It explicitly separates itself from get_post ('Use get_post for content') and states what is returned (id, identifier, title, status, author, project, webUrl).

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 clear operating context: defaults to published posts, 'set status draft for drafts', and routes to get_post when content is needed. It also prescribes the pagination loop (pass nextCursor until hasMore is false, keep other arguments unchanged) and polling behavior. It doesn't enumerate when-not-to-use conditions beyond get_post, keeping it short of a 5.

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