Skip to main content

Search Sizes (Market)

mdmcp-search_size_options

Find specific sizes to use in filter queries. Search by size name or category.

Size options are individual sizes within a size group (e.g., "M", "42", "XL").

Use the returned id value when building size filters.

Try queries like

"medium", "size 10", "XL", "32 waist", "large".

Parameters

NameTypeRequiredConstraintsDescription
querystring | string[]yesSingle query string or list of query strings for batch search.
search_limitintegernodefault: 10 · 1–50Maximum number of results to return (default 10, max 50). Raise it when validating or comparing many entities in one call so the list is not clipped at the default 10.

Returns

  • When query is a string: list[SizeOption]
  • When query is a list: list[list[SizeOption]] with results in same order as queries.

Try it

Loading interactive widget…

Code examples

curl -s https://mcp.edited.com/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "MCP-Protocol-Version: 2025-06-18" \
-H "x-api-key: $MCP_API_KEY" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "mdmcp-search_size_options",
"arguments": {
"query": "Nike",
"search_limit": 10
}
}
}'

Example response

Parsed from result.content[0].text (the MCP envelope wraps the JSON as a TextContent block — see Concepts → Tools:

[
{
"id": 901,
"group_id": 43,
"name": "12",
"subtitle": null,
"tags": "uk_size_12_equivalent",
"tags_women": null,
"visible": true,
"group": {
"id": 43,
"name": "Womens UK",
"category": "womens_garments",
"gender": "adults",
"subtitle": null,
"unit": "womens_uk",
"visible": true
}
}
]

Input schema

{
"type": "object",
"properties": {
"query": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"maxItems": 10,
"type": "array"
}
]
},
"search_limit": {
"default": 10,
"description": "Maximum number of results to return (default 10, max 50). Raise it when validating or comparing many entities in one call so the list is not clipped at the default 10.",
"maximum": 50,
"minimum": 1,
"type": "integer"
}
},
"required": [
"query"
]
}