Skip to main content
Glama

Read a post by id

get_post_by_id
Read-onlyIdempotent

Fetch a published Substack post using its numeric ID. Use when you have an ID from stats or list tools instead of a slug.

Instructions

Read a published post by its numeric id rather than its slug. Use this when a stats or list tool gave you an id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
post_idYesNumeric post id.
publicationNoWhich connected publication to act on, matched loosely against its hostname (for example 'example.substack.com' or just 'example'). Defaults to the first connected publication.
Install Server

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the 'published' constraint and id-based matching, which is useful, but it does not describe error behavior or return format. This is acceptable for a simple read tool with strong annotations.

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 compact sentences with no filler. The first sentence states what the tool does and how it differs from slug lookup; the second gives a concrete use case. Every word earns its place.

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 read-only lookup with one required parameter, the description plus schema is nearly complete. The only omission is explicit mention of what the response contains, but that is easily inferable for a post-by-id fetch, especially with no output schema and many sibling tools to disambiguate against.

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%, so both post_id and publication are already fully documented, including the default behavior for publication. The description does not add further parameter-level detail, but it does not need to given the schema's completeness.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Read', the resource ('published post'), and the lookup key ('numeric id rather than its slug'). It explicitly distinguishes this tool from slug-based post retrieval, so an agent can tell it apart without inspecting the schema.

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

Usage Guidelines4/5

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

The description provides a concrete trigger: 'Use this when a stats or list tool gave you an id.' It also implies the alternative by saying 'rather than its slug,' though it does not explicitly name a sibling tool like get_post. Clear context, but no explicit when-not-to-use statement.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/navidmoazzez/substack-mcp-cli'

If you have feedback or need assistance with the MCP directory API, please join our Discord server