Skip to main content
Glama
FPL Assistant

FPL Assistant

by mpvii

api_football_injuries

Fetches a structured injury list with player, type and reason from API-Football, optionally filtered by team or player, so an agent can check who is unavailable before setting a lineup or weighing transfers.

Instructions

Structured injury list (player, type, reason) from API-Football.

Needs a free API-Football key (fpl api-key, or FPL_API_FOOTBALL_KEY); without one it returns configured: false. Optionally filter by team or player (case-insensitive substring).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
teamNo
playerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses the API-key prerequisite (via `fpl api-key` or FPL_API_FOOTBALL_KEY) and the failure mode of returning `configured: false` when unconfigured. It also sketches the return shape. Missing are rate limits, pagination, and whether an unconfigured call is fatal or just degraded beyond that flag.

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 short sentences, front-loaded with what the tool returns, then the auth prerequisite, then the optional filters. No padding or redundant restatement of the name.

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 two-optional-parameter read tool with no annotations and no output schema, the description covers purpose, return fields, auth, failure mode, and filter behavior. Only tie-breaking between the two filters and any rate-limit caveat are absent.

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 coverage is 0% and the schema only offers bare titles, so the description must compensate; it does, explaining that both filters are optional and that matching is case-insensitive substring. It does not say whether team/player can be combined or take precedence, a minor residual gap.

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+resource ('Structured injury list ... from API-Football') and even names the returned fields (player, type, reason). It does not distinguish itself from plausible siblings like team_news, so it stops short of a 5.

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 implied: fetch injuries, optionally narrowed by team or player. There is no statement of when to prefer this over a sibling like team_news, nor any when-not guidance, leaving selection to inference.

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