Skip to main content
Glama

Register uploaded material

complete_upload
Idempotent

Confirms that uploads finished and registers them in the creator's personal library: one upload (handle) or several (uploads, each with its own outcome). Each file is verified without any provider being involved — it has to be in storage with the declared size and be real media; its content identifies it (the same file twice is one asset) and it is measured (kind, size, duration). declared_content is WHAT the material shows (≤240 chars): it is what lets a director place it on the right scene. The answer carries stage — uploading (the bytes are not all in storage yet) · verifying (the file is in storage and is being checked, identified by its content and measured) · ready (the file is in the library and has an assetId) · failed (the file did not make it into the library, and reason says why). Small files answer ready at once, with the assetId that places them on a scene; a larger one answers verifying, and the same request repeated later returns its current stage. After a file is verified it can carry a ficha: what the system saw and heard in it (measures, a description of the frames, what is said, faces), with its own stage — reading (what the file shows and what is said in it is being described; the file is usable meanwhile) · ready (the description is written; estado is partial when part of it could not be produced, and motivo says why) · failed (the file could not be described and motivo says why; the file itself is still usable). The file does not wait for it: once ready, its assetId is already valid as material of a new piece and as the material of a scene. Registering an upload declares that the creator holds the rights to use the file in their pieces (Terms §5.1): the declaration is recorded for each upload (rightsDeclaration: the version, hash and language of its text, served at /api/legal/declarations/material). A file that is someone else's work under a license (a CC BY photo) records its author and license with credit and license (authorship in the answer): the credits of the piece name them. $0.

Input Schema

NameRequiredDescriptionDefault
creditNoWho made the file, as its license asks to credit them (e.g. 'Photo: Jane Doe / Wikimedia Commons'). Only for material that is someone else's work; the credits of the piece name it.
handleNoOne upload: the `handle` of its ticket.
licenseNoThe license under which the creator uses that work (e.g. 'CC BY 4.0', 'public domain').
speakerNoWho speaks in the recording: `el_autor` (the creator), `otra_persona` (another real person, not the creator), `nadie` (nobody speaks) or `sin_declarar` (not stated; clears a previous statement). It belongs to the file, so it holds in every piece that uses it.
uploadsNoSeveral uploads at once; the answer has one outcome per item, in the same order.
source_urlNoWhere that work is published (an http(s) address).
speaker_nameNoThe name of the other person who speaks; only with `speaker: otra_persona`.
declared_contentNoWhat the material shows, e.g. 'Interview with the harbour master, 2024, dock in background'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / credit
      Added value: +{
      +  "description": "Who made the file, as its license asks to credit them (e.g. 'Photo: Jane Doe / Wikimedia Commons'). Only for material that is someone else's work; the credits of the piece name it.",
      +  "maxLength": 300,
      +  "type": "string"
      +}
    • addedInput schema / properties / license
      Added value: +{
      +  "description": "The license under which the creator uses that work (e.g. 'CC BY 4.0', 'public domain').",
      +  "maxLength": 300,
      +  "type": "string"
      +}
    • addedInput schema / properties / source_url
      Added value: +{
      +  "description": "Where that work is published (an http(s) address).",
      +  "type": "string"
      +}
    • addedInput schema / properties / uploads / items / properties / credit
      Added value: +{
      +  "description": "Who made the file, as its license asks to credit them (e.g. 'Photo: Jane Doe / Wikimedia Commons'). Only for material that is someone else's work; the credits of the piece name it.",
      +  "maxLength": 300,
      +  "type": "string"
      +}
    • addedInput schema / properties / uploads / items / properties / license
      Added value: +{
      +  "description": "The license under which the creator uses that work (e.g. 'CC BY 4.0', 'public domain').",
      +  "maxLength": 300,
      +  "type": "string"
      +}
    • addedInput schema / properties / uploads / items / properties / source_url
      Added value: +{
      +  "description": "Where that work is published (an http(s) address).",
      +  "type": "string"
      +}
  2. Changed4 schema fields changed
    • addedInput schema / properties / speaker
      Added value: +{
      +  "description": "Who speaks in the recording: `el_autor` (the creator), `otra_persona` (another real person, not the creator), `nadie` (nobody speaks) or `sin_declarar` (not stated; clears a previous statement). It belongs to the file, so it holds in every piece that uses it.",
      +  "enum": [
      +    "el_autor",
      +    "otra_persona",
      +    "nadie",
      +    "sin_declarar"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / speaker_name
      Added value: +{
      +  "description": "The name of the other person who speaks; only with `speaker: otra_persona`.",
      +  "type": "string"
      +}
    • addedInput schema / properties / uploads / items / properties / speaker
      Added value: +{
      +  "description": "Who speaks in the recording: `el_autor` (the creator), `otra_persona` (another real person, not the creator), `nadie` (nobody speaks) or `sin_declarar` (not stated; clears a previous statement). It belongs to the file, so it holds in every piece that uses it.",
      +  "enum": [
      +    "el_autor",
      +    "otra_persona",
      +    "nadie",
      +    "sin_declarar"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / uploads / items / properties / speaker_name
      Added value: +{
      +  "description": "The name of the other person who speaks; only with `speaker: otra_persona`.",
      +  "type": "string"
      +}
  3. Changed4 schema fields changed
    • addedInput schema / anyOf
      Added value: +[
      +  {
      +    "required": [
      +      "handle"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "uploads"
      +    ]
      +  }
      +]
    • changedInput schema / properties / handle / description
      Previous value: -"The `handle` of the upload ticket."New value: +"One upload: the `handle` of its ticket."
    • addedInput schema / properties / uploads
      Added value: +{
      +  "description": "Several uploads at once; the answer has one outcome per item, in the same order.",
      +  "items": {
      +    "properties": {
      +      "declared_content": {
      +        "description": "What this file shows.",
      +        "type": "string"
      +      },
      +      "handle": {
      +        "description": "The `handle` of the upload ticket.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "handle"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "handle"
      -]New value: +[]
  4. Changed1 schema field changed
    • changedInput schema / properties / handle / description
      Previous value: -"The `handle` from `request_upload`."New value: +"The `handle` of the upload ticket."
  5. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and idempotentHint=true; the description goes far beyond that, spelling out the four-stage lifecycle (`uploading`/`verifying`/`ready`/`failed`), that small files resolve immediately while large ones do not, that `ready` yields a usable `assetId`, and that the separate `ficha` pipeline never blocks usability. It also discloses the rights declaration recorded per upload (Terms §5.1) and the credits flow, which are non-obvious side effects an agent could not predict from structured fields.

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

Conciseness3/5

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

It is front-loaded correctly — the core action comes first and lifecycle detail follows — but the single dense paragraph is heavy, with nested parentheticals inside parentheticals for the `ficha` stage list. Much of that text is necessary given there is no output schema, yet the stage enumerations could be tightened without losing information.

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

Completeness5/5

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

With no output schema available, the description carries the full return-value burden and does so: it documents `stage` values, `reason`, `assetId`, the `ficha` object with its own `stage`/`estado`/`motivo`, `authorship` credits, and the recorded `rightsDeclaration`. For a tool with a multi-phase async lifecycle and legal side effects, an agent has everything required to call it and interpret the response.

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

Parameters4/5

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

Schema coverage is already 100%, so the baseline is 3, but the prose adds real meaning: `declared_content` is characterised as what lets a director place the material on the right scene (and capped at 240 chars in prose only), and `speaker` is explained as belonging to the file and therefore holding across every piece that uses it. `credit`/`license` are tied to the `authorship` field in the answer, closing the loop between input and output.

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

Purpose5/5

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

The description opens with a specific verb and resource — 'Confirms that uploads finished and registers them in the creator's personal library' — and immediately scopes it to either a single `handle` or a batch `uploads`. That framing clearly separates it from the earlier upload-request step and from library-management siblings.

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?

It states the call belongs after uploads finish and explains that repeating the same request later returns the current stage, which is exactly the guidance an agent needs for a long-running flow. It never names a sibling such as request_upload as the prerequisite, so an agent must infer the ordering rather than being routed explicitly.

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