Skip to main content
Glama
TonyBro
by TonyBro

get_game_templates

Retrieve available game templates to start React Three Fiber projects, including platformer, puzzle, endless runner, physics-based, and arcade types.

Instructions

Get available game templates

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The MCP server handler method in `src/index.js` that calls the service to retrieve the templates.
    async getGameTemplates() {
      const templates = this.gameTemplateService.getAvailableTemplates();
      return {
        content: [
          {
            type: 'text',
            text: JSON.stringify(templates, null, 2),
          },
        ],
      };
    }
  • The implementation method `getAvailableTemplates` in `GameTemplateService` which returns the list of hardcoded game templates.
    getAvailableTemplates() {
      return {
        platformer: {
          name: 'Platformer Game',
          description: 'Side-scrolling platform game with physics',
          features: ['Jump mechanics', 'Platform collision', 'Collectibles', 'Enemies'],
          difficulty: 'intermediate',
        },
        puzzle: {
          name: 'Puzzle Game',
          description: 'Grid-based puzzle game with matching mechanics',
          features: ['Grid system', 'Match detection', 'Score system', 'Combos'],
          difficulty: 'beginner',
        },
        'endless-runner': {
          name: 'Endless Runner',
          description: 'Infinite running game with obstacles',
          features: ['Auto-run', 'Obstacle generation', 'Score tracking', 'Power-ups'],
          difficulty: 'beginner',
        },
        'physics-based': {
          name: 'Physics Puzzle',
          description: 'Physics-based puzzle or sandbox game',
          features: ['Realistic physics', 'Object interaction', 'Puzzle elements'],
          difficulty: 'advanced',
        },
        arcade: {
          name: 'Arcade Game',
          description: 'Classic arcade-style game',
          features: ['Fast-paced action', 'Score attack', 'Power-ups', 'Combos'],
          difficulty: 'intermediate',
        },
      };
    }
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states 'Get available game templates', implying a read-only operation, but does not specify aspects like authentication needs, rate limits, pagination, or what 'available' entails (e.g., public vs. private templates). For a tool with zero annotation coverage, this leaves significant behavioral traits unexplained.

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?

The description is a single, efficient sentence: 'Get available game templates'. It is front-loaded with the core action and resource, with no wasted words or unnecessary elaboration. This makes it highly concise and well-structured for its purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (0 parameters, no output schema, no annotations), the description is minimally complete. It states what the tool does but lacks details on behavior, usage context, or output format. Without annotations or an output schema, the agent must rely on the description alone, which is adequate for a basic read operation but leaves gaps in understanding the full context.

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?

The input schema has 0 parameters with 100% coverage, meaning no parameters are documented in the schema. The description does not add parameter details, which is appropriate since there are none to describe. It implies no filtering or input is needed, aligning with the schema. Baseline 4 is applied as per rules for 0 parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Get available game templates' clearly states the action (get) and resource (game templates), making the purpose understandable. However, it lacks specificity about what 'available' means (e.g., all templates, user-accessible ones, or filtered by some criteria) and does not differentiate from sibling tools like 'create_game_project' or 'update_game_knowledge', which are distinct operations. This makes it adequate but vague.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It does not mention prerequisites, context (e.g., before creating a game project), or exclusions, leaving the agent to infer usage based on the tool name alone. With sibling tools present, this lack of explicit comparison or situational advice is a clear gap.

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/TonyBro/MCP_Game'

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