Skip to main content
Glama

Publish page

publish_page
Idempotent

Publish a landing page: freezes the draft as the live snapshot at /p//. Errors: page_needs_form (a signup block needs a form_id). Next: share the returned url, or list_pages to watch views and leads.

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": {
      "id": "<id>"
    },
    "name": "publish_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe page id (pg_...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true), and the description adds value beyond them: it discloses the concrete state change (draft becomes the live snapshot), a specific error condition with its cause (page_needs_form when a signup block lacks a form_id), and that a url is returned. It stops short of saying what happens to a previously published version or any permission requirements, so it is not exhaustive.

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?

Two sentences, front-loaded with the effect, then structured as 'Errors:' and 'Next:' segments. Every clause conveys actionable information with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter, non-destructive publish action with no output schema, the description covers the state change, the failure mode, and the return value (url), which is close to everything an agent needs. Minor gaps remain on preconditions (page must be in draft) and what happens to any existing live page.

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?

Only one parameter (id) with 100% schema description coverage ('The page id (pg_...)'), so the schema already carries the full burden. The description adds no further meaning about the id beyond what is already documented, which is the baseline-3 case.

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?

Names a specific verb (Publish) and resource (a landing page), then states the concrete effect: the draft is frozen as the live snapshot at /p/<workspace>/<slug>. An agent can distinguish this from unpublish_page or update_page purely from the text.

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

Usage Guidelines3/5

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

Usage is implied by the description ('freezes the draft as the live snapshot') and it supplies follow-up routing ('Next: share the returned url, or list_pages to watch views and leads'). However it never names the contrasting case (e.g., unpublish_page to take it down) or prerequisites such as the page needing an existing draft, so the when-versus-alternative decision is left to inference.

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