Skip to main content
Glama

StyleTwin

Pieces to swap in

card_choices
Read-onlyIdempotent

For the StyleTwin outfit card only (the card calls it when the user taps a piece to swap): the user's own pieces of one kind, with their pictures. To change an outfit yourself, use get_closet.

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": {
      "slot": "<slot>"
    },
    "name": "card_choices"
  }
}

Input Schema

NameRequiredDescriptionDefault
slotYesThe kind of piece being swapped.
excludeNoPieces not to offer (the outfit's own), by id.

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.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description still adds non-obvious context: this tool is UI-triggered from a specific card, and the result is candidate pieces with images. It does not mention ordering or limits, but nothing about the behavior is misleading.

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 front-loaded sentence states scope and behavior, and a second sentence routes to the alternative. No filler, and the most important constraint (card-only) comes first.

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?

With only two fully documented parameters, an output schema that covers return values, and annotations that cover the safety profile, nothing an agent needs in order to invoke this correctly is missing. The card-only framing is also sufficient to explain why an agent would rarely call it directly.

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%, including the enum of piece kinds and the exclude list semantics, so the schema does the heavy lifting. The description only echoes 'one kind' and 'their pictures' without adding format or constraint detail beyond the schema; baseline 3 is appropriate.

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?

The description states the exact resource ('the user's own pieces of one kind, with their pictures'), the triggering context (the outfit card when the user taps a piece to swap), and the scope ('For the StyleTwin outfit card only'). It is clearly separable from the closet-management siblings it names.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit when-to-use condition ('the card calls it when the user taps a piece to swap') and an explicit alternative with its condition ('To change an outfit yourself, use get_closet'). This is exactly the routing information an agent needs.

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