Skip to main content
Glama

hm_search

Read-only

Search H&M product listings by free-text keyword: normalized products with pricing, images, colors, and per-size stock, plus search metadata (a spelling-correction suggestion, related searches, and a content-filter flag). Unlike category browsing, an obscure or nonsense keyword returns a genuine empty result rather than a fallback set. Pagination is page-based and real.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, one-based, defaults to 1
queryYesFree-text search keyword
page_sizeNoResults per page, 1 to 72, defaults to 36

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / page / description
      Added value: +"Page number, one-based, defaults to 1"
    • addedInput schema / properties / page_size / description
      Added value: +"Results per page, 1 to 72, defaults to 36"
    • addedInput schema / properties / query / description
      Added value: +"Free-text search keyword"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations, the description discloses non-obvious behavior: nonsense keywords yield a genuine empty result rather than a fallback set, and pagination is page-based and 'real' (no silent truncation). It stops short of stating rate limits, localization, or result-count caps.

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?

Three sentences, front-loaded with purpose and followed by return shape and the empty-result caveat. The enumeration of returned fields (pricing, images, colors, stock) partly duplicates the existing output schema and could be trimmed.

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 search with a full output schema and complete annotations, the description covers purpose, pagination semantics, and the key edge-case behavior. Nothing an agent needs to call it correctly is missing.

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 coverage is 100%, so page, page_size, and query are already fully documented with defaults and ranges. The description only confirms that pagination is page-based, adding marginal meaning beyond the schema — the baseline 3 applies.

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 names a specific verb and resource ('Search H&M product listings by free-text keyword') and contrasts the scope with category browsing, so an agent can distinguish it from hm_categories without inspecting either schema.

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

Usage Guidelines4/5

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

It gives a clear when-to-use signal — keyword search for products, with category browsing named as the contrasting pattern — but never explicitly routes to hm_search_suggestions for query disambiguation or states exclusions such as non-product content.

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.