Skip to main content
Glama

Add a screenshot to my product

add_listing_screenshot

Adds a screenshot at the end of one of the signed-in person's product galleries (at most 50 a product). It keeps its shape, scaled down so its longest side is at most 2000 pixels. Without alt text Shipfolio writes one from the image. Calling twice adds it twice. Returns its public addresses. Give the image exactly one way: uploadId, from create_image_upload once its file was sent (use it for any file on this machine or anything over about 50 KB, rather than base64); imageUrl, a public https address Shipfolio downloads (no private or local addresses); or imageBase64 with mimeType (image/png, image/jpeg, image/webp or image/gif), only for a tiny image. At most 8 MB (5 MB for a logo). It is re-encoded as WebP without its metadata. Counts as an image upload, which has its own daily limit; an uploadId was counted when its file arrived. Needs the write scope. Before calling, show the user exactly what will change and wait for them to confirm.

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": {
      "listing": "<listing>"
    },
    "name": "add_listing_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
altNoWhat the screenshot shows, for screen readers and search, at most 160 characters
deviceNoThe frame it is shown in: Desktop (a browser window, the default), Phone or TabletDesktop
captionNoA caption under it, at most 200 characters
listingYesThe listing's slug or id
imageUrlNoA public https address of the image
mimeTypeNoWith imageBase64: image/png, image/jpeg, image/webp or image/gif
uploadIdNoThe uploadId from create_image_upload, after its file was sent to uploadUrl. Works once, within 15 minutes
imageBase64NoA tiny image's bytes as base64 (a data: URL is accepted). For a file, use uploadId instead

Output Schema

NameRequiredDescriptionDefault
maxYes
countYes
changedYes
editUrlYes
productUrlYes
screenshotYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare write/non-idempotent/non-destructive; the description adds substantial context beyond that: 'Calling twice adds it twice' (consistent with idempotentHint=false), the 50-per-product cap, rescaling to a 2000px longest side, automatic alt text, WebP re-encoding with metadata stripped, the 8 MB cap, consumption of the image-upload daily quota, and the required write scope. That is exactly the behavioral disclosure annotations cannot carry.

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

Conciseness3/5

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

The purpose is front-loaded and little is wasted in substance, but the single semicolon-chained sentence enumerating the three input modes is dense and hard to scan, and the parenthetical asides stack up. The '5 MB for a logo' clause is irrelevant to a screenshot tool and should be removed.

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 an 8-parameter mutation with an output schema, this covers everything an agent needs: auth scope, quota impact, size and format limits, side effects of re-encoding and duplicate calls, prerequisite upload flow, and a human-confirmation requirement. Return-value explanation is correctly omitted because an output schema exists.

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, but the description adds a genuine cross-parameter rule the schema does not encode: exactly one of uploadId/imageUrl/imageBase64 must be supplied, with per-mode conditions and the mimeType coupling to base64. It also clarifies the alt-text default behavior. The stray '5 MB for a logo' limit belongs to a logo tool and adds mild noise here.

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 ('Adds a screenshot at the end of one of the signed-in person's product galleries') with the concrete cap of 50 per product. This is immediately distinguishable from create_image_upload, which the description explicitly positions as the prerequisite step rather than the alternative endpoint.

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 strong routing guidance among the three image-input modes (uploadId for local files or anything over ~50 KB, imageUrl for public https, base64 only for tiny images) and points to create_image_upload as the prerequisite for the preferred path. It also imposes a confirmation workflow. It stops short of saying when to use this versus other gallery-content siblings such as add_product_embed or set_listing_logo.

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