Skip to main content
Glama

CodePress Sites

Publish guest site

publish_guest_site
DestructiveIdempotent

Makes a validated release publicly reachable; this is the guest-site operation that publishes, for a publication the user requested. Requires the current generation and the exact artifact_sha. Returns the live URL, the private Manage link and the expiry. A repeated identical operation_id does not publish twice.

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": {
      "guest_id": "<guest_id>",
      "edit_capability": "<edit_capability>",
      "release_id": "<release_id>",
      "operation_id": "<operation_id>",
      "expected_generation": "<expected_generation>",
      "artifact_sha": "<artifact_sha>"
    },
    "name": "publish_guest_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
guest_idYes
release_idYes
artifact_shaYes
operation_idYes
edit_capabilityYes
expected_generationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructive, idempotent and open-world behavior; the description adds useful specifics beyond them — that idempotency is keyed on operation_id and that generation/artifact_sha act as concurrency preconditions. But for a destructive publish it never says what happens to the currently live site (replaced? orphaned? downtime?) or what authorization (edit_capability) is needed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The effect and requirements are front-loaded and there is no filler paragraph, but the clause "this is the guest-site operation that publishes, for a publication the user requested" is awkwardly worded near-duplication that costs clarity.

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

Completeness3/5

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

Return values are covered (live URL, Manage link, expiry) despite no output schema, and the idempotency contract is stated. For a destructive, open-world operation with six mandatory parameters at 0% schema coverage, missing consequences-of-replacement and credential-parameter information leaves a clear gap.

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 0%, so the description must carry the load; it explains expected_generation, artifact_sha and operation_id semantics reasonably well. It says nothing about guest_id, release_id, or the write-only edit_capability, leaving three of six parameters — including the credential — undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a concrete verb and effect ("Makes a validated release publicly reachable") and labels it explicitly as the guest-site publishing operation, which separates it from the sibling publish_website. The parenthetical "for a publication the user requested" is redundant but doesn't blur the purpose.

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?

It states preconditions (current generation and exact artifact_sha) and implies that a validated release must exist, which helps an agent decide feasibility. However, it never says when not to use it, what to do when the generation is stale, or how it differs in choice terms from publish_website.

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.