Skip to main content
Glama

Autocomplete words

dic_suggest
Read-onlyIdempotent

Completes a word prefix into dictionary headwords from Abadis and Vajehyab so you can find the exact spelling; optionally limit results or query one site.

Instructions

Complete the start of a word into dictionary headwords, one list per site; use it to find the exact spelling.

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": {
      "prefix": "<prefix>"
    },
    "name": "dic_suggest"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
prefixYesStart of a word, Persian or English.
sourceNoall (both side by side) or one site.all

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety and idempotency are covered. The description adds that results are returned as one list per site, which is useful output-shape context. It says nothing about ranking, ordering, empty-result behavior, or what happens when the prefix matches nothing on a site.

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?

A single compact sentence that front-loads the core action and appends the use case. No filler or repetition. It is arguably a touch too terse for a tool with three parameters, but concision itself is not the problem.

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 simple three-parameter autocomplete with no output schema and full annotation coverage, the essentials are present. Still missing is guidance on how the per-site lists combine (does 'all' merge or return two arrays?), whether matches are prefix-only or fuzzy, and what an empty result looks like, which an agent would want before relying on this.

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 a middling 67%: prefix and source carry their own descriptions and source has an enum explaining the three values. The description's 'one list per site' loosely reinforces the source parameter, but says nothing about limit (default 10, max 20) or how prefix length affects matching, so it adds little beyond the schema.

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: completing a word prefix into dictionary headwords. It also hints at the output shape ('one list per site') and purpose ('find the exact spelling'), so an agent can distinguish it from an exact-lookup tool without opening the schema, though no sibling is named explicitly.

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 clause 'use it to find the exact spelling' gives an implied usage context: call this when you don't know a headword's spelling and need to resolve a prefix. However, it never names an alternative such as the exact-lookup or site-search siblings, nor states when this tool is the wrong choice.

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