Skip to main content
Glama

StyleTwin

Show the closet

show_closet
Read-onlyIdempotent

Show the user their closet (or the pieces matching get_closet's filters) as a StyleTwin card they can browse and pick a piece from to build an outfit around, 30 pieces a page, with each piece's name and short id (text and JSON). With Share closet pictures on, it also gives numbered contact sheets of their own pieces with a 24-hour link (size: small = 128 px cells, a 640 x 768 sheet, about 650 tokens in Claude; medium = 200 px, 1000 x 1200, about 1,600 tokens, the default; large = 300 px, for the link; columns: 3 to 8, default 5; inline: false returns only the link and JSON). Without it, the card shows each piece by name and colour. Needs the account connected.

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

Input Schema

NameRequiredDescriptionDefault
pageNoWhich sheet of 30 pieces.
sizeNoCells of 128, 200 or 300 px.medium
slotNoOnly pieces worn here: top, bottom, dress, outer (coats and jackets), hat, bag, shoes, accessory.
sortNoplace (by where they are worn, then name), newest, most_worn, least_worn or longest_unworn.place
colourNoOnly pieces of this colour family, judged from each piece's hex colour (so brown finds tan and chocolate too).
inlineNoPut the picture in the answer (you see it). false: only the link and JSON, which costs no image tokens.
searchNoOnly pieces whose name, kind, colour, colour family, material or brand contains all these words, e.g. "wool coat". Kinds and colours are in English; names are in the user's language.
warmthNo
columnsNo
formalityNo
never_wornNoOnly pieces never worn yet.
not_worn_sinceNoOnly pieces not worn on or after this day (YYYY-MM-DD), never-worn ones included.
include_wishlistNoAlso list pieces the user saved from shops but doesn't own yet.

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 only declare it a safe read; the description adds substantial behavior beyond that: the 30-per-page pagination, the exact rendering per Share-pictures mode (numbered contact sheets vs name-and-colour list), the 24-hour link lifetime, per-size dimensions and rough token cost, and the account-connection requirement. That is exactly the operational context an agent needs before spending image tokens.

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 core action is front-loaded, but it is delivered as one run-on sentence threaded with nested parentheses and semicolons, so the size/columns/inline options are hard to scan. Nearly every clause carries real information, so the problem is structure rather than padding.

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 13-parameter read tool with an output schema, the description covers output shape, pagination, image cost, share-mode variation and auth prerequisites. Only the two undocumented filter enums (warmth, formality) and the sort/worn-history semantics are left to the schema.

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?

With 77% schema coverage the baseline is 3, and the description earns more by mapping size values to pixel cells, sheet dimensions and token estimates, and by tying columns (3–8, default 5) and page (30 pieces) to the layout. `warmth` and `formality` have no meaning in either the schema or the description, which is the remaining gap.

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 concrete verb and resource ('Show the user their closet') plus the exact output artifact (StyleTwin card, browsable, 30 pieces a page) and names the related sibling whose filters it reuses ('get_closet's filters'). The agent can distinguish it from get_closet and show_outfit without opening either 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?

Explains the viewing/picking workflow ('browse and pick a piece from to build an outfit around') and gives a clear cost-based decision rule for `inline: false` versus returning the picture. It also states the prerequisite 'Needs the account connected' and the 'With Share closet pictures on' condition. What is missing is an explicit statement of when to prefer get_closet over this tool for pure data access.

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