Skip to main content
Glama

Create dossier media upload url

create_dossier_media_upload_url

A signed address to PUT a video to, for a file on your own machine. Step one of two: upload, then finalize_dossier_media_upload with the upload_id from here. Until you finalize, NOTHING is in the dossier — an abandoned upload leaves an object in storage, not half a video in the folder. The 50 MB limit sits on the bucket as well, so an oversized PUT fails immediately instead of after the transfer: a limit you learn about after uploading 50 MB is not a limit, it is a penalty.

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": {
      "filename": "<filename>"
    },
    "name": "create_dossier_media_upload_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYese.g. process.mp4 — the extension decides the storage path when mime_type is absent.
grant_idNo
mime_typeNovideo/mp4. Only decides the extension; the real type is read from the bytes on finalize.
tender_idNo
dossier_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior5/5

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

Goes well past the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false): it discloses that an abandoned upload leaves an orphan object in storage rather than partial dossier state, and that the 50 MB cap is enforced at the bucket so an oversized PUT fails before transfer. Those are exactly the non-obvious operational traits an agent needs. The only unstated trait is URL expiry.

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?

The sequence and the storage/bucket behavior are front-loaded and useful. However the closing clause ('a limit you learn about after uploading 50 MB is not a limit, it is a penalty') is rhetorical padding that restates the preceding sentence without adding information.

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?

For a five-parameter mutation-adjacent tool with no output schema and 40% schema coverage, the description covers the workflow and failure modes well but omits the signed URL's lifetime and says nothing about how the three scope IDs interact. An agent could still call it, but only by guessing at the scoping parameters.

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 40%, and three of the five parameters (grant_id, tender_id, dossier_id) have no schema description at all. The description says nothing about these scoping IDs — whether they are alternative scopes, whether some are required together, or what defaults to what — so the gap is not compensated.

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 verb and resource: 'a signed address to PUT a video to' for a local file, and frames it explicitly as 'Step one of two' ahead of finalize_dossier_media_upload. It separates itself from the finalize sibling, though it does not distinguish itself by name from create_dossier_image_upload_url or upload_dossier_media, so an agent must infer the video/other-modality split.

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?

Gives a clear sequencing contract: get this URL, PUT the bytes, then call finalize_dossier_media_upload with the upload_id returned here. It also states the negative case (until finalized, nothing is in the dossier). What it lacks is an explicit statement of when to pick this over the direct-upload sibling upload_dossier_media or the image variant.

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