Skip to main content
Glama

Substack Publication Posts

substack_publication_posts
Read-only

Get a publication's posts, newest first, top or most discussed, or search them by keyword. Returns post title, author, publication date, engagement, paywall status, word count and tags. Billed $0.003 per page.

Input Schema

NameRequiredDescriptionDefault
pagesNoNumber of pages to fetch, 1-100 (default: 1). Each page returns up to 20 posts; you are billed per page returned.
queryNoKeyword to search the publication's posts for (max 500 characters)
sort_byNoSort order: "most_recent" (newest first), "top" (all-time most popular first) or "discussions" (posts with comment activity)most_recent
publicationYesPublication subdomain (lenny), host (lenny.substack.com, www.lennysnewsletter.com) or any URL on it (max 500 characters)
get_sentimentNoAdd AI sentiment analysis (Plutchik emotions, dominant_emotion, intensity, and positive/negative/neutral polarity) to each result. Adds a small surcharge per page, or per request on single-request endpoints.
podcasts_onlyNoSet to true to return only podcast episodes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / page
      Removed value: -{
      -  "default": 1,
      -  "description": "Page number (default: 1). 20 posts per page",
      -  "type": "integer"
      -}
    • addedInput schema / properties / pages
      Added value: +{
      +  "default": 1,
      +  "description": "Number of pages to fetch, 1-100 (default: 1). Each page returns up to 20 posts; you are billed per page returned.",
      +  "type": "integer"
      +}
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, open world), so the extra value here is the cost disclosure ("Billed $0.003 per page") and the enumeration of returned fields, which matters since no output schema exists. It stops short of disclosing pagination limits or behavior for invalid publication handles.

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?

Two sentences, front-loaded with the capability, then the return fields and price. Nothing is redundant for an agent deciding whether to call it.

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?

Covers what the tool does, what comes back, and what it costs, with annotations handling safety and the schema handling all six parameters. Only gap is that podcasts_only and get_sentiment aren't hinted at in the description, but the schema documents both fully.

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 coverage is 100% and every parameter already has a description, including billing per page and the sentiment surcharge. The description's only additions are restating the sort modes and return fields, which the schema largely covers, so the baseline 3 applies.

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 ("Get a publication's posts") and enumerates the three modes: newest first, top, most discussed, plus keyword search. That scope word "publication's" separates it from cross-publication siblings like search_substack, though no sibling is named 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?

The sort enum and keyword search are explained, so an agent knows the modes available. But there is no guidance on when to prefer this over substack_user_posts, substack_publication_details, or search_substack, and no stated prerequisites such as whether the publication must exist.

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