Skip to main content
Glama

publish_post

Starts publishing a scheduled post immediately and returns the aggregate in processing state.

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": {
      "id": "<id>"
    },
    "name": "publish_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
idempotency_keyNo

Output Schema

NameRequiredDescriptionDefault
bodyNoUpstream error details, when available.
codeNoError code when the tool result has isError=true.
dataNoPresent on successful results; omitted on tool errors.
metaNo
statusNo
messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, open-world operation. The description adds useful behavior: publishing is kicked off asynchronously and the result comes back still processing. It omits what an agent most needs to know for an irreversible external post — whether the action can be undone, what happens on failure, and how the external publishing side effect behaves.

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?

A single front-loaded sentence with no filler. The only weakness is the ambiguous 'aggregate' phrasing, which adds words without adding precision.

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?

An output schema exists, so return values needn't be spelled out, and the mention of the processing state is a nice touch. Still missing for a mutating, open-world publish tool are the precondition (post status must be scheduled), idempotency behavior, and failure characteristics.

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

Parameters2/5

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

Schema description coverage is 0% for two parameters, so the description must carry the load, and it says nothing about either. It never clarifies that 'id' is the post identifier or explains the retry-safety semantics of 'idempotency_key', which is precisely the parameter that matters most for a non-idempotent publish action.

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 names a specific verb and resource: it starts publishing an already scheduled post immediately. That separates it from create_post and cancel_post without needing the schema, though the trailing clause about returning 'the aggregate in processing state' is vague about what aggregate means.

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

Usage Guidelines3/5

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

Saying the tool applies to a 'scheduled' post implies the precondition, but it is never stated as a requirement, and no alternatives are named (e.g. cancel_post for stopping it, update_post for editing before publishing). Usage is inferable rather than explicit.

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