Skip to main content
Glama

Publish all draft copies

publish_page_copies
DestructiveIdempotent

Publishes every draft document of a site at once: makes the .md URLs public and adds them to the site llms.txt. Show the user the list of drafts (list_documents) and get their approval first. On this account the call is refused until user_approved is true.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "publish_page_copies"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoSite domain, e.g. example.com. Optional when the account has one site.
user_approvedNoTrue only after the user has seen this exact change in the chat and agreed to it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, but the description adds real substance: exactly which artifacts are made public and that llms.txt is mutated, plus an account-level refusal rule for unapproved calls. It does not say whether the publication is reversible or how to roll it back (e.g. unpublish_document), which is the main remaining gap for a destructive batch operation.

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?

Three sentences, front-loaded with the effect, then the required user-approval workflow, then the enforcement rule. No filler and nothing repeated from the schema or annotations.

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?

With no output schema, the description compensates by explaining what changes on the server (public URLs, llms.txt), so the agent can predict the outcome. It stops short of describing the response shape or what happens to documents that are already published, minor omissions for a two-parameter batch tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds consequence-level meaning to user_approved by stating the call is refused until it is true — information the schema's phrasing ('True only after the user has seen this exact change') does not itself convey. The site parameter's optionality is left entirely to the schema, which is acceptable given full coverage.

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 and resource ('publishes every draft document of a site at once') and enumerates the concrete effects: .md URLs become public and are added to llms.txt. The batch scope ('every draft document... at once') distinguishes it from the singular publish_document sibling without needing 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?

Explicitly prescribes the workflow: call list_documents to show the user the drafts and obtain approval before invoking this tool. It also names the hard precondition (user_approved must be true) that otherwise blocks the call, so the agent knows both the ordering and the gating condition.

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.