Skip to main content
Glama

Upload Editor Media

upload_editor_media

Upload an image, video, or audio file directly into your real Switch Editor project. First call with presign=true, PUT the bytes to upload_url, then confirm_path in a second call; no browser file picker is needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYes
mimeNo
presignNo
filenameNo
file_sizeNoBytes; required for presign.
project_idYes
confirm_pathNo
duration_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only indicate readOnlyHint=false and idempotentHint=false. The description adds meaningful behavioral context by revealing the multi-step presign/upload/confirm workflow and noting that no browser file picker is needed, which goes beyond the annotation data.

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 core purpose and followed by the essential workflow. No filler or repetition; every clause adds useful 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 an 8-parameter, two-phase mutation with no output schema, the description captures the high-level flow but omits important details like what the presign response contains, exactly which parameters are needed for each call, and how confirm_path is obtained or used. It is minimally viable but has clear gaps.

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 only 13%, so the description must compensate. It adds meaning for presign and confirm_path and introduces upload_url as part of the workflow, but mime, filename, duration_seconds, and per-call parameter requirements remain underspecified.

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 clearly states a specific action: uploading image/video/audio media into a real Switch Editor project. It distinguishes itself from generic sibling tools like upload_media by emphasizing the direct editor-project context and the no-browser-picker workflow.

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 provides explicit procedural guidance: first call with presign=true, PUT bytes to upload_url, then call confirm_path in a second call. It does not explicitly name alternatives or when-not-to-use scenarios, but the workflow is clear and actionable.

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