Skip to main content
Glama

CodePress Sites

Complete guest site upload

complete_guest_site_upload
DestructiveIdempotent

Validate both private ZIPs into an immutable release without publishing or executing scripts. Returns compact release_id/artifact_sha. An identical operation_id retry recovers its receipt.

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>",
      "upload_id": "<upload_id>",
      "operation_id": "<operation_id>",
      "expected_generation": "<expected_generation>"
    },
    "name": "complete_guest_site_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
guest_idYes
upload_idYes
operation_idYes
edit_capabilityYes
expected_generationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare destructive and idempotent, but the description adds real value: no script execution, immutability of the resulting release, and the operation_id retry semantics that recover an existing receipt. It still omits permission requirements and what happens on validation failure.

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

Conciseness4/5

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

Three short, front-loaded sentences with no filler, and the return summary is placed early. Minor redundancy between "validate" and "immutable release" but nothing wasteful.

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

Completeness2/5

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

For a destructive, idempotent mutation with five required parameters, a write-only credential, and an optimistic-concurrency field, the description covers only idempotency and non-publication. It leaves the capability token and generation precondition entirely unexplained, and with no output schema the "compact release_id/artifact_sha" note is helpful but thin.

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

Parameters2/5

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

Schema description coverage is 0% across five required parameters. The description explains only operation_id (retry receipt recovery) and lightly implies the ZIPs behind upload_id; it says nothing about guest_id, the write-only edit_capability token, or what expected_generation guards against.

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?

States a specific verb and outcome: validate two private ZIPs into an immutable release. It implicitly separates itself from publish_guest_site by saying "without publishing," though the phrase "both private ZIPs" is ambiguous without the surrounding upload tools.

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?

The description implies this is the terminal step after archives are uploaded, and the "without publishing" clause signals publishing is a separate action. However, it never names the prerequisite tools or states when not to call it, so the agent must infer the sequence from sibling names.

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.