Skip to main content
Glama

Upload files to an existing site

upload
DestructiveIdempotent

Add or replace files on an EXISTING roost. Pass tenantId plus a manifest listing each file's path, size, and optional content type. Returns one presigned PUT URL per file — upload bytes directly via HTTP (e.g. curl -T file.png -H 'Content-Type: image/png' "$url"). Files go live immediately as each PUT completes; no separate publish call is needed. Use after regenerating a dashboard locally; Hatch does not schedule regenerations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
manifestYes
tenantIdYesTenant id from the original hatch response.
sessionTokenNoOptional paired session token from poll_pairing (when Authorization headers are unavailable).
expiresSecondsNoURL TTL in seconds (default 3600).

TDQS

A4.2/5.0
Behavior4/5

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

The description adds behavioral context beyond annotations: it discloses that the tool returns presigned PUT URLs, requires direct HTTP upload, and that files go live immediately on PUT completion with no separate publish call. The annotations (readOnlyHint=false, destructiveHint=true) are consistent with the mutation described. No contradictions.

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 compact—four sentences that cover purpose, workflow, return value, and timing. It front-loads the core action and uses a concrete curl example, making it efficient and informative.

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?

With no output schema, the description appropriately explains the return value (presigned URLs per file) and the delivery mechanism. It also provides critical timing information ('go live immediately') and the intended post-regeneration context. Minor gaps like error handling or what happens on partial failure are not covered, but for a tool with moderate complexity this is sufficient.

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?

The description calls out tenantId and manifest with path/size/contentType, which mirrors the schema, but does not explain sessionToken or expiresSeconds beyond their schema descriptions. Since schema coverage is 75%, the description adds modest clarity on the manifest structure but relies on schema for the rest. Overall it doesn't significantly exceed the schema's parameter documentation.

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 uses a specific verb phrase 'Add or replace files on an EXISTING roost' and distinguishes from sibling tools by noting Hatch does not schedule regenerations and this is for after local regeneration. This clearly identifies the tool's function and separates it from deploy/hatch.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states an explicit use case: 'Use after regenerating a dashboard locally; Hatch does not schedule regenerations.' This tells the agent when to invoke this tool. It also implies not for creating new sites by emphasizing 'EXISTING.' It doesn't explicitly name alternative tools, but gives clear contextual guidance.

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.

TDQS

A3.8/5.0
Disambiguation3/5

Core actions like hatch, convert, upload, and lookup are generally distinct, but the polling family (poll_approval, poll_decision, poll_pairing) is easy to confuse, and await_decision misleadingly sounds like a wait operation rather than the creation of a review. Descriptions clarify boundaries, but the names alone leave room for misselection.

Naming Consistency3/5

Most tools use an imperative verb style, but the pattern is inconsistent: some are bare verbs (hatch, convert, deploy, list, lookup, share, upload), some are verb_noun (poll_decision, refresh_session, get_pairing_code), and auth is a bare noun. The names are readable but do not follow one predictable convention.

Tool Count3/5

16 tools sits at the heavy end of the comfortable range, inflated by three polling tools plus pairing/session management that are only tangentially related to the core task of creating and updating roosts. Each tool has a purpose, but the surface feels larger than the core domain requires.

Completeness3/5

The set covers create, read/list, update via convert/upload/deploy, sharing, and auth, but there is no delete/destroy or teardown tool, and custom domain/state management is only passively visible through lookup. Agents can complete common workflows but will hit dead ends on teardown or lifecycle management.