Skip to main content
Glama
Golrigames

Roller Derby Rules MCP Server

by Golrigames

list_sections

Browse all available sections in the French Roller Derby rulebook to locate specific rules on game parameters, scoring, penalties, and officiating.

Instructions

List all available rules sections

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The asynchronous handler function for the 'list_sections' tool. It returns a JSON-formatted list of all available rules sections using the predefined SECTIONS array.
    async () => { return { content: [ { type: "text", text: JSON.stringify( SECTIONS.map((s) => ({ id: s.id, name: s.name })), null, 2 ), }, ], }; }
  • index.js:107-128 (registration)
    The server.registerTool call that registers the 'list_sections' tool, including its name, schema, and handler function.
    // Tool: list_sections server.registerTool( "list_sections", { description: "List all available rules sections", inputSchema: {}, }, async () => { return { content: [ { type: "text", text: JSON.stringify( SECTIONS.map((s) => ({ id: s.id, name: s.name })), null, 2 ), }, ], }; } );
  • The input schema and description for the 'list_sections' tool. Note that inputSchema is empty as the tool takes no parameters.
    { description: "List all available rules sections", inputSchema: {}, },
  • The SECTIONS constant array defining all available rules sections, which is mapped and returned by the list_sections tool handler.
    const SECTIONS = [ { id: "00-introduction", name: "Introduction", file: "00-introduction.md" }, { id: "01-parametres", name: "Match parameters and safety", file: "01-parametres.md", }, { id: "02-le-jeu", name: "The game", file: "02-le-jeu.md" }, { id: "03-score", name: "Score", file: "03-score.md" }, { id: "04-penalites", name: "Penalties", file: "04-penalites.md" }, { id: "05-arbitrage", name: "Officiating", file: "05-arbitrage.md" }, ];
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/Golrigames/RollerDerbyRulesMcp'

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