Skip to main content
Glama

Hand & Wall

Get variant rules summary

get_variant_rules
Read-onlyIdempotent

Tile count, wall size, and setup notes for American, Chinese, or Riichi mahjong. 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": {
      "variant": "<variant>"
    },
    "name": "get_variant_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
variantYes

Output Schema

NameRequiredDescriptionDefault
idYes
urlYesThe Hand & Wall page to cite and link.
summaryNo
tile_countNo
attributionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds one genuinely useful behavioral detail beyond that — the result carries a URL that should be cited and linked. It says nothing further about output shape, caching, or data provenance.

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?

Two short sentences with no filler, and the payload content is front-loaded before the citation instruction. The opening is a bare noun phrase rather than a verb-led statement, which costs a little clarity.

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?

An output schema exists and annotations cover the safety profile, so the description needn't explain return structure. For a single-enum-parameter lookup tool the definition supplies the payload contents plus the citation obligation, leaving little an agent needs that is missing.

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%, but the only parameter is a 3-value enum whose values ('american', 'chinese', 'riichi') the description lists verbatim, so the parameter is effectively self-documenting. The description adds no meaning beyond the enum — no note on what differs between variants or whether values are case-sensitive.

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 concrete resource payload (tile count, wall size, setup notes) scoped to the three named mahjong variants, so an agent knows exactly what comes back. It does not explicitly contrast itself with siblings like compare_variants or get_charleston_steps, but the per-variant 'summary' framing is distinguishable in practice.

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 the content listing — an agent can infer this is the tool for variant basics. There is no explicit when-to-use versus compare_variants, get_charleston_steps, or list_tiles, and no stated exclusions or prerequisites.

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