Skip to main content
Glama

publisher

lumi_upload_media

Upload a local image or video file to Lumi's workspace media library (SHA-256 deduplicated within the workspace).

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": {
      "file_path": "<file_path>"
    },
    "name": "lumi_upload_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYesAbsolute or relative path to a local image (jpg, png, webp, gif) or video (mp4, mov, m4v, webm).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare the mutation/safety profile (readOnlyHint=false, destructiveHint=false, closed-world, non-idempotent). The description adds one genuinely non-obvious trait — SHA-256 dedup within the workspace, meaning re-uploading an identical file resolves to the same asset — but says nothing about size limits, upload failures, or what handle is returned.

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?

One sentence, front-loaded with the verb and resource, with the dedup qualifier placed where it is useful. Nothing is redundant or padded.

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?

There is no output schema, so the description is the only place an agent could learn what the upload returns (a media ID or URL needed to reference the asset later), and it omits that. Dedup and destination are covered, but the return contract is a real gap for a tool whose output is meant to be consumed by post-creation calls.

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%, and the single parameter already documents accepted image and video extensions in detail. The description contributes no additional format, path-resolution, or size guidance beyond what the schema states, so the baseline 3 applies.

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 (upload) and resource (local image or video file) plus the exact destination (Lumi's workspace media library), and adds the dedup scope. An agent can distinguish this from every listed sibling, none of which handle media ingestion.

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

Usage Guidelines3/5

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

Usage is only implied: 'upload a local image or video file' makes the when-to-use context inferable for an agent working toward post creation. There is no explicit statement of when to use this versus other paths, no prerequisites, and no note that the file must exist locally before calling.

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.