Skip to main content
Glama

Event Stats

event_stats
Read-onlyIdempotent

Team-by-team match statistics for one event, shots on goal, corners, possession, fouls, passes and whatever else the source recorded, as home/away pairs. Use for settling shot-count, corner and possession questions. COVERAGE IS PER-COMPETITION: a match the source has not covered returns found:false with a reason, not an error.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "event_id": "2594568"
    },
    "name": "event_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
_apiKeyNoOptional TheSportsDB key. The free tier serves this tool; a supporter key raises the rate limit.
event_idYesTheSportsDB idEvent, e.g. "2594568".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/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 open-world, so the safety profile is covered. The description adds the genuinely non-obvious behavior: coverage is per-competition and a non-covered match returns found:false with a reason rather than an error. It could go further on rate limits (only the _apiKey schema note mentions that) or on completeness of the stat set, but the key failure mode is disclosed.

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?

Three sentences, front-loaded with the purpose and stat list, then usage, then the failure-mode caveat. Nothing is repeated from the schema or annotations, and the qualifier "and whatever else the source recorded" usefully signals an open-ended field set in a few words.

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, the description must carry the return-shape burden, and it does: home/away pairs plus found:false on missing coverage. For a simple two-parameter read tool this is close to complete; only per-stat units or the full field list are left undetermined.

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 description coverage is 100%: event_id is documented as a TheSportsDB idEvent with an example, and _apiKey explains the free-vs-supporter rate limit. The description adds nothing parameter-specific, but with a fully documented two-parameter schema the baseline applies and the requirement of a single event id is consistent with the one-event framing.

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?

"Team-by-team match statistics for one event" names a specific verb+resource and immediately enumerates the stat families (shots on goal, corners, possession, fouls, passes). It also states the output shape (home/away pairs), which separates it from sibling tools like event_detail or event_lineup that would not return per-team stat pairs.

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?

"Use for settling shot-count, corner and possession questions" gives a concrete use case, and the coverage note tells the agent what happens on missing data. It stops short of naming a sibling as the alternative for related-but-different questions (e.g. lineups or timelines), so it is clear context without explicit 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.