Skip to main content
Glama

CodePress Sites

Upload guest site archive chunk

upload_guest_site_archive
DestructiveIdempotent

Uploads one sequential base64 ZIP chunk to a reserved source/output archive. Decoded chunks are 48 KiB except the final one. Returns next_chunk without echoing bytes. Resending an identical chunk is idempotent; an expired upload accepts no further chunks. Does not publish.

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>",
      "kind": "<kind>",
      "chunk_index": "<chunk_index>",
      "data_base64": "<data_base64>"
    },
    "name": "upload_guest_site_archive"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
guest_idYes
upload_idYes
chunk_indexYes
data_base64Yes
edit_capabilityYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behavior: decoded chunks are 48 KiB except the final one, the response returns next_chunk without echoing bytes, identical resends are idempotent, and expired uploads reject further chunks. These details materially help an agent invoke and retry the tool correctly.

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?

The description is dense and front-loaded, with each sentence adding actionable information about chunk semantics, return behavior, idempotency, expiration, and scope. There is no filler or repetition.

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 six-parameter upload tool with no output schema, the description covers chunk sizing, sequencing, idempotent retry behavior, expiration, and the next_chunk return field. It is not fully complete because it leaves the upload lifecycle relationship to begin/complete and the role of edit_capability unstated.

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, the description compensates for some parameters by explaining kind as source/output, chunk_index as sequential, and data_base64 as base64 ZIP chunks of 48 KiB decoded. It does not explain guest_id, upload_id, or edit_capability, so important required parameters remain 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 states a specific verb and resource: uploading one sequential base64 ZIP chunk to a reserved source/output archive. It also clarifies that this does not publish, which helps distinguish it from publish_guest_site, but it does not explicitly differentiate itself from upload_guest_site_files.

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 through the concepts of a reserved upload, sequential chunks, idempotent resends, and expired uploads accepting no more chunks. However, it does not explicitly say when to use this versus begin_guest_site_upload, complete_guest_site_upload, or upload_guest_site_files.

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.