Skip to main content
Glama

Fittins AI

Add a product photo

add_product_photo

Saves a photo of the product (a flat lay, hanger or mannequin shot, a packshot or the item worn) to the user's Fittins library and returns its id for make_photo or make_video. Pass a photo the user shared in the chat as photo, or an https link as url; with neither, the card shows an upload button for the user. JPG, PNG, WebP or HEIC up to 10 MB. Costs nothing.

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": "add_product_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoAn https link to the photo, if it wasn't shared in the chat.
photoNoA photo the user shared in the chat.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare openWorld and non-idempotent, and the description adds substantial context beyond them: accepted formats and the 10 MB ceiling, the fact that it costs nothing, the returned id, and the user-facing fallback when no image is supplied. It stops short of saying whether repeated calls create duplicate library entries, which matters given idempotentHint=false.

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

Conciseness5/5

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

A single dense paragraph with the purpose and return value front-loaded, then parameter routing, then format constraints, then cost. Every clause carries information an agent needs; nothing is padded.

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?

For a two-parameter write tool with no output schema, the description covers inputs, the destination library, the return value, constraints and cost. Remaining ambiguity is limited to error/duplicate behavior, which is minor here.

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 would be 3, but the description adds genuine semantics: it identifies where each parameter's value originates (photo = shared in chat, url = https link) and defines the conditional case where neither is supplied. That is more than the schema's field-level descriptions 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?

States a specific verb and resource ('saves a photo of the product ... to the user's Fittins library') and names the downstream consumers of the returned id (make_photo, make_video), so the agent knows exactly what the tool produces and why.

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 clear per-input guidance: pass a chat-shared photo as `photo`, an https link as `url`, and if neither exists the card surfaces an upload button — that last clause effectively defines the do-nothing path. It doesn't explicitly contrast with the card_upload_photo sibling, which is the only remaining gap.

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