Skip to main content
Glama

Vitrine: Trending Fashion, Luxury, Sneakers & Design

Convert a size

convert_size
Read-onlyIdempotent

Convert a size between systems so the shopper orders the right one: women's clothing (letter, US, UK, EU, FR, IT, DE), men's tailoring (letter, US, UK, EU, IT), women's and men's shoes (EU, US, UK, European luxury convention), athletic sneakers (US_M, US_W, UK, EU, CM), rings (US, UK, EU, millimetres) and jeans waist. Use it whenever the shopper's size and the item's sizes are in different systems, before recommending a size. Returns every equivalent, a note on the convention used, and 'approximate' or 'ambiguous' when the size is between or spans rows. The brand's own chart always wins. No key needed; read-only.

Input Schema

NameRequiredDescriptionDefault
kindYesWhat is being sized.
sizeYesThe size as printed, e.g. '38', 'M', '7.5', 'L' (UK ring), '28' (jeans waist).
systemYesThe system the size is in, e.g. EU, US, UK, IT, FR, letter, US_W, US_M, waist_in.

Output Schema

NameRequiredDescriptionDefault
fromNo
kindYes
noteYes
labelNo
ambiguousNo
approximateNo
equivalentsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / agent
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "description": "Optional self-identification. Identified callers help us rank better; keys make it reliable.",
      -      "properties": {
      -        "locale": {
      -          "anyOf": [
      -            {
      -              "maxLength": 16,
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "e.g. 'en-GB'"
      -        },
      -        "name": {
      -          "anyOf": [
      -            {
      -              "maxLength": 80,
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "e.g. 'acme-shopper'"
      -        },
      -        "platform": {
      -          "anyOf": [
      -            {
      -              "maxLength": 80,
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Platform or developer"
      -        },
      -        "session_id": {
      -          "anyOf": [
      -            {
      -              "maxLength": 64,
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Your own opaque id linking calls in one shopping session. Never a user id."
      -        },
      -        "version": {
      -          "anyOf": [
      -            {
      -              "maxLength": 40,
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null
      -        }
      -      },
      -      "type": "object"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null
      -}
  2. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, and the description reinforces this with "No key needed; read-only." Beyond that it adds real behavioral context the annotations cannot: results carry a note on the convention used and are flagged "approximate" or "ambiguous" when a size falls between or spans rows, which tells the agent how to hedge its recommendation. The only shortfall is that it leans on the output schema for the actual result shape.

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 trigger condition and the conversion scope are front-loaded, and the long enumeration sentence earns its length by covering genuinely distinct size families. It is dense and would benefit from breaking that one sentence into a short list, but no sentence is filler.

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 three-parameter, read-only lookup with full schema coverage, an output schema, and complete annotations, the description supplies everything an agent needs: which kinds and systems pair, when to invoke it, how to interpret ambiguous results, and how to defer to brand charts. Nothing material is missing.

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 meaning the schema does not: it maps each `kind` value to the specific systems valid for it (e.g. jeans waist vs. rings in millimetres vs. sneakers with US_M/US_W/CM), which constrains `system` per `kind` in a way the free-text schema field cannot. It also gives concrete size examples matching the schema's format hints.

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 opens with a specific verb and resource ("Convert a size between systems") and then enumerates every supported size family and the systems each accepts, so an agent can immediately tell this apart from sibling tools like get_item or vocabulary. The goal statement ("so the shopper orders the right one") also anchors the purpose in the shopping flow.

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 states the exact triggering condition ("whenever the shopper's size and the item's sizes are in different systems") and the sequencing constraint ("before recommending a size"), plus a precedence rule that the brand's own chart always wins. There is no sibling tool performing conversion, so no alternative needs naming, and the guidance leaves nothing to inference.

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