Skip to main content
Glama

Sell Ltd Marketplace

complete_media_upload

Idempotent

Validate and attach previously uploaded media. Requires connected account authorization with media:write.

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": {
      "listingId": "<listingId>",
      "mediaId": "<mediaId>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "complete_media_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
mediaIdYes
listingIdYes
idempotencyKeyYesUnique operation key. Reuse this value when retrying the identical request.

Output Schema

NameRequiredDescriptionDefault
idYes
slugNo
mediaYes
regionNo
sectorNo
statusNo
summaryNo
versionNo
headlineNo
categoriesNo
asking_priceNo
company_nameNo
teaser_summaryNo
confidentialityNo
advertising_untilNo
asking_price_modeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=true, and destructive=false, so the safety profile is covered. The description adds genuinely new context beyond those annotations: an authorization prerequisite with the specific scope media:write. It does not explain what validation entails or what happens on a validation failure.

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, with the action and the prerequisite front-loaded. Nothing is repeated from the title or annotations.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and the auth scope is covered. Still missing for a three-required-parameter mutation: any explanation of the two undocumented UUID parameters and any statement of failure behavior when validation does not pass.

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?

Schema coverage is only 33%: idempotencyKey is documented in the schema, but listingId and mediaId are bare UUIDs with no description anywhere. The description adds no meaning about what these identifiers refer to or where the caller obtains them, so it does not compensate for the coverage gap.

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 pair (validate and attach) and a specific resource (previously uploaded media), which is enough to distinguish it from create_media_upload without naming it. It stops short of explicitly contrasting with the sibling that starts the upload flow.

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 'previously uploaded media' implies this is the second step after an upload exists, which is useful sequencing context. However, there is no explicit when-not guidance, no named alternative, and no statement of what to do if validation fails or if the media was never uploaded.

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