Skip to main content
Glama

lumoz_upload_media

Upload local images, videos, audio, or files (from chat attachments, local sandbox files, or data URIs) to Lumoz Cloudflare R2 storage to obtain a permanent, high-speed public CDN URL. Always use this whenever an image or video input requires a public URL.

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": {
      "data": "<data>"
    },
    "name": "lumoz_upload_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesBase64 data URI (e.g. "data:image/jpeg;base64,..."), raw base64 string, or existing media URL to re-host.
filenameNoOptional custom filename hint (e.g. "start_frame.jpg").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior: the storage backend, that the resulting URL is permanent and public, and that accepted sources include chat attachments, sandbox files and data URIs. It omits size limits, auth requirements, and what happens on failure or re-upload, which are material gaps for an upload mutation.

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?

Two sentences, front-loaded with the action and destination, with the conditional usage rule second. Nothing is padded; the only soft wording is the "permanent, high-speed" qualifier, which still conveys useful properties of the result.

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, yet the description states what the caller receives (a public CDN URL), and the input sources are fully enumerated. Completeness is only slightly short of full for a two-parameter upload tool, missing size and permission constraints.

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 100%, so both parameters are already documented, and the baseline is 3. The description reinforces the accepted source kinds for "data" and the optional filename hint, but adds no syntax or format detail beyond the schema.

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 specific verb (upload) plus the resource types (images, videos, audio, files), the destination storage (Lumoz Cloudflare R2) and the outcome (public CDN URL). It does not distinguish itself from the sibling lumoz_create_upload_url, so an agent must infer which of the two is appropriate.

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?

"Always use this whenever an image or video input requires a public URL" gives a clear triggering condition, which is exactly what an agent needs for routing. It does not name alternatives or state exclusions (e.g. when to use lumoz_create_upload_url instead), so it stops short of full when/when-not guidance.

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