Skip to main content
Glama

set_published

Mark a session as published after its video goes live on social media, so you and other agents know it is done. Call once per platform; use published=false to unmark.

Instructions

Mark a session as published once its video is live on social media, so the user and other agents know it is done (the app shows it on the session). One entry per platform; call again for each platform. published=false unmarks (with platform: only that one). The user then cleans up the session's files in the app; do not trash them yourself.

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

Input Schema

NameRequiredDescriptionDefault
urlNoLink to the post.
sessionYesSession: 'Project/folder', an absolute path or its id (from get_session). Old paths still work.
platformNoWhere it went live: LinkedIn, X, YouTube, Instagram, TikTok, …
publishedNofalse to unmark. Default true.

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
Behavior5/5

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

Annotations only declare readOnly=false and destructive=false; the description goes further by disclosing the state model (one entry per platform), the reversal path and its scoping rule, the user-visible effect in the app, and an explicit boundary against file deletion. That is substantial behavioral context beyond what the structured annotations convey.

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?

Front-loads the core action, then adds the per-platform rule, the reversal rule, and the cleanup boundary in order of relevance. Dense with parentheticals but no sentence is filler; slightly tighter grouping of the unmark rules would read better.

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 simple four-parameter mutation with no output schema; the description covers purpose, repeat-call behavior, reversal, and the downstream workflow boundary, which is enough to call it correctly. It could mention whether the session must already exist or what an unmark leaves behind, but no critical gap remains.

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; the description earns more by explaining the interaction between parameters that the schema does not: repeated calls create one entry per platform, and published=false combined with platform unmarks only that platform. This makes 'platform' and 'published' materially clearer than the schema alone.

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 specific verb and resource: 'Mark a session as published once its video is live on social media,' and clarifies the precondition (video live) and the effect (shown on the session). It stops short of naming a sibling such as set_post_status, so it does not fully differentiate within the set_* family.

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 clear when-to-use context ('once its video is live on social media'), prescribes repeated calls per platform ('One entry per platform; call again for each platform'), and explains reversal ('published=false unmarks (with platform: only that one)'). It also warns against a related but out-of-scope action ('do not trash them yourself'), though it names no alternative tool by name.

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