Skip to main content
Glama

Get publish status

get_publish_status
Read-only

Check whether a post created by publish_now or schedule_publish went out, per platform (queued, processing, published, failed, with post links and error reasons). TikTok reports processing for a few minutes until it confirms the post. To check several posts, pass them all as contentIds in one call instead of calling once per post: the answer lists each post under posts, with counts per status.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_publish_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentIdNocontentId returned by `publish_now` or `schedule_publish`. For one post.
contentIdsNoSeveral contentIds, up to 50, checked in one call.

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo
methodYes
statusYes
endpointYes
retryAfterSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / contentId / description
      Previous value: -"contentId returned by `publish_now` or `schedule_publish`."New value: +"contentId returned by `publish_now` or `schedule_publish`. For one post."
    • addedInput schema / properties / contentIds
      Added value: +{
      +  "description": "Several contentIds, up to 50, checked in one call.",
      +  "items": {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 50,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "contentId"
      -]
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), and the description adds real behavioral context beyond them: the set of status values, that post links and error reasons are returned, the TikTok processing-delay caveat, and the top-level response shape (`posts` list with `counts` per status). That is the kind of timing and payload context annotations cannot express.

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?

Three sentences, front-loaded with the core purpose, then the platform-specific timing caveat, then the batching instruction. No filler; each sentence carries information an agent would otherwise have to guess.

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 low-complexity, two-parameter read tool with annotations and an output schema, this is fully sufficient. It supplies the trigger conditions, the timing pitfall, and the batch strategy, and correctly leaves detailed return-value structure to the output schema.

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 for the two parameters. The description still adds meaning: it explains that `contentIds` is the batch path (up to 50, checked in a single call) and that IDs originate from `publish_now`/`schedule_publish`, clarifying the single-vs-batch relationship rather than merely restating the schema.

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 ('Check whether a post ... went out, per platform') and enumerates the resulting states (queued, processing, published, failed) plus post links and error reasons. It also ties itself explicitly to the producing siblings `publish_now` and `schedule_publish`, so an agent can distinguish it from other status tools like `get_episode_status` or `get_export_status`.

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 concrete when-to-use guidance: call it for posts created by `publish_now` or `schedule_publish`, and when checking several posts, pass them all as `contentIds` in one call instead of one call per post. It also warns that TikTok reports processing for a few minutes, which prevents an agent from erroneously retrying or reporting failure.

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.

Resources