Skip to main content
Glama

Open media uploader

open_media_uploader

Shows an upload widget where the user picks images or videos from their device into the media library, for files without a public URL. The widget reports the new media IDs in the conversation. The result also includes an upload_url that opens the same uploader in a browser, for clients that cannot display widgets.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
codeNoStable machine-readable error code. Present only for an error result.
dataNo
errorsNoValidation messages keyed by input field.
issuesNoStructured validation issues.
messageNoSafe error summary. Present only for an error result.
retry_afterNoSeconds to wait before retrying a rate-limited request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare the non-read-only, non-idempotent, non-destructive profile, so the description adds real value: it explains that this is an interactive widget, that the chosen media IDs come back in the conversation, and that an upload_url exists for browser-based clients. It omits permission/auth requirements and any note on what happens if the user cancels the widget.

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?

Three tight sentences with no filler; the core action is front-loaded and the fallback mechanism is placed last, in the order an agent would need it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, yet the description still usefully characterizes the return payload (media IDs, upload_url), and it covers the interaction model, the fallback path, and the file scope. Nothing an agent needs to decide and invoke this zero-parameter widget tool is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Zero parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. No parameter noise is introduced.

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 ('Shows an upload widget where the user picks images or videos... into the media library') and adds the discriminating condition 'for files without a public URL', which separates it from upload_media/upload_media_file/create_media_upload_ticket without naming them. An agent can tell what this tool does and roughly who it's for from the first sentence.

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?

Gives two clear use conditions: files lacking a public URL, and clients that cannot render widgets (use the upload_url fallback). It stops short of explicitly naming alternative siblings such as upload_media_file, so the agent must infer the routing rather than being told it outright.

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