Skip to main content

Search Brands (Market)

mdmcp-search_brands

Find brands for the brand_slug and brand filters. Search by name or description.

Use the returned slug value for the brand_slug filter, and the returned name when you filter on the free-text brand field — that canonical spelling matches variant listings the user's phrasing may miss. Never put a slug in a brand filter. Some brands have slug: null (no normalised slug); for those the name is all you get, and it is exactly what brand wants.

Judge the match yourself — there is no confidence score. This returns a best-first list for almost any input, so a returned slug is NOT proof the brand was found: compare each returned name to the user's brand string (ignore case, punctuation, ®/accents, hyphens vs spaces). If none matches closely, treat the brand as unmapped and filter on brand with the user's own brand string rather than forcing an unrelated slug or name.

Try queries like

"Nike", "luxury brands", "Gucci", "sportswear".

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[Brand]
  • When query is a list: list[list[Brand]] 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_brands",
"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:

[
{
"name": "Nike",
"slug": "nike"
},
{
"name": "Nike SB",
"slug": "nike-sb"
},
{
"name": "Nike Golf",
"slug": "nike-golf"
}
]

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"
]
}