Skip to main content
Glama

Start a new-site upload

start_upload

Start publishing a NEW site with files of any type and size (binaries included): declares the files and returns presigned PUT URLs to upload the bytes directly. The PUT URLs point at Cloudflare R2 storage (hosts under r2.cloudflarestorage.com) — sandboxed environments must allow egress to that domain. For small text or base64 files, publish_site is simpler. Complete with finalize_upload, or abandon with abort_upload.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoRequested address; auto-suggested if omitted
filesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / files / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / files / items / properties / sizeBytes / maximum
      Added value: +9007199254740991
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only provide readOnlyHint=false, openWorldHint=false, destructiveHint=false, which are minimal. The description adds meaningful behavioral context: it returns presigned PUT URLs, points to Cloudflare R2 storage, warns about sandbox egress requirements, and notes that finalize verifies byte sizes. It doesn't fully describe failure modes or what happens if finalize is never called, but it discloses the key operational behavior beyond the annotations.

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, each earning its place: the first states the core function and mechanism, the second adds the critical egress constraint, the third gives routing and workflow guidance. No filler, no repetition of schema content.

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 tool with no output schema, the description explains the return value (presigned PUT URLs) and the follow-up steps. It covers the key operational constraint (R2 egress) and the alternative for small files. It doesn't mention error cases or the exact shape of the presigned URL response, but for a two-parameter tool with clear workflow context, this is nearly complete.

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 description coverage is 50% (name and files are described in the schema). The description adds context about the files parameter (declares files, returns PUT URLs) and the name parameter (auto-suggested if omitted), which complements the schema. It doesn't detail every parameter, but the schema already covers the basics, and the description adds workflow-level meaning.

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?

The description states a specific verb ('Start publishing'), a specific resource ('a NEW site'), and the key mechanism (declares files and returns presigned PUT URLs). It also distinguishes itself from publish_site and names the sibling tools for completing or abandoning the flow. This is a clear, specific purpose statement that an agent can act on.

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?

The description explicitly says when to use this tool vs alternatives: 'For small text or base64 files, publish_site is simpler.' It also names the required follow-up tools (finalize_upload, abort_upload), giving the agent a complete workflow context. This is explicit usage guidance with alternatives and exclusions.

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.

Resources