Skip to main content
Glama

Upload an image or video

upload_media

Put an image or video into an organization's file library and get back the id that create_publication consumes in files. A public https URL. This server runs in HTTP mode, so a local path would be a path on the SERVER, not on the user's machine, and is refused. Accepted formats: jpg, jpeg, png, gif, mp4, heic, heif.

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": "<source>"
    },
    "name": "upload_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYesA public https URL. This server runs in HTTP mode, so a local path would be a path on the SERVER, not on the user's machine, and is refused.
filenameNoName to store it under. Deduced from the source when omitted.
id_organizationNoThe PlanVortex organization id.

Output Schema

NameRequiredDescriptionDefault
uploadYes
already_existedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, destructiveHint=false, so the write/external-call profile is covered. The description adds genuinely new operational context: the tool returns an id, only public https URLs are accepted, a local path would resolve on the SERVER rather than the user's machine, and an explicit format allowlist. Missing only peripheral details such as size limits or auth/org permission requirements.

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

Conciseness4/5

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

The purpose and downstream linkage are front-loaded in the first sentence, and the constraints follow in priority order. Minor waste comes from repeating the `source` parameter description word-for-word, which an agent will read twice.

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 an output schema present, the description need not explain the response shape, and it correctly spends its words on preconditions and downstream usage instead. For a 3-parameter upload tool with full annotation coverage, the only real gaps are edge cases like size limits and overwrite behavior on filename collisions.

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 description coverage is 100%, so the schema already documents all three parameters, including the https/server-path constraint that the description repeats almost verbatim. The format allowlist adds meaning for `source`, but `filename` (deduced when omitted) and `id_organization` get no elaboration beyond the schema. Baseline 3 is correct when the schema carries the load.

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?

States a specific verb and resource ("Put an image or video into an organization's file library") and names the downstream consumer of the returned id ("create_publication consumes in files"). An agent can distinguish this from siblings like create_publication or list_publications without opening any schema.

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?

The description establishes the workflow position clearly: upload first, then pass the returned id to create_publication in files. It also states an exclusion (local paths are refused) and the HTTPS-only requirement. It stops short of naming an explicit alternative — e.g., whether a publication can reference a remote URL directly without uploading — so it is clear context but not full when/when-not routing.

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