Skip to main content
Glama

Update post defaults

update_post_defaults
Destructive

Changes the user's saved post defaults for a workspace, like "Save settings defaults" in the app. Use it when the user wants a setting on every new post (for example "always use Markdown on Telegram" or "post to YouTube as unlisted by default"); for a single post, use update_post's platform_settings instead. Pass only the keys to change, grouped by platform; null resets a key to the app's default. New posts in this workspace (app, MCP and API) start with these values; existing drafts and scheduled posts are not changed, so update those with batch_update_posts if the user wants them changed too. Defaults are per user. Saveable keys: tiktok: privacyLevel ("PUBLIC_TO_EVERYONE" | "MUTUAL_FOLLOW_FRIENDS" | "SELF_ONLY"; Who can watch), isAigc (boolean; AI-generated content label), autoAddMusic (boolean; TikTok picks background music (photo posts)); youtube: privacyStatus ("public" | "unlisted" | "private"; Visibility), madeForKids (boolean; Made for kids), notifySubscribers (boolean; Notify subscribers), containsSyntheticMedia (boolean; Altered or synthetic content disclosure), license ("youtube" | "creativeCommon"; Video license: standard YouTube license or Creative Commons Attribution), embeddable (boolean; Allow other sites to embed the video), publicStatsViewable (boolean; Show the like count on the watch page); linkedin: visibility ("PUBLIC" | "CONNECTIONS" | "LOGGED_IN"; Who can see personal-profile posts (Company Pages always post PUBLIC)), disableReshare (boolean; Turn off reposting (nobody can repost the post)); instagram: shareToStory (boolean; Also share to the Story), isAiGenerated (boolean; AI content label); facebook: shareToStory (boolean; Also share to the Story), isAiGenerated (boolean; AI info label); threads: isAiGenerated (boolean; AI content label); twitter: isAiGenerated (boolean; AI-generated media label); reddit: nsfw (boolean; Mark as NSFW); discord: silent (boolean; Send without notifications), mention ("none" | "here" | "everyone"; Who the post pings); pixelfed: visibility ("public" | "unlisted" | "private"; Visibility), sensitive (boolean; Mark as sensitive (blurs the media)), commentsDisabled (boolean; Turn off comments (the first comment is skipped too)), quotePolicy ("public" | "followers" | "nobody"; Who can quote it); bluesky: contentLabel ("none" | "sexual" | "nudity" | "porn" | "graphic-media"; Content warning on image and video posts (none = no warning)), disableQuotes (boolean; Turn off quoting (nobody can quote the post)), replyControl ("everyone" | "mentioned" | "following" | "followers" | "nobody"; Who can reply). Returns all defaults after the change.

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": {
      "workspace_id": "<workspace_id>",
      "defaults": "<defaults>"
    },
    "name": "update_post_defaults"
  }
}

Input Schema

NameRequiredDescriptionDefault
defaultsYesSettings to change, grouped by platform, e.g. { "tiktok": { "isAigc": true }, "youtube": { "privacyStatus": "unlisted" } }.
workspace_idYesWorkspace to update. Get one from list_workspaces.
idempotency_keyNoOptional client-generated key (e.g., a UUID) to make retries safe. Identical calls with the same key within 10 minutes return the original result instead of running the write twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / defaults / description
      Previous value: -"Settings to change, grouped by platform, e.g. { \"telegram\": { \"formatting\": \"markdown\" }, \"youtube\": { \"privacyStatus\": \"unlisted\" } }."New value: +"Settings to change, grouped by platform, e.g. { \"tiktok\": { \"isAigc\": true }, \"youtube\": { \"privacyStatus\": \"unlisted\" } }."
  2. Added

TDQS

A4.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=false, so the safety profile is known. The description adds real context beyond that: null resets a key to the app default, changes apply only to new posts and not existing drafts/scheduled posts, defaults are per user, and the call returns all defaults after the change. It stops short of describing auth/permission requirements or how the merge behaves for platform blocks not mentioned, so a 3 is fair given the annotations already carry the mutation warning.

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 prose is front-loaded: purpose, trigger examples, alternative routing, then mutation semantics, then the key catalogue, then the return value. Nothing is filler, but the per-platform key enumeration is bulky and would ideally live in the input schema as a structured property description rather than as one long paragraph.

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?

For a per-user, per-workspace settings mutation with a free-form nested object parameter and no output schema, the definition covers trigger, alternatives, merge/reset semantics, blast radius (new posts only), and the return value ('Returns all defaults after the change'). An agent has everything needed to call it correctly and to explain the effect to a user.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the schema only describes 'defaults' as a generic object with additionalProperties, so the description carries the real semantic load. It enumerates every saveable key per platform with allowed values and human meaning (e.g., tiktok.privacyLevel enum values, youtube.license 'youtube' | 'creativeCommon'), and explains the 'pass only keys to change' and 'null resets' semantics that the schema does not express.

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 ('Changes the user's saved post defaults for a workspace') and anchors it to a UI concept ('like "Save settings defaults" in the app'). It explicitly separates itself from update_post's platform_settings for single posts, so an agent can distinguish it from siblings without opening a schema.

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?

Gives an explicit trigger ('when the user wants a setting on every new post') with two concrete example user utterances, plus named alternatives for the two adjacent cases: update_post for a single post and batch_update_posts for existing drafts/scheduled posts. Both when-to-use and when-to-use-something-else are covered.

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.