Skip to main content
Glama

match_report

Render a one-page football visual report with passing networks, shot maps, an xG race, goal markers and stats comparison, returning the PNG, summary and full-resolution file path.

Instructions

Render a one-page match report image and return it with the numbers behind it.

The image shows both passing networks, both shot maps, an xG race with goal markers and a stats comparison. The data has no kit colours, so pass each team's recognisable colour; the two must differ clearly and both must show on an off-white background (for a team in white, use its secondary colour). Each passing network covers one settled XI, from kick-off to that team's first substitution after half-time.

Returns the PNG, the summary, and the path of a full-resolution copy on disk.

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": {
      "match_id": "<match_id>"
    },
    "name": "match_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
match_idYesStatsBomb match id from find_matches
away_colorNoHex colour for the away team, e.g. '#1D2A5B'#d1495b
home_colorNoHex colour for the home team, e.g. '#6CACE4'#1f5fbf

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does a good job: it discloses that colours must clearly differ and be visible on an off-white background (white teams need a secondary colour), defines the passing-network window precisely (settled XI, kick-off to the first substitution after half-time), and states the three returned artifacts. It stops short of failure modes (invalid hex, missing match) and any cost or latency expectation.

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?

Front-loaded with verb and output, then visual contents, then the colour constraint, then the passing-network scope caveat, then the return value. Each sentence carries a distinct, actionable fact and nothing is repeated from the schema.

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?

For a render tool with no annotations and no output schema, the description adequately covers what comes back (PNG, summary, on-disk full-resolution path) and the scope of what the image depicts. Error behavior and any runtime cost are the remaining gaps, which is a minor shortfall rather than a blocking one.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description adds genuinely non-obvious meaning the schema does not: the two colours must be clearly distinguishable, must both read against an off-white background, and a white team must use its secondary colour. Those constraints prevent failed or illegible renders and are absent from the parameter descriptions.

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?

The description opens with a specific verb and resource, 'Render a one-page match report image', and then enumerates exactly what the image contains (passing networks, shot maps, xG race, stats comparison). This makes it distinguishable in practice from match_shots and match_summary, though it never names a sibling to route the agent explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the phrase 'match report' – an agent can infer it is the visual-output tool when a human-readable graphic is wanted, and the match_id provenance ('from find_matches') is in the schema, not the description. There is no explicit when-to-use versus when-to-use-match_summary or match_shots guidance, and no stated prerequisites or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.