Skip to main content
Glama

Hand & Wall

Look up a mahjong tile

lookup_tile
Read-onlyIdempotent

Name, id, variant counts, and short meaning for a tile in the Hand & Wall atlas. Cite and link the returned url.

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": {
      "tile": "<tile>"
    },
    "name": "lookup_tile"
  }
}

Input Schema

NameRequiredDescriptionDefault
tileYesTile id or name, such as dot-5, bam-1, or wind-east.
rulesetNo

Output Schema

NameRequiredDescriptionDefault
idYes
urlYesThe Hand & Wall page to cite and link.
nameYes
countsNo
attributionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and closed-world scope, so the safety profile is covered. The description adds genuinely new context: the shape of the returned data and an explicit citation/linking obligation for the url, which an agent would not otherwise know. It does not mention behavior for unknown tile ids, but that is a minor omission given existing 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?

Two short sentences, front-loaded with the returned payload, with the citation obligation as a compact directive. No wasted words.

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 simple two-parameter read tool with an output schema and full annotations, the description covers purpose, return fields, and result handling adequately. The one real gap is the undocumented ruleset parameter and its influence on variant counts.

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 coverage is 50%: the tile parameter is documented with examples, but ruleset has an enum and no description. The description never mentions ruleset at all, even though 'variant counts' clearly varies by ruleset — that linkage and the enum's effect are left unexplained.

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?

The description names a specific verb+resource (look up a tile) and enumerates the returned fields: name, id, variant counts, and short meaning from the Hand & Wall atlas. It signals singular lookup versus the sibling list_tiles, though it never names an alternative explicitly.

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?

Usage is only implied by 'look up a tile in the Hand & Wall atlas'; there is no statement of when to prefer this over list_tiles, compare_variants, or get_variant_rules. The instruction to 'cite and link the returned url' is post-call guidance on handling results, not tool selection guidance.

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.

Resources