Skip to main content
Glama

AppScreenDesign 3D Screenshot Studio

prepare_upload

Get a single-use upload URL, valid for 10 minutes, bound to one project and asset key. Client with access to PNG/JPEG/static SVG bytes must POST them as application/octet-stream. Failed attempts consume the URL; mint another to retry. Never send local paths to remote MCP.

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>"
    },
    "name": "prepare_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
themeNo
localeNo
screenNo
projectIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (readOnly false, idempotent false, destructive false), the description discloses the traits that actually matter here: single-use semantics, a 10-minute validity window, binding to one project/asset key, and that failed attempts burn the URL. These are exactly the non-obvious behaviors an agent needs before minting one.

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?

Four tightly packed sentences with the expiry/scope constraint front-loaded and each sentence carrying distinct operational value. No filler, though the density makes it read more like a spec than routing guidance.

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?

With no output schema, the description covers what is returned (a URL with a 10-minute lifetime) and how to consume it, which is the essential contract. It omits the response payload shape and any auth/permission requirements, but for this complexity level it is close to complete.

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 0%, so the description must carry parameter meaning. It explains the binding of projectId and key to the resulting URL, but adds nothing about the optional theme, locale, and screen parameters or the uuid/string formats and length limits already encoded in the schema, leaving half the parameters unexplained.

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 ('Get a single-use upload URL') plus its scope (bound to one project and asset key), which cleanly separates it from the sibling upload_asset that presumably performs the upload itself. An agent can tell this is a two-step prepare-then-POST flow without opening any schema.

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 concrete operating instructions: clients holding PNG/JPEG/static SVG bytes must POST them as application/octet-stream, and failed attempts consume the URL so a new one must be minted. It also warns never to send local paths to a remote MCP. It stops short of explicitly naming upload_asset as the alternative for pre-existing bytes, but the when-to-use context is clear.

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