Skip to main content
Glama

Tryckfritt

Upload artwork

upload_artwork

Upload the user's logo or image (PNG, JPEG, WebP, or vector SVG, PDF, EPS or AI; max 10 MB; vector files give the sharpest print and the original is kept for printing) from a public image_url or as image_base64. Creates a workspace if none is given. Returns workspace and artwork_id.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "upload_artwork"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameNo
image_urlNoPublic http(s) URL of the image.
workspaceNoWorkspace id (ws_…) returned by upload_artwork or create_upload_link.
image_base64NoImage bytes as base64 (a data: prefix is allowed).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive, non-idempotent, open-world write, so the bar is lower; the description adds genuinely new behavior: a 10 MB ceiling, format-dependent quality, retention of the original vector file for printing, and implicit workspace creation. It does not warn about duplicate uploads (relevant given idempotentHint=false) or failure modes for oversized/invalid 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?

A single front-loaded sentence that opens with the action and packs constraints into a parenthetical, with zero filler. The nested parentheses (formats, then a second parenthetical about vector quality) make it denser than necessary and slightly harder to scan.

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?

It compensates well for the absence of an output schema by stating the return values (workspace and artwork_id), and it explains the workspace side effect. However, for a zero-required-parameter tool with two mutually exclusive image sources, the description never states that exactly one source is needed, nor what filename does, leaving real ambiguity for invocation.

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 75%, so the baseline is 3; the description reinforces that image_url must be public and that base64 is an accepted alternative, and adds format/size constraints the schema lacks. The 'filename' parameter, the only undocumented one, is never addressed, and the description does not say that one of image_url or image_base64 must be supplied even though zero parameters are required.

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 ('Upload the user's logo or image') plus the accepted formats, size cap, both input modes, and the side effect of workspace creation. An agent can distinguish this from create_upload_link (which only mints a link) and from copy_artwork without opening either schema.

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 description implies when to use it (you have an image URL or base64 bytes and want an artwork in a workspace) and notes a workspace is created if omitted, but it never names an alternative such as create_upload_link or explains when a pre-existing workspace should be passed instead. Guidance is inferable rather than explicit.

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