Skip to main content
Glama

Vajehyab: search entries

dic_vajehyab_search
Read-onlyIdempotent

Search Vajehyab dictionaries by exact word, synonym, antonym, rhyme, homophone, prefix, or suffix to find matching Persian, English, or Arabic entries and excerpts.

Instructions

Search Vajehyab's dictionaries with a scope: exact entries, entries naming it a synonym or antonym, rhymes, sound-alikes.

Empty dictionaries searches all of them. Slugs: dehkhoda, moein, amid, motaradef (synonyms and antonyms), name, en2fa, fa2en, ar2fa, fa2ar, fa2tr, ku2fa, farhangestan, sereh, thesis, wiki, salam, teyfi, ganjvajeh, brand and dialects (bakhtiari, dezfuli, gonabadi, isfahani, kermanshah, khalkhal, mazani, tehrani). Each hit has dictionary, title, slug and a text excerpt (about 300 characters); pass dictionary and slug to dic_vajehyab_entry for the whole entry. total is the number of matches; page with offset.

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": {
      "query": "<query>"
    },
    "name": "dic_vajehyab_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYesWord or phrase, Persian, English or Arabic.
scopeNoexact, synonym, antonym, similar, homophone, prefix (starts with) or suffix (rhymes, قافیه).exact
offsetNo
dictionariesNoComma-separated dictionary slugs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, and the description adds genuinely new context: each hit carries dictionary, title, slug and a ~300-character excerpt, `total` is the match count, and results are paged with `offset`. That excerpt-truncation detail is the key behavioral fact an agent needs, though the `limit` cap (max 30) is never mentioned.

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?

Purpose and scope come first, followed by the operational details, which is the right ordering. The long inline slug list is bulky and slightly run-on, but it earns its place because the schema provides no enum for `dictionaries`.

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 carries the return-value burden and largely does: it names the fields per hit, the excerpt size, the total count and pagination. The one omission an agent would care about is the `limit` parameter's behavior and ceiling, which is left entirely to the schema's numeric bounds.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 60%, and the description compensates well for the biggest gap: it enumerates the actual dictionary slugs (dehkhoda, moein, amid, motaradef, dialect variants, etc.) even though the schema only supplies a regex pattern, and it explains the empty-string default. It also glosses scope values and offset paging, but says nothing about `limit`, leaving one parameter undocumented in both places.

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?

Opens with a specific verb+resource ('Search Vajehyab's dictionaries') and immediately enumerates the searchable scopes (exact entries, synonym/antonym mentions, rhymes, sound-alikes). It also distinguishes itself from the sibling dic_vajehyab_entry by casting itself as the search step that feeds that tool, so an agent can tell the two apart 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 Guidelines4/5

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

Gives clear routing guidance: use this tool for hits, then 'pass dictionary and slug to dic_vajehyab_entry for the whole entry,' and explains that an empty `dictionaries` searches all of them. It does not address when to prefer other siblings (dic_lookup, dic_synonyms, dic_translate), so it falls short of full when/when-not coverage.

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