Skip to main content
Glama

Autocomplete merchants

discond_autocomplete_businesses
Read-onlyIdempotent

Typo-tolerant autocomplete of UAE merchant names on Discond. Returns matching merchant ids and names for partial or misspelled input.

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

Input Schema

NameRequiredDescriptionDefault
qYesPartial merchant name
limitNoHow many suggestions (1–20, default 8).
offsetNoSkip this many results, for the next page.
response_formatNomarkdown (default, human-readable) or json (structured)markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"How many suggestions (1–20, default 8)."
    • addedInput schema / properties / offset / description
      Added value: +"Skip this many results, for the next page."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so the safety profile is covered. The description adds genuinely new behavioral detail: typo tolerance and the shape of the result ('matching merchant ids and names'), plus a UAE scope restriction. It omits paging behavior, though the offset/limit params hint at it.

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 sentences, no filler, and the most decision-relevant facts (typo tolerance and scope) are front-loaded. Every clause carries information an agent would otherwise have to infer.

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 simple four-parameter read tool with no output schema, the description covers purpose, input tolerance, and return fields adequately. The only gap is that it does not state that ids returned here are meant to feed tools like discond_get_business, but that is a minor omission for a low-complexity tool.

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 all four parameters documented including ranges, defaults, and the response_format enum, so the schema carries the burden. The description only reinforces that the query accepts partial or misspelled input, adding little beyond the schema's 'Partial merchant name' wording. 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?

The description states a specific verb and resource ('autocomplete of UAE merchant names on Discond') plus the matching behavior ('partial or misspelled input'), which is far more informative than the title alone. It does not name a sibling such as discond_get_business or discond_resolve_place to delimit the boundary, so it stops short of full differentiation.

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?

Usage is implied by 'partial or misspelled input' — an agent can infer this is the lookup path when the exact merchant name is unknown. There is no explicit statement of when to prefer this over discond_resolve_place or discond_get_business, and no note that results are suggestions to be followed by an id-based lookup.

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