Skip to main content
Glama

Start an upload

artifact_site_upload_start

Start a large document or site upload when inline publish exceeds 2 MiB. Returns versionId for subsequent upload_write, enabling replacement or new artifact publication.

Instructions

Prepare a large document or multi-file website for remote publication when inline publish/update would exceed the 2 MiB MCP request limit. Returns versionId, used as upload_id in upload_write and publish/update. Omit slug for a new artifact; include it for whole-content replacement of that artifact. Send actual bytes using upload_write, never a path on your local machine. Check connection for deployment limits. Incomplete uploads expire after six hours.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugNoExisting artifact to replace; omit when creating a new artifact.
titleNoOptional title for the completed artifact.
tenant_idNoDestination tenant for creation; defaults to the account tenant.
share_tokenNoToken from a user-provided share URL; carries only that share permission.
operation_keyNoPersist a unique key before this write. Reuse exactly the same key and arguments after errors; recover results for seven days using operation_status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations, the description reveals that the call returns versionId for use as upload_id and that incomplete uploads expire after six hours. It conveys that this is a preparation step rather than the transfer itself, though it does not fully spell out the side effect of creating a pending upload session.

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?

Every sentence has a distinct job: trigger condition, return-value contract, slug guidance, byte-handling warning, connection check, and expiration. There is no filler or repetition.

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

Completeness5/5

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

For a multi-step upload workflow with no output schema, the description covers the essential invocation path: start the upload, get versionId, use it in upload_write, then publish/update. It also handles edge cases like slug omission, expiration, and connection limits, making it complete enough for correct invocation.

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 100%, so the baseline is 3. The description reinforces slug's omit/include behavior and says including it means whole-content replacement, but it does not add much about title, tenant_id, share_token, or operation_key beyond what the schema already documents.

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 names a specific action and resource: preparing a large document or multi-file website for remote publication. It explicitly distinguishes this from inline publish/update and from upload_write, so an agent can identify when this tool starts an upload versus when it sends bytes.

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?

It gives an explicit trigger condition: use this when inline publish/update would exceed the 2 MiB MCP request limit. It also tells the agent to send bytes via upload_write, never a local path, and to check connection for deployment limits, which routes the agent to the correct siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.