Skip to main content
Glama

get_post

Read-only

Retrieve a published Substack post by ID to get its title, HTML body, and metadata for content review, archiving, or analysis.

Instructions

Get the full content of a published post by ID. Returns title, body HTML, metadata.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "post_id": "<post_id>"
    },
    "name": "get_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
post_idYesThe post ID to retrieve

Output Schema

NameRequiredDescriptionDefault
idYes
urlNo
slugNo
titleNo
audienceNo
subtitleNo
body_htmlNo
post_dateNo
word_countNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changedv1.4.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / audience / $ref
      Removed value: -"#/properties/title"
    • addedOutput schema / properties / audience / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / body_html / $ref
      Removed value: -"#/properties/title"
    • addedOutput schema / properties / body_html / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / post_date / $ref
      Removed value: -"#/properties/title"
    • addedOutput schema / properties / post_date / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / slug / $ref
      Removed value: -"#/properties/title"
    • addedOutput schema / properties / slug / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / subtitle / $ref
      Removed value: -"#/properties/title"
    • addedOutput schema / properties / subtitle / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / url / $ref
      Removed value: -"#/properties/title"
    • addedOutput schema / properties / url / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. Changed4 schema fields changed
    • addedInput schema / properties / post_id / exclusiveMinimum
      Added value: +0
    • addedInput schema / properties / post_id / maximum
      Added value: +9007199254740991
    • changedInput schema / properties / post_id / 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": {
      +    "audience": {
      +      "$ref": "#/properties/title"
      +    },
      +    "body_html": {
      +      "$ref": "#/properties/title"
      +    },
      +    "id": {
      +      "exclusiveMinimum": 0,
      +      "maximum": 9007199254740991,
      +      "type": "integer"
      +    },
      +    "post_date": {
      +      "$ref": "#/properties/title"
      +    },
      +    "slug": {
      +      "$ref": "#/properties/title"
      +    },
      +    "subtitle": {
      +      "$ref": "#/properties/title"
      +    },
      +    "title": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "url": {
      +      "$ref": "#/properties/title"
      +    },
      +    "word_count": {
      +      "anyOf": [
      +        {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "required": [
      +    "id"
      +  ],
      +  "type": "object"
      +}
  3. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

The readOnlyHint annotation already tells the agent this is a safe read, so the description adds little on the safety front. It does disclose the shape of the payload (title, body HTML, metadata), but says nothing about behavior for a missing or unpublished ID, which is the main uncertainty left.

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 short sentences with the action front-loaded and the payload summarized after it; nothing is padded or redundant in structure.

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 single-parameter read tool with an output schema and a readOnlyHint annotation, almost everything an agent needs is already structured. The only real hole is unstated error behavior when the ID does not resolve to a published post.

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?

With one parameter at 100% schema description coverage, the schema already carries the full definition of post_id. The description's 'by ID' phrasing reinforces it without adding syntax or format detail, so the baseline is met comfortably.

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 the full content of a published post') and scopes it to published posts, which implicitly separates it from draft-oriented siblings such as get_draft. It stops short of naming an alternative explicitly, so it lands at clear-but-undifferentiated.

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 word 'published' signals that drafts are out of scope, which is useful implied guidance, and 'by ID' implies a known identifier is required. There is no explicit when-to-use or when-not-to-use statement, and no pointer to get_draft or get_public_post for adjacent cases.

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