Skip to main content
Glama

set_post_status

Record a session's LinkedIn, X, YouTube, or Shorts post as draft, ready, scheduled, or posted, including scheduled time and live URL, so later edits show as actions and undo stays available.

Instructions

Record what you did on LinkedIn or X (platform=x) for a session's post. status=scheduled after you scheduled it (records the time and text you scheduled, so later changes show up as an action); status=posted with url once it is live (also marks the session published); ready to undo. The user marks posts ready in the app; only set ready or draft when asked. A post you were asked to schedule that has no time: pass at, the time you picked on the platform.

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": {
      "session": "<session>",
      "status": "<status>"
    },
    "name": "set_post_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoThe time it goes out (or went out), ISO 8601 with offset, e.g. 2026-09-29T09:32:00-07:00. Pass it with status=scheduled when the post has no time yet or you scheduled it for another time: the post takes this time. Default for posted: now.
tzNoOptional IANA zone for at, e.g. America/Los_Angeles. Default: the post's zone, else this Mac's.
urlNoLink to the live post (status=posted).
statusYesdraft, ready, scheduled or posted.
sessionYesSession: 'Project/folder', an absolute path or its id (from get_session). Old paths still work.
platformNoWhich post of the session: linkedin (default, posts/linkedin.md), x (posts/x.md), youtube (the long wide video: title + description, posts/youtube.md) or vertical (one vertical video and caption for TikTok, Instagram Reels and YouTube Shorts, posts/vertical.md).
first_comment_postedNotrue after you posted first_comment under the live post.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2026.11.11
    • changedInput schema / properties / session / description
      Previous value: -"Session as 'Project/folder', an absolute path, or its id (from get_session). An old path still works after a rename or move."New value: +"Session: 'Project/folder', an absolute path or its id (from get_session). Old paths still work."
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already establish that this is a non-read-only, non-destructive, closed-world write. Beyond them, the description discloses two behaviors an agent could not infer: the call records the time and text so later changes surface as an action, and status=posted has the side effect of marking the session published. It also states the change is undoable. Auth or permission requirements are not mentioned, which keeps it from a 5.

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?

The purpose and the status contract are front-loaded, and every sentence carries operational information. The parenthetical '(records the time and text you scheduled, so later changes show up as an action)' is dense and slightly run-on, which costs a point on readability but not on substance.

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 7-parameter mutation tool with no output schema, the description covers the status lifecycle, the at/url coupling, a side effect on session published state, and reversibility. The `tz` parameter and the shape of the response are left to the schema and annotations, which is acceptable but leaves a small gap.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real decision semantics: it links status=scheduled to passing `at` when the post has no time, ties `url` to status=posted, and clarifies platform=x. This is meaningful routing guidance beyond the field descriptions rather than a restatement of them.

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 opens with a concrete verb and resource: record what you did on LinkedIn or X for a session's post, then enumerates the status lifecycles. It is clear what state the tool changes and why. It does not explicitly distinguish itself from the sibling set_published, even though it mentions that status=posted 'also marks the session published', which is the one place an agent might hesitate between the two.

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

Usage Guidelines5/5

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

It tells the agent exactly when to use each status value: scheduled after scheduling, posted with url once live, and explicitly only set ready or draft when the user asks. It also covers the edge case of a scheduled post with no time by directing the agent to pass `at`, and it states the ready/draft state is normally owned by the user in the app.

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