Skip to main content
Glama

Publish content

publish_content
Destructive

Publish the current draft to the public blog. Call only when the user explicitly asks to publish.

Input Schema

NameRequiredDescriptionDefault
idYesContent ID returned by get_content or list_content.
kindYes
revisionYesExact quoted revision returned by get_content. Required to protect concurrent edits.
idempotency_keyNo

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, readOnlyHint=false and idempotentHint=false, so safety is largely covered. The description's confirmation requirement adds genuine context consistent with that profile. It still omits what publishing actually causes (content goes live publicly, visible to visitors) and what happens on a revision conflict, which is the most consequential behavior here.

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?

Two short sentences, zero filler, with the constraint front-loaded next to the purpose. Slightly under-specified rather than padded, but the sizing is appropriate for a simple mutation.

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?

There is no output schema, so the description should describe the return or the resulting state, and it does neither. For a destructive, non-idempotent publish operation with an undocumented idempotency_key and kind parameter, an agent can call it but not predict the outcome or recovery path.

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 only 50%: id and revision are well documented in the schema, but kind has no description and idempotency_key has an empty description despite idempotentHint=false — a notable gap for a retryable-write scenario. The description adds nothing about any parameter, and "current draft" gives no hint that kind distinguishes posts from pages.

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?

States a specific verb (publish) and resource (the draft to the public blog), which cleanly separates it from siblings like update_content, publish_design and unpublish_content. Minor imprecision: it says "the current draft" while the tool actually takes an explicit id/kind/revision, so an agent could misread the targeting.

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 an explicit gating condition: call only when the user explicitly asks to publish. That is real when-to-use guidance and doubles as a when-not-to-use signal. It does not reference the obvious counterpart unpublish_content, so the agent must infer the reverse operation.

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