Skip to main content
Glama

cards4play_get_rules

Read-onlyIdempotent

Read a concise rules description for a supported game and rule set.

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": {
      "game": "<game>"
    },
    "name": "cards4play_get_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
gameYes
variantNoOptional rule set id from cards4play_list_games. Omit for the game's default.

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 and openWorldHint=false, so safety and determinism are covered structurally. The description adds one piece of behavioral context – the returned rules are 'concise', i.e. a summary rather than full rules text – but says nothing about format, length, or whether unknown variants error out.

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 with no filler or redundancy. It is efficient, though its brevity is part of why scope and usage details are thin, so it is not quite a model of well-structured completeness.

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, non-mutating lookup with no output schema and full annotation coverage, the description supplies enough for an agent to call it correctly. The remaining gaps – return format and error behavior for an unsupported variant – are minor for a read-only summary tool.

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 coverage is 50%, and the undocumented parameter (game) is fully self-documented by its enum of eight card games. The description's phrase 'for a supported game and rule set' loosely mirrors the game/variant pair but adds no semantics beyond what the schema and the variant description already convey. The 3 baseline is appropriate.

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 uses a specific verb ('Read') and resource ('rules description') scoped to a game and rule set, which is clearly distinct from sibling tools like cards4play_get_state or cards4play_get_advice. It stops short of explicitly contrasting itself with those siblings, so it is clear but not fully differentiated.

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: an agent infers this is the tool for looking up how a game is played, but the description never states when to prefer it over cards4play_get_advice or when rules lookup is unnecessary. The schema's mention of cards4play_list_games for variant ids is the only cross-tool routing hint, and it lives in the parameter, not the description.

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.