Skip to main content
Glama

Publish Post

inblog_publish_post
Idempotent

Publishes a draft blog post by ID, marking it published so the server assigns its publication timestamp. Use it to move existing draft content live through the inblog-mcp API.

Instructions

Publish a draft post. Uses PATCH /posts/{id} with published:true. Note: published_at is set automatically by the server — cannot be set manually.

Args: post_id (string, required): The post ID to publish

Returns: Published post with id, title, slug, published_at timestamp.

Examples: {post_id: "abc123"}

Errors: 401 (auth), 404 (not found), 500 (server)

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": {
      "post_id": "<post_id>"
    },
    "name": "inblog_publish_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
post_idYesThe post ID to publish.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4.3/5.0
Behavior4/5

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

The description adds meaningful behavior beyond the annotations: it states the endpoint method, that published_at is server-set and cannot be manually provided, and lists return fields and error codes. This complements the annotations, which already declare idempotent=true, destructive=false, and openWorld=true.

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?

The description is front-loaded with the action and endpoint, then uses compact sections for Args, Returns, Examples, and Errors. Every part is relevant and there is no wasted wording.

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 one-parameter mutation with no output schema, the description supplies the endpoint, server-managed field behavior, return fields, example invocation, and error cases. An agent has enough information to call the tool correctly without additional context.

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 description coverage is 100% and the single post_id parameter is fully documented in the schema, including its pattern and length constraints. The description restates that post_id is required but adds no syntax or format details beyond 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?

The description states a specific verb and resource: "Publish a draft post," and clarifies the mechanism via PATCH /posts/{id} with published:true. This distinguishes it from sibling tools such as inblog_update_post and inblog_create_post without requiring schema inspection.

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?

It clearly indicates the context of use: publishing a draft post by post_id. It does not explicitly name alternatives like inblog_update_post or state when not to use this tool, but the context is sufficiently clear for a publish-specific action.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.