Skip to main content
Glama

Read collection posts

get_collection_posts
Read-onlyIdempotent

Read up to 50 stored posts from a collection owned by the signed-in user, optionally filtered by matched crypto or prediction markets. Rechecks current stream and target access. A page can be empty with nextToken when posts are inaccessible; continue with the returned cursor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesCollection ID from list_collections
limitNoMaximum posts to return in this page
nextTokenNonextToken from the previous page, with the other arguments unchanged; omit for the first page
matchFilterNoKeep only posts matching at least one enabled flag (crypto, polymarket, kalshi); omit for all posts. Scans at most 500 stored posts per call, so continue with nextToken
streamDeckIdYesDeck ID from list_stream_decks

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
nextTokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / items / items / properties / matchAiFilter / description
      Previous value: -"True when the post passed the collection’s current AI filter; null when the collection has no AI filter"New value: +"null when the collection has no AI filter. Stored posts are not AI-evaluated, so false does not mean the filter rejected the post"
  2. Changed17 schema fields changed
    • removedInput schema / properties / id / $ref
      Removed value: -"#/properties/streamDeckId"
    • addedInput schema / properties / id / description
      Added value: +"Collection ID from list_collections"
    • addedInput schema / properties / id / maxLength
      Added value: +128
    • addedInput schema / properties / id / minLength
      Added value: +1
    • addedInput schema / properties / id / type
      Added value: +"string"
    • addedInput schema / properties / limit / description
      Added value: +"Maximum posts to return in this page"
    • addedInput schema / properties / matchFilter / description
      Added value: +"Keep only posts matching at least one enabled flag (crypto, polymarket, kalshi); omit for all posts. Scans at most 500 stored posts per call, so continue with nextToken"
    • addedInput schema / properties / matchFilter / properties / crypto / description
      Added value: +"Include posts with a Binance, Bybit or Hyperliquid ticker, or matching cryptoKeywords"
    • addedInput schema / properties / matchFilter / properties / cryptoKeywords / description
      Added value: +"Whole words matched case-insensitively in post text; applies only with crypto: true"
    • addedInput schema / properties / matchFilter / properties / kalshi / description
      Added value: +"Include posts with a Kalshi ticker, optionally limited to kalshiTickers"
    • addedInput schema / properties / matchFilter / properties / kalshiTickers / description
      Added value: +"Kalshi tickers to limit kalshi matches to; applies only with kalshi: true"
    • addedInput schema / properties / matchFilter / properties / polymarket / description
      Added value: +"Include posts matched to Polymarket markets, optionally limited to polymarketMarketIds"
    • addedInput schema / properties / matchFilter / properties / polymarketMarketIds / description
      Added value: +"Polymarket market IDs to limit polymarket matches to; applies only with polymarket: true"
    • addedInput schema / properties / matchFilter / properties / widenWithHighlights / description
      Added value: +"Also include posts matching the collection’s enabled highlight rules; applies only when crypto, polymarket or kalshi is true"
    • addedInput schema / properties / nextToken / description
      Added value: +"nextToken from the previous page, with the other arguments unchanged; omit for the first page"
    • addedInput schema / properties / streamDeckId / description
      Added value: +"Deck ID from list_stream_decks"
    • addedOutput schema / properties / items / items / properties / matchAiFilter / description
      Added value: +"True when the post passed the collection’s current AI filter; null when the collection has no AI filter"
  3. First observed

TDQS

A3.7/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 safety profile is covered; the description adds genuinely useful behavior: access rechecking, empty-page-with-cursor semantics, and the 50-post page cap. It stops short of describing the returned post shape, though an output schema exists.

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?

Three sentences, no filler, and the scope constraint (owner, 50-post cap) is front-loaded. The paging caveat is a legitimately necessary second half.

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 paginated, nested-filter read tool with a full schema and an output schema, the description covers the tricky parts an agent would otherwise get wrong: cursor continuation on empty pages and rechecked access. Return values are appropriately left to the output schema.

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%, including detailed nested matchFilter fields, so the baseline is 3. The description only summarizes the filter concept ('matched crypto or prediction markets') without adding syntax or semantics beyond what the schema already states.

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 ('Read up to 50 stored posts from a collection'), and adds scope ('owned by the signed-in user') plus optional market matching. It distinguishes itself implicitly from get_stream_posts and search_stream_posts by naming collections, but never names a sibling explicitly.

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?

Gives operational guidance for paging (continue with nextToken when a page is empty) and notes access is rechecked, but never says when to choose this over get_stream_posts or search_stream_posts, so the sibling choice is left to inference.

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