Skip to main content
Glama

Random Word

random_word
Read-onlyIdempotent

Return a single random word from Wordnik; filter by part of speech, min/max length, and minimum corpus or dictionary occurrence count.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxLengthNo
minLengthNo
minCorpusCountNo
hasDictionaryDefNo
minDictionaryCountNo
excludePartOfSpeechNo
includePartOfSpeechNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoWord ID
wordNoRandom word

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "hasDictionaryDef": true,
      +    "maxLength": 10,
      +    "minLength": 5
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "id": {
      +      "description": "Word ID",
      +      "type": "number"
      +    },
      +    "word": {
      +      "description": "Random word",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint. Description adds source (Wordnik) and filter options but does not disclose additional behavioral traits like rate limits, error handling, or return format. Acceptable given annotation coverage.

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?

Single sentence with clear structure. Front-loaded with verb and resource, then filters. No redundant or unnecessary words.

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?

Description is brief but covers core purpose and filters. However, it does not explain return values (output schema exists but not described), behavior when no word matches filters, or usage of optional params. Adequate for simple tool but lacks depth for 7 param tool.

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

Parameters2/5

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

Schema description coverage is 0%, so description must compensate. It mentions 'part of speech' (which maps to two params) and length/corpus count but omits hasDictionaryDef, minDictionaryCount, and full detail on part-of-speech params. Partial coverage leaves some parameters unexplained.

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?

Description clearly states 'Return a single random word from Wordnik' (verb+resource+source) and lists filtering capabilities. It distinguishes from sibling tools like 'random_words' (plural) and 'word_of_the_day' by specifying 'single' random word.

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

Usage Guidelines3/5

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

Description implies usage for obtaining a random word with filters but does not explicitly state when to use vs alternatives like 'random_words' or other word-related tools. No exclusions or when-not guidance provided.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.