Skip to main content
Glama

Confirm Upload

confirm_upload
Idempotent

Finalize a batch of uploads after the caller has PUT all file bytes to the presigned URLs returned by request_upload. The site goes live (or is updated) only after this call succeeds. All files in the batch are published atomically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_idYesThe site's public identifier returned by list_sites or create_site.
upload_idYesThe batch upload_id returned by request_upload. Covers all files in that call.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

The description adds meaningful behavioral context beyond the annotations: atomic publication of all files and the fact that the site goes live or is updated only after success. This complements the idempotentHint and destructiveHint annotations without contradicting them.

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 precondition, the effect on the site, and the atomicity guarantee. The most important information is front-loaded and there is no redundancy or filler.

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?

Given that an output schema exists and annotations cover idempotency and safety, the description provides all necessary behavioral context: the required preceding step, the publish effect, and atomicity. Nothing critical is missing for an agent to invoke this tool correctly.

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 schema already fully documents both site_id and upload_id. The description does not add parameter-level meaning beyond what the schema provides, so the baseline score of 3 is appropriate.

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 clearly states a specific verb ('Finalize') and resource ('a batch of uploads'), and explains the relationship to request_upload. It distinguishes itself from the sibling tools by specifying that the site goes live only after this call succeeds.

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 explicitly states the precondition: the caller must have PUT all file bytes to the presigned URLs returned by request_upload. This gives clear when-to-use guidance, though it does not explicitly mention when not to use it or name alternative tools.

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