Skip to main content
Glama

Translate a word

dic_translate
Read-onlyIdempotent

Translate a Persian, English, Arabic, or Turkish word or short phrase between supported languages and retrieve dictionary results with parts of speech and example sentences.

Instructions

Translate a single word or short phrase between Persian and English, Arabic or Turkish, one block per site.

Vajehyab covers every direction. Abadis picks the direction from the script of the word (Latin: English to Persian, Persian: Persian to English and Arabic), adds parts of speech and sample sentences, and has no Arabic to Persian or Turkish. Arabic headwords match best when typed with Persian letters (ک, ی). Not for whole sentences.

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_translate"
  }
}

Input Schema

NameRequiredDescriptionDefault
wordYesPersian, English or Arabic word or short phrase.
sourceNoall (both side by side) or one site.all
examplesNoAbadis sample sentences with Persian translation.
directionNoen-fa English to Persian, fa-en, ar-fa Arabic to Persian, fa-ar, fa-tr Persian to Turkish.en-fa

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent and non-destructive behavior, so the description's added value is the capability matrix: Vajehyab covers every direction, Abadis infers direction from script, adds parts of speech and sample sentences, and has no Arabic-to-Persian or Turkish. That is real behavioral context an agent cannot get from the annotations or schema.

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 and scope, then site-specific behavior in compact clauses; every sentence carries information. It is dense but not padded, with only slight compression cost in phrases like 'one block per site'.

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 lookup tool with no output schema, the description covers direction handling, per-site capabilities, limitations, and input formatting. What it leaves out is the response shape beyond 'one block per site' and any failure behavior (e.g. word not found), which are minor given the read-only annotation profile.

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 100%, so the baseline is 3; the description goes beyond it by explaining that 'source' produces 'one block per site', that Abadis derives direction from the script of the input (overriding the direction default), and that 'examples' maps to Abadis sample sentences. It also gives a practical input tip (type Arabic headwords with Persian ک/ی) that makes the direction enum behave as expected.

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?

States a specific verb and resource ('Translate a single word or short phrase') and enumerates the involved languages, which is more than a restatement of the title. It also bounds the operation with 'Not for whole sentences', though it never names a sibling tool (e.g. dic_lookup or dic_vajehyab_search) that would be the sentence-level alternative.

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 clear negative condition ('Not for whole sentences') and explains how to choose between the two sources by describing what each covers. It is missing an explicit pointer to the sibling tool to use for sentences, so the agent must infer the alternative rather than being routed to it.

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