Skip to main content
Glama
agentdanger

wordle-solver

by agentdanger

recommend_guesses

Get ranked next-guess recommendations for an in-progress Wordle game by passing your guesses and color feedback. Reduce remaining possibilities using expected information gain to choose the optimal word.

Instructions

Get ranked next-guess recommendations for an in-progress Wordle game.

Call this AFTER each guess, passing the full game so far: every guessed word and its color feedback, in order. Feedback is one string per guess, one character per letter: 'g' green (right letter, right spot), 'y' yellow (in the word, wrong spot), 'x' gray (not in the word).

Example: the guess CRANE showing gray-yellow-gray-green-gray is words=["crane"], feedback=["xyxgx"].

Returns the top recommendations ranked by expected information gain (lower bits = better guess), the best guesses that are also eligible answers, and game-state statistics including remaining possibilities and uncertainty in bits. Prefer a word from best_answers when few answers remain; prefer best_overall when many remain and you want to maximize information.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wordsYes
feedbackYes
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses the ranking criterion (expected information gain, lower bits = better), distinguishes the two recommendation lists (best_answers vs best_overall) and what each is for, and describes game-state statistics returned including remaining possibilities and uncertainty in bits. It doesn't discuss edge cases (e.g., invalid states, duplicate guesses), but covers the core behavioral contract well for a non-destructive calculation tool.

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?

Each sentence earns its place: the opening states purpose, the second block covers invocation timing and parameter semantics with an example, and the final sentence covers return-value interpretation. No filler or redundancy, well front-loaded with the core action.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 2 required array parameters, no output schema, and no annotations, the description is complete: it explains both parameters with formats and example, describes the three categories of return data, gives behavioral guidance for selecting among them, and clearly scopes input requirements ('full game so far'). No output schema exists, so describing the returned fields is necessary and done well.

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 description coverage is 0%, so the description must compensate fully. It does: it defines words as 'every guessed word' in order, defines feedback format per-character ('g'/'y'/'x' each with explicit meaning), enforces one feedback string per guess, and gives a concrete example mapping words=['crane'] to feedback=['xyxgx']. This substantially exceeds the bare array-of-strings schema.

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 returns 'ranked next-guess recommendations for an in-progress Wordle game' using a specific verb ('Get ranked...recommendations') and resource (next guesses for Wordle). It distinguishes from sibling get_game_stats by focusing on recommendations rather than statistics, and even describes what the returned fields contain.

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?

The description gives explicit when-to-use guidance: 'Call this AFTER each guess, passing the full game so far' and provides concrete format rules for the feedback strings ('g', 'y', 'x'). It also includes a worked example (CRANE = 'xyxgx') and end-state guidance on when to prefer best_answers vs best_overall. This is exceptionally actionable.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/agentdanger/wordle-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server