Skip to main content
Glama

word_list

Searches the TLG word index for every word form containing a given pattern and returns its frequency, either across the whole corpus or within a chosen author, work, or saved corpus.

Instructions

Look up the TLG word index: every indexed word form containing the pattern (unaccented Greek, or Unicode), with its frequency in the whole TLG or in the given scope. Fast; good for frequency questions and for discovering forms.

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": {
      "pattern": "<pattern>"
    },
    "name": "word_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax forms to list (default 200).
worksNoSpecific works per author: {"0557": ["002"]} = Epictetus, Enchiridion. Find numbers with list_works.
corpusNoName of a saved Diogenes corpus (see list_corpora). Takes precedence over authors/works.
authorsNoTLG author numbers to search all works of, e.g. ["0557"]. Find numbers with list_authors.
patternYesWord or fragment, e.g. "ασκησ". A leading space anchors the start of the word.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. "Look up" implies a safe read and "Fast" implies a performance profile, but nothing is said about result ordering, truncation beyond the schema's limit, or whether the index is complete — gaps that matter for a 5-parameter lookup with no annotations.

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 front-loaded sentence that names the resource, the match rule, and the payload, with no filler. The parenthetical qualification is dense but earns its space; structure is clean though not broken into scannable parts.

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?

There is no output schema, and the description only sketches the return shape (forms plus frequency) without saying how it is ordered or grouped by author/work. With a nested works parameter and corpus precedence handled only in the schema, the description is adequate but not fully complete.

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 still adds real semantics by specifying that matching accepts unaccented Greek or Unicode and that frequency is reported either across the whole TLG or within the given scope, clarifying how the scope parameters change the result.

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?

States a specific verb and resource ("Look up the TLG word index") plus the exact result set ("every indexed word form containing the pattern ... with its frequency"), which separates it from corpus text search or morphological search siblings. An agent can tell what it returns without opening the 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 positive guidance: "Fast; good for frequency questions and for discovering forms," which tells the agent the two situations this tool wins. It stops short of naming alternatives or exclusions (e.g., use search/morph_search when you need passages rather than an index), so a 4 rather than a 5.

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