Skip to main content
Glama

Upload Screenshots

upload_screenshots
Destructive

Uploads screenshot images to a project from HTTPS URLs or base64 data; local files are supported only by the npm/stdio transport. Results identify completed and failed files. Overwrite mode changes the bytes at existing paths and can affect saved designs that reference those paths.

Input Schema

NameRequiredDescriptionDefault
sourcesYes
folderIdNoExisting screenshot folder in this device/platform scope. Assign each uploaded file to it; never changes saved designs.
platformYes
overwriteNoExplicit opt-in: replace same-name screenshot bytes in place, updating ALL designs bound to that path. Previous bytes are backed up. Reload open editors afterwards.
projectIdYes
deviceTypeYes
targetPathNoExact existing relative path to overwrite when legacy filenames are ambiguous. Requires overwrite=true and exactly one source.

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
messageNo
successYes
widgetDataJsonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, yet the description still adds real value by explaining what overwrite actually does: it rewrites bytes at existing paths and can break saved designs referencing those paths. That is the specific consequence an agent needs. It stops short of describing per-file failure semantics beyond 'completed and failed files'.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight clauses with no filler, and the primary capability is front-loaded ahead of the transport caveat and the overwrite warning. Slightly dense and semicolon-chained, but every sentence carries distinct information.

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?

An output schema exists, so the description needn't detail return shape, and its note that results identify completed versus failed files is a helpful pointer. Combined with the destructive-warning coverage, what remains missing is only scoping semantics for the four undocumented required parameters.

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 43%, so the description must compensate, and it only partially does: it clarifies the sources array forms and the overwrite consequence. projectId, deviceType, platform, and the url/base64/filename subfields have no description in either place, and the targetPath constraint (overwrite=true, exactly one source) is covered only by 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 and resource ('Uploads screenshot images to a project') and names the accepted input forms (HTTPS URLs, base64, local files on npm/stdio). It does not explicitly contrast with nearby siblings such as upload_asset, prepare_asset_upload, or replace_asset, so an agent must infer that this is the screenshot-specific path.

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?

The transport restriction ('local files are supported only by the npm/stdio transport') is genuinely useful conditional guidance, but the description never says when to pick this tool over upload_asset, replace_asset, or prepare_asset_upload. Overwrite behavior is explained, but the choice of folderId versus targetPath is left entirely to the schema.

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.