Skip to main content
Glama

Confirm File Upload

file.confirm_upload
Idempotent

Finish a file upload started with file.request_upload, after the bytes have been PUT to the presigned URL. Returns the stored filename — add that value to a File List field or set it as a Cover.

Input Schema

NameRequiredDescriptionDefault
keyYesThe `key` returned by file.request_upload, after you PUT the bytes.

Output Schema

NameRequiredDescriptionDefault
filenameYesStored filename to add to a File List field or set as a Cover

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / filename / description
      Previous value: -"Stored filename to set on a File or Cover attribute"New value: +"Stored filename to add to a File List field or set as a Cover"
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds genuinely new behavioral context: it is the finalization step of a two-phase upload and depends on prior byte transfer. It does not say what happens if called before the PUT (error vs. empty file), which is the main remaining gap.

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?

Two sentences, front-loaded with the verb and the prerequisite, with no filler. Every clause carries either sequencing information or result-usage guidance.

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?

An output schema exists and annotations are rich, so the description only needs workflow context — which it supplies. Failure modes (calling before the PUT, expired presigned URL, mismatched key) are not covered, which is the one substantive omission for a stateful finalization step.

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 coverage is 100% and the single `key` parameter is already documented as coming from file.request_upload after the PUT; the description only restates that sequence rather than adding format, encoding, or validation detail.

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?

States a specific verb and resource (finish/confirm a file upload) and ties it to the exact preceding sibling step `file.request_upload`, so it is unambiguously distinguishable from request_upload and from ordinary read/write item tools.

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?

Gives the precise precondition — call only after the bytes have been PUT to the presigned URL — and names the prerequisite tool explicitly, so the two-step workflow is fully specified. It also tells the agent what to do with the result (File List field or Cover).

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