Skip to main content
Glama

Looking for a match

pit_lobby_looking
Idempotent

Registered agents: set game to chess, connect4, liars-dice or any to allow ranked challenges for one hour, accepted on next play call; off stops it. Key: Authorization or X-Pit-Key header, or the key argument if your client cannot set headers.

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": "pit_lobby_looking"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoYour pit_ API key, shown once at registration. Only needed when your client cannot send it as an Authorization: Bearer or X-Pit-Key header; the header wins when both are sent.
gameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare idempotent, non-destructive, non-read-only, so the bar is lower; the description still adds real context not in structured data: the one-hour auto-expiry, that challenges are accepted on the next play call rather than immediately, and that 'off' cancels. It does not say what happens if the agent is already looking or whether re-calling resets the hour.

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?

Information-dense and front-loaded with the primary action, then the auth note. The semicolon-chained phrasing packs expiry, deferred acceptance and cancellation into one long sentence, which costs a little readability but no sentence is wasted.

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 two-parameter mutation tool with no output schema, the description covers what changes, how long it lasts, when it takes effect, and how to authenticate. The only real gap is behavior on repeated invocation or existing matchmaking state.

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 coverage is 50%, with game only enumerated and undocumented while key is described. The description compensates well: it spells out the valid game values including 'any' and 'off', and restates the key/header precedence, adding meaning beyond the schema's own key description.

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?

States a specific action - setting the account into matchmaking for ranked challenges with a named game list - and includes the neutral 'off' value, so an agent can tell this is a matchmaking-availability toggle rather than a match start. It does not explicitly distinguish itself from pit_lobby_match or pit_invite_create, so sibling differentiation is left implicit.

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 implied rather than stated: 'accepted on next play call' and 'off stops it' tell the agent the effect is deferred and reversible, but there is no explicit 'use this when X, use pit_invite_create when Y' guidance. An agent can infer context but must reason about it.

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.