unpublish_site
Remove the current public publication. Draft and enquiries are retained.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| revision | Yes | ||
| idempotencyKey | Yes | Unique random key for this operation; reuse exactly when retrying |
Remove the current public publication. Draft and enquiries are retained.
| Name | Required | Description | Default |
|---|---|---|---|
| revision | Yes | ||
| idempotencyKey | Yes | Unique random key for this operation; reuse exactly when retrying |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already flag this as destructive (destructiveHint=true), idempotent, and not read-only; the description adds the material detail that only the public publication is removed while the draft and enquiries survive, which directly quantifies what is destroyed. It does not say what happens if there is no current publication or whether authorization is required, so it falls short of a 5 even with 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences with no filler, and the destructive action is front-loaded ahead of the retention caveat. Every clause imparts information the agent needs.
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 two-parameter destructive mutation with full annotations and no output schema, the description covers the essential outcome and the retained state. The gaps are secondary: the role of 'revision', and whether an error is returned when no publication exists.
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 50%. The idempotencyKey contract, including its retry-reuse rule, is fully documented in the schema, and the description says nothing about parameters. However, 'revision' stays a bare integer with no meaning given in either the schema or the description, so the description does not compensate for that gap. A 3 reflects that the schema carries most of the weight while the description adds nothing.
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?
States a specific verb and resource: 'Remove the current public publication.' That is unambiguous and implicitly the inverse of the publish_site sibling, though no sibling is named. It also clarifies the scope of removal, which prevents the agent from over-estimating the blast radius.
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?
'Remove the current public publication' plus 'Draft and enquiries are retained' implies a precondition (a publication must currently exist) and limits the effect of the operation, but neither is explicit. There is no statement of when to prefer unpublish_site over publish_site, preview_site, or publication_status, and no guidance for what to do if no publication exists.
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.