Skip to main content
Glama

Finish an upload started by upload_media

confirm_upload

Confirm a file upload after using upload_media's curl_template. Call this only after the curl POST returned HTTP 204.

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": {
      "id": "<id>"
    },
    "name": "confirm_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesSingle media ID to confirm

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"The `id` `upload_media` returned for this file."New value: +"Single media ID to confirm"
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so the safety profile is covered. The description usefully adds that this is a state-dependent follow-up to an HTTP 204 response. It does not mention what a repeat call does despite idempotentHint=false, nor what errors look like, so it adds some but not rich behavioral context.

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 short sentences, zero filler, and the sequencing precondition is front-loaded right after the purpose statement. Nothing redundant with the title or schema.

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 completion step with no output schema, the description covers the essential workflow position and the trigger condition. The remaining gap is what happens on re-invocation or failure, which matters somewhat given idempotentHint=false.

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% and the single 'id' parameter is documented in the schema as the media ID to confirm, so the schema carries the semantics. The description adds nothing about the ID's format or where it comes from (presumably the upload response), so baseline 3 applies.

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?

States a specific verb and resource ('Confirm a file upload') and explicitly anchors it to the sibling tool upload_media and its curl_template. An agent can tell this is the second half of a two-step upload flow rather than a standalone upload or a widget flow, though it doesn't contrast with upload_media_widget.

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?

Provides an explicit, checkable precondition: call only after the curl POST returned HTTP 204. That is a real gating rule rather than implied usage. It stops short of saying what to do if the POST failed or if the confirmation itself fails, so it is not a full when/when-not treatment.

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.