Skip to main content
Glama

Complete media upload

complete_upload
Idempotent

Verify an uploaded owned asset by ID before using its URL to confirm it is valid and ready for image or video generation.

Instructions

Verify an uploaded owned object before using its URL.

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": {
      "assetId": "<assetId>"
    },
    "name": "complete_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare a non-destructive, idempotent, closed-world (readOnlyHint=false) operation, so the safety profile is covered. The description adds nothing about what state actually changes, what error is returned for an incomplete or foreign asset, or whether the URL becomes invalidated on failure — the substantive behavior an agent needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence with no filler, which is the right shape for a single-parameter utility call. The terseness itself is the problem, but that is captured under completeness rather than wordiness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the agent must infer almost everything about the response (does it return a URL, a status, or nothing?) and about failure modes for a state-changing completion step. A preconditions sentence and a one-line outcome statement would close most of the gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter assetId has 0% schema description coverage, so the description carries the full burden and it says nothing about it — not its origin (returned by create_upload_url), its format (UUID), or its scope (must be an object 'owned' by the caller). The ownership constraint is only faintly hinted at by the adjective 'owned'.

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

Purpose3/5

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

'Verify an uploaded owned object' names a verb and a resource, but the object of the verification is left abstract: an agent cannot tell whether this finalizes an upload, checks integrity, or merely polls status. The link to the create_upload_url sibling is implied by 'uploaded ... before using its URL' but never stated.

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?

'before using its URL' encodes the ordering (upload → complete → consume URL), which is real, usable guidance. However, there is no mention of what to do if verification fails, whether it must be called exactly once, or how it relates to any recovery path.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.