Skip to main content
Glama

RefStats

Referee statistics

search_referee
Read-onlyIdempotent

Find a referee by name (diacritics optional, part of the name is enough) or referee_id. Returns matching candidates and, for the best match (most games), averages per competition and season (minor penalties, majors, PIM per game) next to the league average, plus the last 10 games. Search another candidate by its referee_id.

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": {
      "query": "<query>"
    },
    "name": "search_referee"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesReferee name (min 3 characters) or referee_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. Beyond that the description does add real behavioral value: it discloses fuzzy matching tolerance and, importantly, that the tool auto-selects a "best match (most games)" and layers in league averages and last-10-game data rather than returning raw records. It stops short of saying how many candidates are returned, whether results are truncated, or what happens with ambiguous or no matches.

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?

Front-loads the lookup action, then the return contract, then the disambiguation path – a logical order with no filler. The closing sentence is slightly terse and could read as a fragment, but it carries actionable information about iterating on candidates.

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?

With no output schema in play, the description takes on the job of describing returns and does it well for a single-parameter read tool, covering both input forms, the candidate list, the aggregate statistics and the recent-games tail. Only the size/shape of the candidate list and behavior on zero matches remain unspecified.

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?

One parameter at 100% schema coverage, so the schema already documents query, the 3-character minimum and the name-or-id union. The description reinforces this with the extra detail that diacritics are optional and a name fragment is sufficient, but that is largely restatement-plus rather than deep syntax guidance such as how referee_id differs in format from a name.

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?

States a specific verb and resource ("Find a referee") plus the two accepted identifier forms, and it can't be confused with search_player or search_team. The second sentence goes further and enumerates the payload shape (candidates, per-competition/season averages, league average, last 10 games), so an agent knows exactly what it gets back.

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?

Gives concrete input guidance (diacritics optional, partial name sufficient) and a follow-up pattern for disambiguation: "Search another candidate by its referee_id." What's missing is any statement of when to prefer this over other lookups or when it would return nothing useful, so no explicit alternatives or exclusions.

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