Skip to main content
Glama

lookup_word

Search any Arabic word in its inflected or base form to find dictionary entries with roots. Case- and diacritic-insensitive matching helps when you don't know the root.

Instructions

Look up a surface Arabic word (any inflected form or lemma).

Returns matching entries, each labelled with its root — pivot to lookup_root if you want all sibling words. Matching is case- and diacritic-insensitive. Good when the user gives a word but not the root.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wordYes
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses that matching is case- and diacritic-insensitive and that results are labeled with roots. It implies a read-only operation but does not mention pagination, error handling, or rate limits—though these are less critical for a simple lookup and an output schema is present.

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?

Three sentences, front-loaded with the primary purpose. Every sentence adds value: purpose, matching behavior, and usage guidance. No redundant phrasing.

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?

The tool is simple; the description covers purpose, matching nuances, and an alternative tool. The presence of an output schema means return values are already defined. It lacks explicit notes on no-match behavior, but this is a minor gap given the output schema.

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 0%, so the description must compensate. It clarifies 'word' as a surface form or lemma, but does not explain the 'limit' parameter beyond its default value. This partial coverage earns a mid-range score.

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?

The description clearly states the tool's action: 'Look up a surface Arabic word (any inflected form or lemma).' It distinguishes from siblings by mentioning that lookup_root is for root-based searches and explicitly notes this tool is 'Good when the user gives a word but not the root.'

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Provides explicit guidance: use when the user supplies a word but not the root, and pivot to lookup_root when sibling words are desired. The mention of lookup_root as an alternative is a clear when-not condition, though search_meaning is not explicitly excluded.

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

Deploy Server

Other Tools