Skip to main content
Glama

use_post_variant

Promotes a post variant to the main scheduled post when requested, moving the old main to history and closing the variant tab.

Instructions

Make a post variant the main post (the one that is scheduled). The old main goes to post history and the variant tab closes. Only when the user asks; the user usually does it in the app.

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>",
      "variant": "<variant>"
    },
    "name": "use_post_variant"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionYesSession: 'Project/folder', an absolute path or its id (from get_session). Old paths still work.
variantYesPost variant id from get_session.
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).

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

A3.8/5.0
Behavior4/5

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

Annotations mark it non-read-only and non-destructive; the description adds the real consequences beyond that: the old main is moved to post history (recoverable via the history family of tools) and the variant tab closes. It does not mention permission or scheduling preconditions, but the state-change disclosure is solid.

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?

Three short sentences, front-loaded with the effect and followed by the side effects and guardrail. 'The user usually does it in the app' is mildly expendable but does reinforce the do-not-proactively-call rule.

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

Completeness3/5

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

With no output schema and full schema coverage, the description covers what the tool does and what changes. It omits failure/precondition details (e.g. whether the session must be unscheduled, behavior if the variant is already main), which matter for a state-mutating tool.

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 session, variant and platform are already fully documented in the schema. The description adds no extra meaning about how the variant id or platform selection interacts with the promotion, so the baseline applies.

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 concrete verb and resource ('Make a post variant the main post') and immediately disambiguates 'main post' as 'the one that is scheduled'. It does not differentiate from the sibling promote_variant, which sounds related, so it stops short of a 5.

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?

'Only when the user asks; the user usually does it in the app' gives an explicit trigger condition and an implicit when-not (don't do it proactively). No named alternative is offered, though, so an agent facing both this and promote_variant gets no routing help.

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