Skip to main content
Glama

Take a page offline or back online

unpublish_page
Idempotent

Take a page offline without deleting it: its URL shows an "offline" notice to viewers, and the content, id, URL and view count are kept. Pass restore: true to put it back online at the same URL. Prefer this over delete_page when the human wants a page hidden or paused. Calling it twice is harmless. Returns { ok, id, live }; fails with page_not_found if the id is not in this space.

Input Schema

NameRequiredDescriptionDefault
page_idYesThe page id: the `id` field from publish_page or list_pages (also the last path segment of the page URL, …/docs/<page_id>). Only pages in the connected maker's space are visible.
restoreNoDefault false (take offline). true = put the page back online.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / page_id / description
      Added value: +"The page id: the `id` field from publish_page or list_pages (also the last path segment of the page URL, …/docs/<page_id>). Only pages in the connected maker's space are visible."
    • changedInput schema / properties / restore / description
      Previous value: -"true = put the page back online."New value: +"Default false (take offline). true = put the page back online."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare non-destructive, idempotent and open-world behavior, but the description adds genuinely new context: what survives the operation (content, id, URL, view count), what viewers see, and the failure mode page_not_found for out-of-space ids. It also compensates for the absence of an output schema by naming the return shape { ok, id, live }.

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?

Front-loads the core action and preserved-state guarantee, then layers reversal, sibling routing, idempotency and error behavior in four tight sentences with no filler. Every sentence carries distinct information an agent needs.

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?

Complete for a two-parameter mutation tool: state transition, reversibility, idempotency, sibling alternative, return shape and error case are all covered despite there being no output schema and only a small parameter surface.

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%, including the page_id sourcing hint and the restore flag semantics, so the schema already does the explanatory work. The description restates restore: true without adding format or edge-case detail, so the baseline 3 applies.

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?

States a specific verb (take offline / restore) and resource (page), and precisely explains the resulting state: URL shows an offline notice while id, URL, content and view count are preserved. It explicitly distinguishes itself from delete_page, so an agent can tell the two apart without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit routing rule: 'Prefer this over delete_page when the human wants a page hidden or paused.' It also explains how to reverse the action (restore: true) and states that repeated calls are harmless, covering the main when-to-use and when-to-repeat questions.

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