Skip to main content
Glama

Get Search Suggestions

ah_get_search_suggestions
Read-only

Retrieve search autocompletion suggestions and related grocery keywords from Albert Heijn to help users refine product searches; results are cached for up to 30 minutes.

Instructions

Get search autocompletion suggestions and related grocery query keywords from Albert Heijn. Cached for up to 30 minutes.

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum suggestions to return (default 10)
queryYesSearch query prefix or keyword

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered; the description adds a non-obvious behavioral trait — results are cached for up to 30 minutes, so suggestions may be stale. That is genuine value beyond structured data, though nothing is said about result shape or ranking.

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?

Two short sentences with the core purpose front-loaded and the caching caveat as a secondary clause. Nothing is redundant or padded.

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

Completeness3/5

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

For a two-parameter read tool with full schema coverage and annotations, this is nearly complete, but there is no output schema and the description never indicates what a suggestion looks like (plain strings vs. objects with labels/hrefs). That leaves a small but real gap for an agent consuming the result.

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 description coverage is 100%, with both 'query' and 'limit' documented in the schema, so the description needs no parameter detail. It adds nothing beyond the schema but does not need to; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('get search autocompletion suggestions and related grocery query keywords') plus the provider, which is enough to separate it from ah_search_products or ah_search_recipes. It does not explicitly name the sibling it contrasts with, so it stops short of 5.

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?

The word 'autocompletion' implies the intended use (typeahead / prefix completion rather than full product search), but there is no explicit when-to-use, when-not-to-use, or pointer to ah_search_products for full searches. Usage is inferable but not stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.