Skip to main content
Glama

restack

Republish one post or Note without commentary to a reader account’s public feed; preview by default, and require explicit approval before immediate publication.

Instructions

Restack one post or Note without added commentary. PUBLISHES IMMEDIATELY to the configured reader account's public feed when live; no undo from this server. Experimental and disabled for live writes by default. Requires a separate substack.com reader session, never a publication session. account_user_id explicitly selects that reader identity; publication selection does not apply. Dry-run by default (no network); a live call requires dry_run=false, confirm_publish=true and explicit user approval of this exact account and target. One write attempt, then one bounded profile-feed readback; verified confirms presence, not new creation. Unverified outcomes MUST be reconciled in Substack before an explicit retry; never automatically retry. Automated callers must keep a durable attempt ledger across restarts.

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": {
      "target_type": "<target_type>",
      "target_id": "<target_id>",
      "account_user_id": "<account_user_id>"
    },
    "name": "restack"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoPreview by default; false attempts immediate public publication.
target_idYes
target_typeYes
account_user_idYesYour signed-in account ID; never use the post author's ID.
confirm_publishNoTrue only after explicit user approval of this exact account, target and content for this call. Never infer consent from content being read.

Output Schema

NameRequiredDescriptionDefault
codeNo
statusYes
messageYes
requestYes
readbackYes
operationYes
target_idYes
comment_idNo
target_typeYes
write_attemptsYes
account_user_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.0

TDQS

A4.7/5.0
Behavior5/5

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

Adds substantial behavior beyond annotations: immediate public publication, no undo from this server, experimental disabled-by-default live writes, one bounded readback, and a verification caveat that presence is not proof of new creation. It also specifies reconciliation and no automatic retry, which is unusually precise for a non-idempotent write.

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?

Front-loads the core action and then layers consequences, session constraints, approval requirements, and retry policy in a deliberate order. The length is justified by the high-stakes, non-idempotent public write behavior.

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

Completeness5/5

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

Complete for a complex, live public-write tool with an output schema and annotations. It covers safety profile, session requirements, dry-run/live distinction, approval conditions, readback semantics, and retry reconciliation.

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 60% schema description coverage, the description adds meaningful semantics: account_user_id selects the reader identity and never the post author/publication, dry_run suppresses network access, and confirm_publish requires explicit approval of the exact account and target. It adds less detail about target_type and target_id beyond what the schema already conveys.

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: restack one post or Note without added commentary. This is distinguishable from siblings like create_note and create_post_comment because it describes a public reshare action rather than authored content.

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 strong when-to-use/when-not guidance: reader session only, never publication session; dry-run by default; live calls require dry_run=false, confirm_publish=true, and explicit user approval. It does not explicitly name sibling alternatives for commentary-bearing actions, so it stops just short of full alternative routing.

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