Publish site
publish_sitePublish the draft so it goes live. Every write is staged until this runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Site id. |
publish_sitePublish the draft so it goes live. Every write is staged until this runs.
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Site id. |
Changes observed during successful MCP inspections.
Input schema / properties / staticRemoved value: -{
- "description": "true = static-export renderer, false = React renderer.",
- "type": "boolean"
-}Input schema / properties / id / descriptionPrevious value: -"Site id. Pass it on every call."New value: +"Site id."Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is known. The description adds genuinely useful staging semantics not in the structured fields. However, it never addresses the destructive aspect — that publishing replaces what is currently live — which is the most consequential thing an agent should know before calling.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, zero filler, with the action stated first and the operational consequence immediately after. Nothing could be cut without losing meaning.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter, no-output-schema tool with rich annotations, this covers the action and the staging model adequately. The remaining gap is the irreversible effect on the currently live site, which the description implies ('goes live') but never states.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the single 'id' parameter is documented as 'Site id.', so the schema carries the load. The description says 'the draft' without tying it to the id parameter or noting that the id may be optional (0 required). Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
A specific verb ('Publish') plus a clear outcome ('so it goes live') identifies exactly what the tool does. It doesn't name the obvious inverse sibling unpublish_site, but the publish/unpublish pair is inferable from the sibling list.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
'Every write is staged until this runs' gives a concrete condition that tells the agent when this call is required — after any set_/update_/create_ operation. There are no explicit exclusions or named alternatives (e.g., unpublish_site), so it falls short of a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.