Skip to main content
Glama

Complete an upload

complete_upload
DestructiveIdempotent

Finish an upload after its bytes were sent to the URL of create_upload_link.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "uploadId": "<uploadId>"
    },
    "name": "complete_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
uploadIdYesThe upload id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=true and openWorldHint=false, so the write/safety profile is covered. The description adds one real behavioral fact beyond that: it must be invoked only after the bytes have been PUT to the signed URL. It does not explain error behavior (e.g., completing an upload whose bytes never arrived) or why the operation is flagged destructive.

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?

One sentence, verb-first, with no filler; the sequencing clause is essential information rather than padding. Nothing could be removed without losing meaning.

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 one-parameter finalize step with full annotation coverage, the description supplies the key missing context: its position after create_upload_link. Minor gaps remain around failure modes and what the call hands back (no output schema exists, so a hint about the resulting file would have helped).

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 uploadId parameter is documented with a pattern, so the structured data does the heavy lifting. The description adds contextual meaning only indirectly by associating the id with create_upload_link's returned URL, but never says the uploadId comes from that call's response.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Finish an upload" is a specific verb+resource, and the clause naming create_upload_link places the tool precisely in the two-step upload flow. It is distinguishable from siblings, though it never states what completing actually produces (a file record / file id).

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

Usage Guidelines3/5

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

The phrase "after its bytes were sent to the URL of create_upload_link" gives a clear precondition for calling it, which is genuine usage guidance. However, no alternative is addressed: the sibling upload_file exists and the description never says when to use the staged link flow versus a direct upload, nor what to do if the byte transfer failed.

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