Skip to main content
Glama

Upload dossier media

upload_dossier_media

Put a VIDEO into a dossier and get back the Markdown that embeds it — the piece a technical concept lives or dies on. A rendered process cycle shows a buyer in forty seconds what three pages of prose do not. Fetches from source_url: that is the case these videos come from, a run artefact the server can reach. There is deliberately NO content_base64 — 50 MB of video is ~67 MB of text that would have to sit inside the call, and the runtime spills tool output to a file above ~30 KB. A parameter that fails for every realistic file is a trap, not an offer. For a file on your own machine use create_dossier_media_upload_url instead. MP4 only, up to 50 MB, and the type is read from the BYTES, not from what the server announces.

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": {
      "source_url": "<source_url>"
    },
    "name": "upload_dossier_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
alt_textNoCaption. Shown under the player and used as the label in the PDF.
filenameNo
grant_idNo
tender_idNoAlternative to dossier_id: the dossier of this procedure.
dossier_idNo
source_urlYesThe server fetches this. Must be on the allow-list.
poster_image_idNoAn image of the SAME dossier as the still frame — shown before playback and used in place of the video in the PDF export.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

The annotations cover only basic write characteristics; otherwise they do not specify much. The description adds constraints that matter operationally: the server fetches the URL и must be on the allow-list, MP4 up to 50 MB, and the MIME type is read from the bytes not from what the server declares. It also explains the deliberate absence of a base64 parameter by citing the ~30 KB tool-output spill threshold, which is a real implementation trait an agent could otherwise mis-assume.

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 purpose and the usage rule are front-loaded, which is appropriate. But a fair share of the text is unearned rhetoric ('the piece a technical concept lives or dies on', 'a trap, not an offer'), and that padding dilutes an otherwise ~60-word set of facts.

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?

There is no output schema, and the description states the return ('the Markdown that embeds it'), along with format, size, and type-detection rules. What is missing is the required-selection rule among dossier_id, tender_id, and grant_id, and any statement of the failure behavior when the allow-list rejects a URL.

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 57%, and the schema already documents source_url and poster_image_id. The description adds useful semantics for source_url (server-side fetch plus allow-list) and adds format and size limits that the schema lacks. It says nothing about grant_id, filename, or dossier_id, so it leaves part of the parameter set undocumented.

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 uses a specific verb and resource: 'Put a VIDEO into a dossier' and 'get back the Markdown that embeds it.' It names the sibling it is not ('For a file on your own machine use create_dossier_media_upload_url instead') and states that the server-side fetch from source_url is the source of the media.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the case this tool serves ('Fetches from source_url: that is the case these videos come from, a run artefact the server can reach'), and it states the case it does not serve, naming the alternative explicitly (create_dossier_media_upload_url for a local file). The agent has a clear rule for choosing between the two.

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