Skip to main content
Glama

match_room

Join a waiting room by scanning available rooms and entering the first match. Set filters for tier, fees, and player count; if no room fits, create a new one.

Instructions

通过扫描可用房间并加入第一个匹配项来进行匹配进入等待中的房间。检查 AI 插槽可用性(MCP = AI)。如果没有房间匹配,建议使用 create_room。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo玩家名称(1-20 字符,默认:XXXX)
tierNo可选的等级过滤器:0=快速,1=标准,2=史诗
maxFeeNo最大入场费,单位 USDC(默认 100)
minFeeNo最小入场费,单位 USDC(默认 1)
maxPlayersNo最大房间大小(默认 50)
minPlayersNo最小房间大小(默认 3)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral disclosure burden. It explains the happy-path behavior—scanning and joining—but does not disclose side effects, such as what happens if the user is already in a room, whether the operation is reversible, what errors may occur, or what the response contains. This is a significant gap for a state-changing join operation.

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?

The description is compact and front-loaded: it states the core behavior first, then the availability check, then the fallback. Every sentence earns its place, and there is no redundant wording.

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?

The description covers the main workflow and fallback, which is enough for basic invocation. However, with no output schema and no annotations, it omits useful context about the response format, failure behavior, or whether joining affects an existing room membership. It is adequate but not complete.

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 100%, so all six parameters are already documented. The description adds no extra parameter-specific meaning, but it does not need to because the schema handles parameter semantics. Baseline 3 is appropriate.

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 names a specific action and resource: scanning available rooms and joining the first matching waiting room. It also clearly distinguishes match_room from create_room by stating that create_room is the fallback when no room matches.

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

Usage Guidelines4/5

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

The description provides clear context for when to use the tool: when the user wants to match into a waiting room automatically. It explicitly recommends create_room if no room matches, which gives an alternative. However, it does not mention when to avoid match_room or use other related tools like get_arena_status first.

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