Skip to main content
Glama

Set my product's logo

set_listing_logo
Destructive

Sets the logo of one of the signed-in person's own products, replacing the current one. The image is cropped to a square around its center at 256 by 256, as the editor does, so send a square logo. Returns its public address. 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": "set_listing_logo"
  }
}

Input Schema

NameRequiredDescriptionDefault
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
changedYes
editUrlYes
logoUrlYes
productYes
replacedYes
productUrlYes

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?

Goes far beyond the annotations (destructiveHint=true, idempotentHint=false) by disclosing exactly what is destroyed (the current logo is replaced), the center-square 256x256 crop mirroring the editor, WebP re-encoding with metadata stripped, and the 8 MB / 5 MB size ceilings. It also flags a rate limit (counts against the daily image-upload quota, with uploadId counted on arrival), the required write scope, and a mandatory show-then-confirm step before calling.

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-loads the core action and replacement effect, then moves through output, input modes, limits, and preconditions in a logical order; nearly every clause carries operational weight. Minor redundancy exists where mimeType's allowed values are restated from the schema, and the single dense paragraph could be broken into short segments for scanability.

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 an output schema present, the brief "Returns its public address" is sufficient, and the description covers auth scope, size limits, transformation behavior, quota impact, and the required user confirmation for a destructive operation. The only gap is that the 15-minute single-use lifetime of uploadId appears in the schema but not in the description, though it is not needed for a correct initial call.

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 constraint absent from the schema: supply exactly one of uploadId, imageUrl, or imageBase64, plus heuristics for choosing among them by file size and location. It also clarifies that imageUrl must be a public https address Shipfolio fetches (no private/local), which the schema's terse "A public https address" does not spell out.

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 ("Sets the logo of one of the signed-in person's own products") and immediately adds the replacement semantics ("replacing the current one") plus ownership scoping. An agent can distinguish this from sibling operations like add_listing_screenshot without opening a 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 explicit conditional routing among the three input modes: use uploadId for any local file or anything over ~50 KB, imageUrl only for public https addresses with no private/local targets, and imageBase64 only for a tiny image. It also names create_image_upload as the prerequisite path. It stops short of stating when to prefer this tool over sibling logo/cover/screenshot tools, so it is a 4 rather than a 5.

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