Skip to main content
Glama

Publish now

posts_publish
Destructive

PUBLISHES CONTENT NOW: pushes a queued post to the platform immediately. status is published, handoff, failed (error says what the platform refused) or scheduled with willRetry: the attempt failed for a passing reason, scheduledAt is when we try again and error is why; it is queued, so do not publish it again. Needs the publish scope.

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": "posts_publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe post id.

Output Schema

NameRequiredDescriptionDefault
idYes
errorNo
statusYes
willRetryNo
handoffNoteNo
scheduledAtNo
publishedLocationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / scheduledAt
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / willRetry
      Added value: +{
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "error": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "handoffNote": {
      +      "type": "string"
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "publishedLocation": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "status": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "status"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only flag it as a non-readonly, destructive, open-world write. The description goes well beyond them by enumerating the four outcome states, explaining that error carries the platform's refusal reason, disclosing retry semantics via willRetry/scheduledAt, and stating the required publish scope — all facts an agent cannot get from the annotations.

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-loaded with the action and no filler. The status enumeration is packed into a semicolon chain and the phrase 'failed for a passing reason' is ambiguous, which slightly hurts scanability for four distinct outcome states.

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?

For a one-parameter mutation tool with an output schema and full annotation coverage, this is essentially complete: eligibility, outcomes, retry handling, and the needed scope are all present. Only the wording of the transient-failure case could be tightened.

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?

The single 'id' parameter is fully documented in the schema at 100% coverage. The description adds only indirect meaning by clarifying that the id refers to a queued post, which is useful context but not parameter-level detail.

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 with scope: 'pushes a queued post to the platform immediately.' The 'queued post' qualifier distinguishes it from posts_approve and posts_update without naming them, so an agent knows which records are eligible.

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 context (acts on queued posts, executes now) and an explicit exclusion: when the result is scheduled, 'it is queued, so do not publish it again.' It stops short of naming which sibling to use instead when a post is not yet queued or not yet approved.

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.