Skip to main content
Glama

Groundsocial

Search H&M

hm_search_all
Read-onlyIdempotent

Search H&M's catalogue on one country site.

Products matching a query as hm.com’s search page renders them (36 a page): articleCode, title, pdpUrl, regular and red price, discount, swatches (colours), new and out-of-stock flags, with the total, pagination, facets (size, colour, fit…) and related searches. limit trims the page; filters are hm.com URL filter parameters (sizes=…&colorWithNames=…).

Cost: 3 credits per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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": {
      "query": "<query>"
    },
    "name": "hm_search_all"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
limitNo
queryYesSearch words.
filtersNohm.com URL filter parameters, k=v&k=v.
sort_byNo
languageNoH&M locale path (en_us default, en_gb, de_de, sv_se…).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. Beyond that, the description discloses the cost model ('3 credits per call, refunded automatically if the call fails'), the public-data-only constraint, the page size, and that results carry cost_credits and credits_remaining — real behavioral context an agent needs before invoking.

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?

The description is front-loaded with the core action and scope, then moves to return contents, then parameter behavior, then cost. The dense enumeration of return fields earns its place because no output schema exists. No sentence is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter tool with no output schema, the description covers the important ground: what is returned, page size, cost and refund policy, and filter syntax. Remaining gaps are minor — defaults for page and sort_by, and behavior on zero results or invalid filters are not stated.

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?

With only 50% schema description coverage, the description compensates well: it explains that limit trims the 36-item page, that filters use hm.com URL syntax with an example ('sizes=…&colorWithNames=…'), and that the tool targets one country site (covering the locale-style language parameter). It does not explain the page default or how sort_by interacts with relevance, leaving a small gap.

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 plus a scope qualifier: 'Search H&M's catalogue on one country site.' It also enumerates the returned fields (articleCode, title, pdpUrl, prices, swatches, flags), which tells an agent exactly what this search produces. This clearly separates it from the dozens of sibling *_search_all tools for other retailers.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: 'limit trims the page' and 'filters are hm.com URL filter parameters' give operational context for how to shape a search, and '36 a page' sets expectations for pagination. However, there is no explicit when-to-use or when-not guidance, and no mention of an alternative tool for a different task (e.g., product detail lookup).

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.