Skip to main content
Glama

hm_search_suggestions

Read-only

H&M's own search-box typeahead suggestions. With a query given, returns spelling-complete phrase suggestions and merchandised content results. With query omitted or empty, instead returns trending searches and popular-search shortcuts. search_history is part of the real response but is confirmed NOT session-scoped -- treat it as fixed default content, not a real per-caller history.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "hm_search_suggestions"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoFree-text search-box input; omit or leave empty for trending/popular searches instead

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. Changed1 schema field changed
    • addedInput schema / properties / query / description
      Added value: +"Free-text search-box input; omit or leave empty for trending/popular searches instead"
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, open-world, and non-idempotent behavior, but the description adds useful return-mode context and a non-obvious caveat that search_history is fixed default content rather than session-scoped. It does not cover auth or rate limits, but those are not central for this simple read-only suggestion tool.

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 three tightly written sentences with no wasted wording. It front-loads the core purpose, then immediately explains the two query modes and the notable response caveat.

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?

Given the simple one-parameter schema, existing output schema, and annotations, the description is complete for correct invocation. It covers both modes and the unusual search_history behavior that an agent would otherwise misread.

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%, and the schema already documents that query can be omitted or empty for trending/popular searches. The description clarifies what a supplied query returns, but adds limited parameter-specific detail beyond the schema.

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 states a specific resource and behavior: H&M search-box typeahead suggestions. It clearly separates the query-given mode from the empty-query trending mode, so an agent can distinguish it from a full search tool without opening the 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 explains the key usage split: provide a query for phrase suggestions, omit or empty it for trending/popular searches. It does not explicitly name sibling alternatives such as hm_search, but the intended context is clear enough for selection.

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.