Skip to main content
Glama

List Substack post comments

substack_post_comments_list
Read-onlyIdempotent

Get the whole nested comment tree of a Substack post. Requires post. Returns a list. For the post itself, use substack_post_get. Costs credits; see meta.creditsCharged.

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": "<post>",
      "context": "<context>",
      "llm_model": "<llm_model>"
    },
    "name": "substack_post_comments_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
postYesRequired. A post: its numeric id (`223208969`) or its URL (`https://www.astralcodexten.com/p/...`). Post comments need the URL form.
sortNoComment order. The whole tree is returned either way.best
contextYesDescribe the user's underlying goal in one sentence, not the tool you are calling.
llm_modelYesThe exact model identifier you (the assistant) are running as, taken from your system prompt or environment (for example "claude-opus-4-8" or "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" and do not guess.
conversation_idNoEcho the conversation_id from the server's previous response. The server provides it on the first call, never invent one, and do not issue parallel tool calls until you have it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds two genuinely useful facts beyond them: the response is a whole nested tree (not flat), and the call consumes credits reported in `meta.creditsCharged`. It does not mention rate limits or tree depth/size characteristics, so it adds moderate rather than rich context.

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?

Four short sentences, front-loaded with the core purpose and immediately followed by the routing rule and cost note. 'Returns a list' is mildly redundant but carries some weight since there is no output schema. No padding or filler.

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?

A read-only listing tool with full schema coverage, no output schema, and clear annotation signals. The description covers purpose, the relevant sibling, and the credit cost. Minor omissions such as whether the entire tree is ever truncated for very large posts keep it from a 5.

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 every parameter including `post`, `sort`, `context`, `llm_model` and `conversation_id` is already documented in the schema, including the URL-form requirement. The description's 'Requires `post`' repeats the schema rather than adding format or edge-case meaning. Baseline 3 is appropriate.

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?

States a specific verb and resource — 'Get the whole nested comment tree of a Substack post' — and explicitly distinguishes it from the sibling `substack_post_get` (which fetches the post itself). An agent can tell immediately what this returns and how it differs from adjacent tools.

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?

Gives one explicit routing rule: 'For the post itself, use `substack_post_get`.' That covers the most likely confusion given the sibling catalog. It does not discuss ordering trade-offs for `sort` or when to prefer comment-listing over other engagement endpoints, so it falls short of full when/when-not coverage.

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.