Skip to main content
Glama

StyleTwin

Your closet

get_closet
Read-onlyIdempotent

Use this when the user asks what to wear, wants outfit ideas, or asks about their own clothes (their closet or wardrobe). Lists the clothes in the user's StyleTwin closet: each piece with its kind, colour (name, hex and family), material, how dressy and how warm it is, and how often and when it was last worn, as text and as JSON (structuredContent). Use it before suggesting outfits, so they are built from pieces the user really owns. Each piece has a short id in brackets, which the other tools take. 100 pieces per page (limit, up to 300; page for more), about 50 tokens each. For a big closet, ask summary first (counts by place, colour family, formality and warmth), then list only what you need with the filters and sort. Not for searching shops. Needs the user's StyleTwin 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": "get_closet"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
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
limitNoPieces per page.
colourNoOnly pieces of this colour family, judged from each piece's hex colour (so brown finds tan and chocolate too).
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
summaryNoInstead of pieces, counts by place, colour family, formality and warmth, and how many are unworn. Start here for a big closet.
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
pageNo
sortNo
ownedYes
pagesNo
piecesYes
summaryNo
matchingYes
waiting_from_chatsNoPieces chats sent that wait in the app: not in the closet until the user saves them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, yet the description still adds real behavior: pagination (100 per page, limit up to 300, page for more), ~50 tokens per piece, return in both text and structuredContent, piece ids in brackets that other tools consume, and the prerequisite that the user's StyleTwin account be connected. That is substantially more than the annotations supply.

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?

The usage trigger is front-loaded and the rest is dense with operational detail rather than filler. A few phrases are redundant with the title or with each other ("their closet or wardrobe"), but nothing is padded enough to obscure the call.

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 12-parameter read tool with an output schema and full annotation coverage, the description closes the remaining gaps: auth requirement, paging limits, token cost, id linkage to other tools, and the summary-first workflow. An agent has everything needed to call it correctly without further context.

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 75%, so the schema already carries most parameter meaning. The description still adds value by framing summary as a counts-first strategy and by explaining how filters, sort and paging combine for a big closet, though some of its parameter talk (colour family from hex, limit/page) echoes what the schema already says.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Lists the clothes in the user's StyleTwin closet") and enumerates the fields each piece carries. It also excludes one non-target ("Not for searching shops"), but it never distinguishes itself from the sibling show_closet, which by name sounds like an overlapping read tool.

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 trigger conditions ("when the user asks what to wear, wants outfit ideas, or asks about their own clothes"), a sequencing rule ("Use it before suggesting outfits, so they are built from pieces the user really owns"), and a strategy for large closets ("ask summary first ... then list only what you need"). The only gap is that no alternative read tool is named for the case where a different listing approach is wanted.

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