Skip to main content
Glama

The Tennis Desk

A team's results and next matches

query_team_record
Read-onlyIdempotent

Returns the recorded lines of any team the Desk covers, in any league and season, each with an evidenceId you can cite. It also gives the team's record, which is already counted, every team match of the period and its next matches. Call it when someone asks about a named team's matches, results or next match, or before you state a fact about them.

Input Schema

NameRequiredDescriptionDefault
dateNoOptional match day, as YYYY-MM-DD, e.g. '2026-02-05'. The rows are then that day's lines, from any season unless `season` is given. Pass it when the question names the day of a match.
teamYesTeam name or partial name to resolve, e.g. 'Tiburon' or 'Mill Valley men's 18'. Or the team's Desk page link or number.
askedNoThe person's question word for word, never paraphrased. Leave it out rather than invent one.
limitNoMax rows to return (default 9, max 60).
phaseNoOptional competition phase: 'sectionals', 'playoffs', 'postseason', or 'regular season'. Pass it when the member names one — a sectional match keeps its REGULAR-SEASON league name in our data, so there is no other way to find it. Omit to return every phase.
seasonNoOptional season year to filter to, e.g. 2026
includeAllSeasonsNoSet true ONLY when the user explicitly asks about prior years / all history.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds real value on top: every line carries an evidenceId for citation and the record is pre-counted so the agent shouldn't recompute it. That citation and pre-aggregation guidance is the kind of context annotations cannot convey.

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?

Three sentences, front-loaded with what is returned and followed by citations and the calling trigger. Minor awkwardness in 'the record, which is already counted,' but no filler.

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?

Even with seven parameters and no output schema, the description covers return contents (lines with evidenceIds, record, period matches, next matches) and the calling condition, while the fully documented schema handles the filtering details. Adequate for an agent to invoke correctly.

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 parameters like date, phase, season, and includeAllSeasons are already well explained in the schema. The description adds only a light hint about the whole-history scope; baseline 3 applies when the schema carries the semantics.

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?

Specific verb and resource: returns recorded lines, the team's already-computed record, every match in the period, and upcoming matches for a named team across any league/season. That scope meaningfully separates it from narrower siblings like query_match_log or query_team_forecast, though no sibling is named explicitly.

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?

States a clear trigger: when someone asks about a named team's matches, results, or next match, or before asserting a fact about them. It lacks explicit when-not guidance or a named alternative for adjacent questions (e.g., forecasting vs. results), so it stops short of 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