Skip to main content
Glama

list_published_posts

Read-only

Fetch published posts with pagination, returning title, date, slug, and URL for each. Use limit and offset to control the results.

Instructions

List published posts with pagination. Returns title, date, slug, and URL for each post.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax posts to return (1-50; Substack rejects anything higher, so larger values are clamped)
offsetNoNumber of posts to skip

Output Schema

NameRequiredDescriptionDefault
postsYes
totalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changedv1.4.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / posts / items / properties / audience / $ref
      Removed value: -"#/properties/posts/items/properties/title"
    • addedOutput schema / properties / posts / items / properties / audience / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / posts / items / properties / post_date / $ref
      Removed value: -"#/properties/posts/items/properties/title"
    • addedOutput schema / properties / posts / items / properties / post_date / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / posts / items / properties / slug / $ref
      Removed value: -"#/properties/posts/items/properties/title"
    • addedOutput schema / properties / posts / items / properties / slug / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / posts / items / properties / subtitle / $ref
      Removed value: -"#/properties/posts/items/properties/title"
    • addedOutput schema / properties / posts / items / properties / subtitle / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / posts / items / properties / url / $ref
      Removed value: -"#/properties/posts/items/properties/title"
    • addedOutput schema / properties / posts / items / properties / url / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / posts / items / properties / word_count / $ref
      Removed value: -"#/properties/total"
    • addedOutput schema / properties / posts / items / properties / word_count / anyOf
      Added value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed7 schema fields changed
    • addedInput schema / properties / limit / exclusiveMinimum
      Added value: +0
    • addedInput schema / properties / limit / maximum
      Added value: +9007199254740991
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / offset / maximum
      Added value: +9007199254740941
    • addedInput schema / properties / offset / minimum
      Added value: +0
    • changedInput schema / properties / offset / type
      Previous value: -"number"New value: +"integer"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "posts": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "audience": {
      +            "$ref": "#/properties/posts/items/properties/title"
      +          },
      +          "id": {
      +            "exclusiveMinimum": 0,
      +            "maximum": 9007199254740991,
      +            "type": "integer"
      +          },
      +          "post_date": {
      +            "$ref": "#/properties/posts/items/properties/title"
      +          },
      +          "slug": {
      +            "$ref": "#/properties/posts/items/properties/title"
      +          },
      +          "subtitle": {
      +            "$ref": "#/properties/posts/items/properties/title"
      +          },
      +          "title": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "url": {
      +            "$ref": "#/properties/posts/items/properties/title"
      +          },
      +          "word_count": {
      +            "$ref": "#/properties/total"
      +          }
      +        },
      +        "required": [
      +          "id"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 50,
      +      "type": "array"
      +    },
      +    "total": {
      +      "anyOf": [
      +        {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "required": [
      +    "posts"
      +  ],
      +  "type": "object"
      +}
  3. Changed1 schema field changedv0.6.2
    • changedInput schema / properties / limit / description
      Previous value: -"Max posts to return (1-100)"New value: +"Max posts to return (1-50; Substack rejects anything higher, so larger values are clamped)"
  4. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

readOnlyHint=true already declares the safety profile, and the schema already documents the clamp behavior for large limits. The description adds only the pagination framing and the returned field list, the latter of which duplicates the existing output schema, so it contributes modest value beyond structured data.

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?

Two short sentences, front-loaded with the operation and scoping. The second sentence restates return fields that the output schema already carries, so it is slightly redundant but not harmful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, omitting return detail would be fine, and annotations cover the safety profile, so the core call is answerable. What is missing is the disambiguation from same-family list tools (public, scheduled, drafts), which matters for correct tool selection.

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%, so limit and offset are fully documented in the schema, including the clamping rule. The description says only "with pagination" and adds no format or ordering semantics beyond what the schema provides, making the baseline 3 appropriate.

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 gives a specific verb and resource ("List published posts") plus a scoping trait (pagination), so the operation is immediately clear. It stops short of distinguishing itself from close siblings like list_public_posts or list_scheduled_posts, leaving the agent to infer what "published" excludes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, and no alternative is named. The agent must guess whether this covers only its own publication's published posts versus public posts, drafts, or scheduled posts, despite those siblings existing.

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