Skip to main content
Glama

upload_product_screen

Upload a brand asset (product photo, app screenshot, packaging) into Brand DNA and store it on R2. Pass image_url (https PNG/JPG/WebP) or image_base64.

Two ways to file it:

  • Send description (and optionally kind, use_when, tags, name): Siren trusts your words and files the asset as-is. No read.

  • Send only the file: Gemini reads the picture and writes name, kind, description, use_when, tags itself. scan_status goes scanning → ready in about 8 seconds; poll list_product_screens.

kind is free text ("product photo", "dashboard screenshot", "packaging"), there is no fixed list. A brief that names an asset ("advertise the pink handbag") pulls that file into the still. screen_type / device / theme only matter for device-framed screenshot masters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoFree-text kind: product photo, dashboard screenshot, packaging, logo, team photo.
nameNoHuman-readable name for the asset or run.
tagsNoShort lowercase tags for search, e.g. ["dashboard", "dark-mode"].
themeNoUI theme in the screenshot: light, dark, or unknown.unknown
deviceNoDevice the screenshot was taken on: phone, tablet, desktop, or none.phone
use_whenNoWhen Siren should reach for this asset, e.g. "any post about the analytics page".
image_urlNoPublic https URL of a PNG, JPG, or WebP to store as a brand asset.
descriptionNoWhat the picture shows and what it is for, in your words. When set, Siren files the asset without reading it.
screen_typeNoScreen role: feature, hero, onboarding, settings, or marketing.feature
image_base64NoThe image bytes as base64, if you have no URL.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • addedInput schema / properties / description / description
      Added value: +"What the picture shows and what it is for, in your words. When set, Siren files the asset without reading it."
    • addedInput schema / properties / device / description
      Added value: +"Device the screenshot was taken on: phone, tablet, desktop, or none."
    • addedInput schema / properties / image_base64 / description
      Added value: +"The image bytes as base64, if you have no URL."
    • addedInput schema / properties / image_url / description
      Added value: +"Public https URL of a PNG, JPG, or WebP to store as a brand asset."
    • addedInput schema / properties / kind / description
      Added value: +"Free-text kind: product photo, dashboard screenshot, packaging, logo, team photo."
    • addedInput schema / properties / name / description
      Added value: +"Human-readable name for the asset or run."
    • addedInput schema / properties / screen_type / description
      Added value: +"Screen role: feature, hero, onboarding, settings, or marketing."
    • addedInput schema / properties / tags / description
      Added value: +"Short lowercase tags for search, e.g. [\"dashboard\", \"dark-mode\"]."
    • addedInput schema / properties / theme / description
      Added value: +"UI theme in the screenshot: light, dark, or unknown."
    • addedInput schema / properties / use_when / description
      Added value: +"When Siren should reach for this asset, e.g. \"any post about the analytics page\"."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, so the description doesn't need to restate mutation. It adds valuable behavioral context: the asynchronous scan flow, the ~8 second transition, the no-read behavior when description is set, and the free-text nature of kind. It doesn't explicitly state whether repeated uploads overwrite or create duplicates, but the overall behavioral disclosure is strong.

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?

The description is well-structured with a clear lead sentence, a bulleted two-mode breakdown, and a closing clarification. It is longer than the minimum but every sentence earns its place; the only minor inefficiency is the slightly repetitive phrasing around the two filing modes.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter tool with no required parameters and an output schema, the description covers the key decision points: how to provide the image, what happens in each mode, how to track completion, and which parameters are conditional. The output schema exists, so return values don't need to be spelled out. Nothing critical is missing for an agent to invoke this correctly.

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 100%, so the baseline is 3. The description adds meaning beyond the schema by explaining the interaction between parameters: description suppresses the read, image_url vs image_base64 are alternatives, and kind/use_when/tags are auto-generated when only the file is sent. It also clarifies that screen_type/device/theme are only relevant for device-framed screenshot masters, which the schema alone doesn't convey.

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?

The description opens with a specific verb and resource ('Upload a brand asset ... into Brand DNA and store it on R2') and immediately distinguishes the two filing modes. It clearly separates this tool from siblings like update_product_screen and list_product_screens by naming the upload-and-store behavior and the polling target.

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?

The description gives explicit when-to-use guidance: it explains the two ways to file an asset, when Gemini reads the picture versus when Siren trusts the words, and tells the agent to poll list_product_screens while scan_status goes scanning → ready. It also clarifies that screen_type/device/theme only matter for device-framed screenshot masters, which prevents misuse.

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.