Skip to main content
Glama

Autocomplete

suggest
Read-onlyIdempotent

Complete the start of a business name, city or category. Use it to find the exact spelling before searching. Business names come in alphabetical order, cities largest first, categories by number of businesses.

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": {
      "q": "<q>"
    },
    "name": "suggest"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesQuery prefix, min 2 characters (e.g. 'nom', 'copenh')
typeNoWhat to autocomplete (default: 'business').business
limitNoMax suggestions (default: 10, max: 15)
countryNoOptional two-letter country code, such as NO, to narrow suggestions

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"Optional ISO country code to narrow suggestions"New value: +"Optional two-letter country code, such as NO, to narrow suggestions"
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive) and openness. The description adds genuinely new behavioral information not present in annotations or schema: results are ordered alphabetically for businesses, largest-first for cities, and by business count for categories. It does not discuss result count behavior or failure modes for prefixes under two characters, which keeps it from a 5.

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 core action and followed by usage then result ordering. No filler, though the first sentence is somewhat telegraphic ('Complete the start of...') where a slightly more explicit phrasing would read faster.

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 four-parameter, single-required-field lookup tool with full schema coverage and rich annotations, the description covers purpose, usage, and result ordering. With no output schema, it would have been reasonable to note the shape of a suggestion item, but that is a minor gap.

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%, with each of the four parameters documented including enum values, defaults, and the two-character minimum. The description adds no parameter-level syntax or format detail beyond what the schema states; its added value (the per-type ordering) is behavioral rather than parametric.

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?

The description opens with a specific verb and resource set: 'Complete the start of a business name, city or category.' That is enough to distinguish it from lookup tools like get_business or search_businesses, but no sibling is named explicitly, so the differentiation is inferred rather than stated.

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?

'Use it to find the exact spelling before searching' gives clear when-to-use context: this is a pre-search spelling resolution step. It stops short of naming an alternative tool or stating when not to use it (e.g. when the full name is already known), so it lands at 4 rather than 5.

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