Skip to main content
Glama

list_public_posts

Read-only

Read public Substack posts anonymously without credentials. Set the publication URL, limit, sort, query, and offset to browse or search a public archive.

Instructions

Anonymous public archive read, no credentials sent. One upstream read of 1–50 posts (default 12); sort and search are upstream controlled. A full page gives next_offset, but has_more is unknown because Substack returns no total. Public metadata does not prove access to post bodies.

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_public_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNonew
limitNo
queryNo
offsetNo
publication_urlNo

Output Schema

NameRequiredDescriptionDefault
sortYes
limitYes
postsYes
queryYes
offsetYes
has_moreYes
returnedYes
next_offsetYes
publication_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv1.4.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / properties / next_offset / anyOf
      Previous value: -[
      -  {
      -    "$ref": "#/properties/offset"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / posts / items / properties / audience / anyOf
      Previous value: -[
      -  {
      -    "$ref": "#/properties/posts/items/properties/title/anyOf/0"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 4000,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / posts / items / properties / comment_count / anyOf
      Previous value: -[
      -  {
      -    "$ref": "#/properties/offset"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / posts / items / properties / post_date / anyOf
      Previous value: -[
      -  {
      -    "$ref": "#/properties/posts/items/properties/title/anyOf/0"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 4000,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / posts / items / properties / reaction_count / anyOf
      Previous value: -[
      -  {
      -    "$ref": "#/properties/offset"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / posts / items / properties / restacks / anyOf
      Previous value: -[
      -  {
      -    "$ref": "#/properties/offset"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / posts / items / properties / slug / anyOf
      Previous value: -[
      -  {
      -    "$ref": "#/properties/posts/items/properties/title/anyOf/0"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 4000,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / posts / items / properties / subtitle / anyOf
      Previous value: -[
      -  {
      -    "$ref": "#/properties/posts/items/properties/title/anyOf/0"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 4000,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / posts / items / properties / wordcount / anyOf
      Previous value: -[
      -  {
      -    "$ref": "#/properties/offset"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Addedv1.3.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds substantial behavior: anonymity, no credential transmission, a single upstream read with limit defaults, that sort/search are upstream-controlled, pagination behavior (next_offset but no has_more due to missing total), and a data-access caveat. This goes well beyond the annotation and gives the agent critical operational context.

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?

Four dense sentences, front-loaded with purpose and key constraints, with no wasted wording. Each sentence adds distinct value: safety, scope, pagination, and data-access limitation.

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?

The tool has five parameters and an output schema, so return values need not be explained. The description covers core behavior, pagination, and a critical caveat, but leaves publication_url semantics and some query behavior implicit, which is a notable gap for a tool with zero schema descriptions.

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?

With 0% schema description coverage, the description must compensate. It explains limit (1–50, default 12) and offset via next_offset, and notes that sort and search are upstream controlled. However, it says nothing about publication_url, and query semantics remain vague beyond 'upstream controlled'.

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?

The description states a specific action ('anonymous public archive read') and scope ('1–50 posts'), and distinguishes itself from authenticated list tools via 'no credentials sent' and 'public metadata'. It could be clearer that it lists posts (rather than reading arbitrary archive content), but the purpose is unambiguous.

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?

Usage is implied by 'anonymous public archive read, no credentials sent' and the caveat that 'public metadata does not prove access to post bodies', suggesting this is for public-only browsing. However, it does not explicitly state when to use this versus alternatives like list_published_posts or get_public_post, leaving the agent to infer boundaries.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.