Skip to main content
Glama

The Tennis Desk

Your lineup and line chances

plan_lineup
Read-onlyIdempotent

Plans a doubles and singles lineup for a team the Desk covers. It lists who has played most for your team this season, with their appearances, usual line and Desk level, the Desk's estimate of how they play now. Against a covered opponent it adds each line's win chance, each team's Desk level there and the expected number of lines won. Call it for 'what lineup should we play against X', 'who has played most for us' or 'how do we beat X'. Pass unavailable for your players who are out, but pass lineup only for the players the person put on each line. Needs a Desk Pass after the member's free forecast each week. Past that, a call gets the free part, with no chance for anything still to be played, and deskPass, whose message you give the person. Its error is free_forecast_used, or desk_pass_required for a key with no member.

Input Schema

NameRequiredDescriptionDefault
teamYesYour team, e.g. 'Belvedere 18AM3.5A', or its Desk page link or number. Must be a covered team.
askedNoThe person's question word for word, never paraphrased. Leave it out rather than invent one.
lineupNoYour own team's lineup, only as the person states it, line by line. Never fill it in yourself. Each line named is read from those players.
seasonNoSeason year. Defaults to the current season.
opponentNoThe opponent team to plan against, by name or Desk page link. Optional.
unavailableNoPlayers on YOUR team who are out. They leave your list and the averages your side of each line is read from. Names may be abbreviated ('Jane').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations by disclosing the paywall lifecycle: free forecast first, then a degraded 'free part' with no chances for unplayed lines, and a `deskPass` whose `message` must be relayed to the person. It also names the two error conditions (free_forecast_used, desk_pass_required), which is exactly the kind of auth/rate context annotations cannot express.

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 what the tool does and what it returns before the calling guidance and the paywall mechanics. It is dense and slightly clunky in the middle ('the Desk's estimate of how they play now'), and the final sentence packs two error codes plus a gating rule, but nothing is truly 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?

With six parameters, no output schema, and a paywall, the description covers what is returned qualitatively, how the free/paid split behaves, and the error surface. What is missing is the shape of results when no opponent is supplied versus when one is, leaving the agent to infer the return structure.

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 100%, so every parameter is already documented, including the 'never fill it in yourself' rule for `lineup` and the averaging effect of `unavailable`. The description restates those constraints rather than adding new meaning, so the baseline 3 applies.

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 verb and resource ('Plans a doubles and singles lineup for a team the Desk covers') and enumerates what comes back: appearances, usual line, Desk level, per-line win chance, expected lines won. It never names the closest sibling (plan_lineup_from_availability), but the distinction is implied by the rule that `lineup` is only what the person states, so an agent can mostly tell them apart.

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 three literal trigger phrasings ('what lineup should we play against X', 'who has played most for us', 'how do we beat X') plus the gating rule that it needs a Desk Pass after the member's free forecast. No explicit when-not-to-use statement or named alternative, which keeps it below a 5.

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