Skip to main content
Glama

StyleTwin

Pictures of pieces

get_piece_pictures
Read-onlyIdempotent

Get each piece's own picture from the user's StyleTwin closet: a PNG cut-out on a transparent background (or a JPEG photo), up to 768 px, as 24-hour links (and inline with inline: true, up to 6, about 800 tokens each in Claude). Use it when the user wants to see or keep the pictures of particular pieces. Up to 24 pieces by id. Needs the account connected and Share closet pictures turned on.

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": {
      "pieces": "<pieces>"
    },
    "name": "get_piece_pictures"
  }
}

Input Schema

NameRequiredDescriptionDefault
inlineNoPut the picture in the answer (you see it). false: only the link and JSON, which costs no image tokens.
piecesYesThe pieces, by the ids get_closet shows (or names).

Output Schema

NameRequiredDescriptionDefault
dateNoThe day the outfit is for.
pageNo
viewNoWhat the StyleTwin card shows.
pagesNo
titleNo
widthNo
heightNo
piecesYes
matchingNo
picture_urlNoThe drawn picture, for 24 hours.
pictures_sharedNoThe pieces carry the user's own pictures.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/idempotentHint/non-destructive, so the description only needed incremental context — and it delivers several things structured data cannot: 24-hour link expiry, image format and size, an inlining cap of 6 with roughly 800 tokens per image in Claude, a batch limit of 24 pieces, and a required account setting. The cost/expiry disclosure is exactly the kind of behavioral detail an agent needs before choosing inline mode.

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?

Every sentence carries information: format, trigger, limits, prerequisites, in that order, with no filler. It is dense with stacked parentheticals ("(and inline with inline: true, up to 6, about 800 tokens each in Claude)"), which slightly hurts readability but not content density.

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 two-parameter read tool with an output schema, the description supplies everything an agent needs to decide and call correctly: when to use it, the id source, batch limits, image format, link lifetime, inline token cost, and the account prerequisite that causes failures. Return-value shape is correctly left to the output schema.

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 100%, so both properties are already documented in detail, including the inline trade-off and the 24-item array bound. The description largely restates those, adding only the ~800-token-per-image estimate and the 6-inline cap, which the schema does not mention — marginal but real added meaning, so baseline 3.

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 each piece's picture) plus the exact artifact returned: a PNG cut-out on transparency or a JPEG, up to 768 px, delivered as 24-hour links. This is clearly distinguishable from closet-listing siblings like get_closet, which the description references only as the source of ids.

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?

"Use it when the user wants to see or keep the pictures of particular pieces" gives a concrete trigger, and it names the prerequisite state (account connected, Share closet pictures on) plus the id source (get_closet). It stops short of an explicit exclusion such as "don't use this just to list the closet," so it is clear context rather than full when/when-not routing.

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