Skip to main content
Glama

getFixtures

Fetch all Premier League fixtures for Fantasy Premier League planning and analysis.

Instructions

Fetch all FPL fixtures

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core handler function that fetches all FPL fixtures from the official API endpoint.
    export async function getFixtures(): Promise<any> { const res = await fetch('https://fantasy.premierleague.com/api/fixtures/'); return res.json(); }
  • src/server.ts:250-264 (registration)
    MCP tool registration for 'getFixtures', including empty input schema, title, description, and wrapper handler that calls the core getFixtures function and formats response as text content.
    server.registerTool("getFixtures", { title: "Get Fixtures", description: "Fetch all FPL fixtures", inputSchema: {} }, async () => { const data = await getFixtures(); return { content: [ { type: "text", text: JSON.stringify(data) } ] }; });
  • Input schema for the getFixtures tool, which takes no parameters.
    inputSchema: {}

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/owen-lacey/fpl-mcp'

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