Skip to main content
Glama

MySaaS Blog

Publish post

post_publish
Destructive

Publish a post immediately after running publication preflight.

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": {
      "postId": "<postId>"
    },
    "name": "post_publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
postIdYes
idempotencyKeyNoOptional retry key. Reuse the same key with the same payload to deduplicate agent retries.

Output Schema

NameRequiredDescriptionDefault
okYes
postNo
errorNo
warningIssuesNo
blockingIssuesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, idempotentHint=false, so the agent knows this is an irreversible external write. The description adds the preflight prerequisite, which is real behavioral context, but says nothing about what becomes publicly visible, permission requirements, or rate limits — notable given destructive+openWorld.

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 the action first and the prerequisite second; no padding. It is efficient, though it is arguably too short for a destructive publishing operation.

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 need not be explained, and annotations carry the safety profile. However, for a destructive externally visible publish with an undocumented postId, the description omits prerequisite failure behavior and post-publish state, leaving clear gaps.

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?

Schema coverage is 50%: idempotencyKey is documented in the schema itself, while postId has only a type. The description adds no detail about postId (format, where to obtain it, whether a draft ID is acceptable). Baseline 3 applies since the schema handles part of the burden.

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 states a specific verb and resource ('Publish a post') plus a temporal constraint ('immediately after running publication preflight'), which distinguishes it from siblings like post_schedule and post_create_draft. It stops short of naming those siblings explicitly, so an agent must infer the boundary.

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?

There is implied usage guidance: run post_preflight first, then this tool. But the description never states when NOT to use it (e.g., scheduling instead of immediate publishing) nor mentions post_schedule as the alternative for future-dated publishing, leaving routing partly to inference.

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