Skip to main content
Glama
leandersen

mcp-football

by leandersen

competition_top_scorers

Retrieve top scorers for a football competition using its code. Get player names, goals, assists, and penalties for leagues like Premier League or World Cup.

Instructions

This function, competition_top_scorers sends a httpx request to:
    https://api.football-data.org/v4/competitions/{competition_code}/scorers 
    to find the total scorers in the specified competition.

Please note that only the following competitions are included, and using any 
other competition code will result in an error. Use the following competition 
codes only:
    | WC | FIFA World Cup
    | CL | UEFA Champions League
    | BL1 | Bundesliga
    | DED | Eredivisie
    | BSA | Campeonato Brasileiro Série A
    | PD | Primera Division
    | FL1 | Ligue 1
    | ELC | Championship
    | PPL | Primeira Liga
    | EC | European Championship
    | SA | Serie A
    | PL | Premier League

Input: 
    competition_code - the league/tournament that we want to pull scorers from.

Output: a list containing entries about scorers 
        of the day including the following features:
            'event', 'player_name', 'player_num',
            'player_position', 'player_team', 'player_goals'
            'player_assists', 'player_penalties'

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
competition_codeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Describes that it sends a GET request and returns a list with specific fields, but does not mention rate limits, authentication, or potential side effects. Absence of annotations shifts burden to description, which meets basic needs.

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-loaded with purpose, but includes a lengthy table of valid codes. Efficient for a single-purpose tool.

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?

Covers input constraints and output features adequately for a simple read tool with an output schema. Could mention if pagination exists.

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?

The schema has 0% description coverage, but the description adds meaning by defining 'competition_code' and listing valid codes, compensating fully.

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?

Clearly states it finds total scorers for a competition via a specific API endpoint. Distinguishes from sibling 'todays_matches' by focusing on scorers.

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?

Explicitly lists valid competition codes and warns that others will cause errors, providing clear usage constraints.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/leandersen/MCP-Football'

If you have feedback or need assistance with the MCP directory API, please join our Discord server