Skip to main content
Glama

Get store autocomplete suggestions

run_autocomplete

Fetch autocomplete suggestions from the App Store or Google Play for a given prefix (1-60 characters). Useful to discover what users are searching for that starts with a given seed. Consumes one autocomplete query and one API request.

Input Schema

NameRequiredDescriptionDefault
langYesBCP-47 language-region code of the listing language (e.g., en-US, fr-FR, de-DE). The country picks the market, not the region of the language: Arabic is ar-SA in every country, so Arabic in Morocco is country MA with lang ar-SA
storeYesApp store: GPLAY (Google Play) or ITUNES (App Store)
prefixYesSearch prefix to autocomplete (1-60 chars, e.g. "fitness")
countryYesISO country code (e.g., US, FR, DE)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / lang / description
      Previous value: -"BCP-47 language-region code (e.g., en-US, fr-FR, de-DE)"New value: +"BCP-47 language-region code of the listing language (e.g., en-US, fr-FR, de-DE). The country picks the market, not the region of the language: Arabic is ar-SA in every country, so Arabic in Morocco is country MA with lang ar-SA"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare non-read-only, non-idempotent, open-world behavior; the description goes further by disclosing the cost profile ("Consumes one autocomplete query and one API request"), which is the key behavioral fact an agent needs before calling. It does not, however, describe the response shape.

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 short sentences, front-loaded with the action and scoped constraints; the cost sentence earns its place. The middle "useful to discover" sentence is somewhat expendable but not wasteful.

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?

With no output schema, the description does not explain what suggestions come back or any result limits, which is a minor gap for a simple fetch tool. Purpose, cost, and constraints are otherwise complete, and readOnlyHint=false is consistent with the stated quota consumption.

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%, so the schema already documents all four parameters, including the 1-60 prefix limit and the BCP-47 language detail. The description's only added parameter detail is the prefix length range, which is already in 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?

States a specific verb and resource (fetch autocomplete suggestions) plus the two target stores, and scopes it to a prefix. An agent can distinguish it from list_autocomplete_history (viewing past runs) without opening 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 Guidelines3/5

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

Names a use case ("discover what users are searching for that starts with a given seed") but offers no when-not guidance and never mentions the obvious alternative, list_autocomplete_history, for retrieving prior results. Usage is implied rather than specified.

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.

Resources