Skip to main content
Glama

Finish a media upload

quiz_video_complete_media_upload
Idempotent

Call after the PUT succeeds. The server reads the stored file and checks it really is what it claims. A damaged or wrong file is deleted and the response explains why. Returns the asset; use asset.id in quiz_video_update_quiz_media.

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": "quiz_video_complete_media_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoDisplay name for a music track.
assetIdYes
durationSecondsNoOptional: only used if the file does not state its own length.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing that the server re-reads the stored bytes, that a damaged or wrong file is deleted, and that the response explains why — meaningful mutation semantics against destructiveHint=false. It does not address the declared idempotency (what happens on a repeat call with the same assetId), which is the one behavioral trait left unexplained.

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?

Four short sentences, front-loaded with the triggering condition, then validation behavior, then return value and next step. Every sentence carries distinct, actionable information with no repetition of the 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?

With no output schema, the description correctly names the return ('the asset') and the one field the agent needs (asset.id). For a three-parameter tool it covers invocation timing, failure behavior, and hand-off; only idempotent-replay behavior and the optional name/durationSeconds use are left implicit.

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 67% and assetId carries no schema description at all, so the description's 'Returns the asset; use asset.id...' helps link assetId to the upload result. It says nothing about when name or durationSeconds apply, beyond what the schema already documents, so it neither compensates fully nor leaves the gap entirely unaddressed.

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 concrete action ('Call after the PUT succeeds'), framing it as the completion step of an upload, and says the server validates the stored file and returns the asset. It does not literally name the sibling create_media_upload tool that precedes it, but the sequencing makes the role clear.

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?

Explicit timing is given ('Call after the PUT succeeds') plus an explicit follow-up ('use asset.id in quiz_video_update_quiz_media'), which routes the agent forward. It lacks an explicit 'do not call before the PUT' warning and doesn't say what to do on validation failure beyond reading the response.

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