Skip to main content
Glama

AppScreenDesign 3D Screenshot Studio

Upload attached screenshot

upload_asset
DestructiveIdempotent

Import a screenshot or artwork attached to this ChatGPT conversation. Pass the attachment as file; ChatGPT supplies download_url and file_id. The server downloads, validates and stores the original image. No shell, local path, base64 or follow-up HTTP upload is needed. Use a unique key such as capture.1 for each image; uploading an existing key replaces it. The returned key is immediately usable by assign_asset_slot. PNG, JPEG and static SVG are supported. Requires assets:write for this project. Upload each of multiple attachments separately.

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": {
      "projectId": "<projectId>",
      "key": "<key>",
      "file": "<file>"
    },
    "name": "upload_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesStable asset key, e.g. capture.1. Use a different key for each attachment.
fileYesUser-attached file supplied by ChatGPT file params. Do not invent its URL or file ID.
themeNo
localeNo
screenNo
projectIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true; the description adds genuinely new behavior: the server downloads, validates and stores the original image, the required assets:write scope, supported formats (PNG, JPEG, static SVG), and the replace-on-duplicate-key rule that explains the destructive classification. Only the response payload shape is left implicit, which is minor since there is no output schema.

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?

Front-loaded with the core action and delivery method, then constraints, then the replacement and follow-up behavior. It is somewhat long at eight sentences and the "no shell, local path, base64" sentence is verbose, but every sentence carries operational value for an agent.

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?

Given six parameters including a nested file object, no output schema, and a destructive write, the description covers ingestion flow, validation, permissions, key reuse, and the next step. The main gap is the unmentioned theme/locale/screen parameters that affect rendering context.

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 33% across six parameters. The description adds real meaning for file (download_url and file_id are supplied by ChatGPT, do not invent them) and key (uniqueness per image, replacement on collision), but theme, locale, and screen are undocumented in both the schema and the description.

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: "Import a screenshot or artwork attached to this ChatGPT conversation." It also indicates the delivery mechanism (attachment passed as file) and the downstream consumer (assign_asset_slot), distinguishing it clearly from prepare_upload and list_assets.

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

Usage Guidelines5/5

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

Explicitly says not to use shell, local paths, base64, or follow-up HTTP uploads, and that each of multiple attachments must be uploaded separately with its own unique key. It also routes the agent forward: the returned key is immediately usable by assign_asset_slot, and reusing a key replaces the asset rather than erroring.

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