Skip to main content
Glama

Look up a word

dic_lookup
Read-onlyIdempotent

Look up a Persian, English, or Arabic word across Abadis and Vajehyab to retrieve dictionary meanings, synonyms, equivalents, and translations.

Instructions

Look a word up in the Persian dictionaries of Abadis and Vajehyab, one block per site.

Abadis: synonyms, Persian equivalents, English meanings, then Dehkhoda, Farhang-e Farsi, Moein, Amid, names and Arabic equivalents. Vajehyab: hits from Dehkhoda, Moein, Amid, names, Farhangestan and others, each with a text excerpt, slug and dictionary slug. Meaning text is cut short; set full for more, or use dic_vajehyab_entry.

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": {
      "word": "<word>"
    },
    "name": "dic_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
fullNoLonger text per dictionary (about 3000 characters instead of 400).
wordYesPersian, English or Arabic word or short phrase.
sourceNoall (both side by side) or one site.all

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, open-world and idempotent behavior, so the description adds value by disclosing the return layout ('one block per site'), the exact field ordering per site, and a real behavioral constraint: meaning text is truncated. Missing is what happens when a word has no hits or how errors surface.

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?

Front-loaded with the core action, then a compact labeled breakdown of each site's contents. Dense but every clause carries information; the only weakness is the listy enumeration of dictionary names, which is somewhat long yet genuinely useful for interpreting output.

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 correctly takes on the job of describing the return structure for both sources, including slugs and excerpts. It falls short only on edge cases (no results, partial coverage when one site fails), which an agent would want to know for a dual-source 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 coverage is 100%, so the schema already documents `word`, `source` and `full` including the character limits. The description only reinforces that truncation exists and that `full` relaxes it, adding little beyond the parameter descriptions themselves — the documented 3 baseline 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?

Opens with a concrete verb and resource ('Look a word up') and names the two specific sources it queries (Abadis, Vajehyab). It partially differentiates from siblings by pointing to dic_vajehyab_entry for full entries, though overlap with dic_vajehyab_search, dic_synonyms and dic_abadis_names is not addressed.

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 a concrete routing rule for the truncation tradeoff: use `full` for longer text, or use dic_vajehyab_entry instead. It also implies the default use case (both sites side by side) via the per-site block breakdown, but no explicit 'when not to use' or guidance on choosing among the other dictionary siblings.

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