Skip to main content
Glama

Whistle.day - Tournament organizer

add_court

Add a court, pitch or table. Courts are what the schedule puts matches on and what the projector groups them by, so a tournament with none can be played but not organised: update_fixture's court argument has nothing to point at.

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": {
      "tournament_id": "<tournament_id>",
      "name": "<name>"
    },
    "name": "add_court"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCourt name, e.g. 'Court 1'
positionNoOrder on the screen, 0-based (default: after the last one)
tournament_idYesTournament ID

Output Schema

NameRequiredDescriptionDefault
idYesRecord ID
nameYesName
activeYesWhether it is in use
positionYesOrder, 0-based; in a table, the rank

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "active": {
      +      "description": "Whether it is in use",
      +      "type": "boolean"
      +    },
      +    "id": {
      +      "description": "Record ID",
      +      "type": "string"
      +    },
      +    "name": {
      +      "description": "Name",
      +      "type": "string"
      +    },
      +    "position": {
      +      "description": "Order, 0-based; in a table, the rank",
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "name",
      +    "position",
      +    "active"
      +  ],
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • removedInput schema / properties / session_token
      Removed value: -{
      -  "description": "The session_token returned by create_tournament",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "tournament_id",
      -  "name",
      -  "session_token"
      -]New value: +[
      +  "tournament_id",
      +  "name"
      +]
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare it is not read-only, not destructive, and not idempotent. The description adds valuable domain context: a tournament without courts can still be played but is not organised. This explains the practical consequence of the tool's absence, which goes beyond standard safety flags.

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?

Two sentences with zero waste. The core purpose is front-loaded, and the second sentence efficiently explains the entity's role and a key dependency.

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?

Given the annotations cover the safety profile, the schema covers parameters, and an output schema exists for return values, the description provides sufficient domain context for an agent to call this correctly. It could be marginally improved by noting any prerequisite permissions, but it is largely 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 the schema already documents name, position, and tournament_id. The description does not add any syntax or format details for these parameters. Baseline 3 is correct when the schema does the heavy lifting.

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 ('Add a court, pitch or table'). It further distinguishes the entity's role by relating it to scheduling and projector grouping. An agent can immediately tell this is a creation tool for physical playing surfaces, distinct from create_stage or add_entry.

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?

Provides clear context for why you would use it: courts are needed for the schedule and projector. It even explains a downstream dependency (update_fixture's court argument). However, it doesn't explicitly state when NOT to use it or name a direct alternative for creating venues.

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