Skip to main content
Glama

CodePress Sites

Begin guest site upload

begin_guest_site_upload
Idempotent

Reserves private source/output ZIP capacity; does not publish or run builds. Archives are accepted in sequential 48 KiB decoded chunks. A retry with an identical operation_id returns the same reservation.

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>",
      "operation_id": "<operation_id>",
      "expected_generation": "<expected_generation>",
      "source_adapter": "<source_adapter>",
      "source_archive_bytes": "<source_archive_bytes>",
      "output_archive_bytes": "<output_archive_bytes>",
      "source_bytes": "<source_bytes>",
      "output_bytes": "<output_bytes>",
      "source_sha256": "<source_sha256>",
      "output_sha256": "<output_sha256>"
    },
    "name": "begin_guest_site_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
guest_idYes
operation_idYes
output_bytesYes
source_bytesYes
output_sha256Yes
source_sha256Yes
source_adapterYes
edit_capabilityYes
expected_generationYes
output_archive_bytesYes
source_archive_bytesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, but the description adds real value beyond them: the 48 KiB sequential decoded-chunk ingestion rule and the fact that idempotency is keyed on operation_id. It does not disclose what the reservation actually returns, how long it lives, or what authority edit_capability grants, which matters for a write-capable call.

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 short sentences, front-loaded with the scope-defining clause and with zero filler. Each sentence contributes a distinct fact: what is reserved, how data is fed, and how retries behave.

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 an 11-parameter, all-required, non-readOnly reservation step with no output schema and no parameter documentation, the description leaves major gaps: concurrency expectations, the meaning of edit_capability, and what the caller receives back before uploading chunks. The chunking and idempotency notes are valuable but do not cover the complexity of the call.

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?

With 0% schema description coverage across 11 required parameters, the description carries the full explanatory burden, and it only clarifies operation_id semantics and the chunk size. Critical parameters such as expected_generation (evidently an optimistic-concurrency token), edit_capability (a writeOnly token), and the distinction between archive_bytes and raw bytes are left entirely unexplained.

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 uses a specific verb and resource ('Reserves private source/output ZIP capacity') and immediately bounds scope with 'does not publish or run builds', which separates it from publish_guest_site and the upload siblings. It stops short of naming an alternative tool outright, so differentiation is inferred from the negation rather than stated.

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 negative constraint ('does not publish or run builds') gives implicit guidance about where this step sits in the upload flow, and the retry sentence tells the caller how to recover from a repeated call. However, it never states when to choose this over upload_guest_site_archive or upload_guest_site_files, nor what must precede it.

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.