Skip to main content
Glama

Upload file

uploads_create

Upload a logo, image, PDF, audio or video for designs and landing pages; returns the url to use (logoUrl, fileUrl, avatarUrl…). Send dataBase64 or a public https sourceUrl. Limits: images 2 MB, PDF/audio 25 MB, video 50 MB.

Input Schema

NameRequiredDescriptionDefault
sourceUrlNoPublic https URL to copy the file from (fetched with private-network protection).
dataBase64No
contentTypeYesimage/png, image/jpeg, image/webp, image/svg+xml, image/gif, application/pdf, audio/mpeg, audio/mp4, audio/ogg, audio/wav, video/mp4, video/webm, video/quicktime

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With annotations already declaring readOnlyHint=false, destructiveHint=false and openWorldHint=true, the description still adds real behavioral context: hard size limits per media type (2 MB images, 25/50 MB), the note that `sourceUrl` is fetched with private-network protection, and the shape of the returned value via example field names (logoUrl, fileUrl, avatarUrl). Auth requirements and failure modes are not covered.

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 dense sentence, front-loaded with purpose, followed by input mechanics and limits. Every clause carries information an agent needs — nothing is padding. Semicolon structure keeps the three concerns visually separable.

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, but the description compensates by naming the URL field and example variants the caller will receive, and it covers input methods and size limits. Missing pieces are auth/permission expectations and whether the upload is durable or scoped to a workspace, but the core call path is complete.

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?

Schema coverage is 67% and the schema does list the accepted `contentType` values, so much is already documented. The description adds genuine meaning beyond the schema by framing `dataBase64` and `sourceUrl` as mutually exclusive send options and tying size ceilings to media categories, partially compensating for the undocumented `dataBase64` field.

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 enumerates the resources accepted (logo, image, PDF, audio, video) plus the purpose (designs and landing pages). It also states the outcome — returning the `url` to use — so an agent knows exactly what this tool produces. No sibling tool overlaps this function, so no differentiation is needed.

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 names the two supported input mechanisms and implies they are alternatives: "Send `dataBase64` or a public https `sourceUrl`." It adds operational constraints (per-type size limits) that gate successful use. It stops short of stating which input mode to prefer under which conditions (e.g., small inline files vs. copying an existing hosted file).

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