Skip to main content
Glama

get_my_games

Read-only

Retrieve a paginated list of your tabletop game projects from The Game Crafter, showing name, ID, and current status for each design.

Instructions

List all games for a designer with name, ID, and status. Returns paginated results. Requires a designer_id from get_my_designers. Requires authentication.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
designer_idYesThe designer ID to list games for. Get this from the get_my_designers tool.
page_numberNoPage number for pagination (default: 1).

Implementation Reference

  • The `handleGetMyGames` function implements the tool's execution logic by calling the `client.getGames` method.
    export function handleGetMyGames(client: TgcClient) {
      return async (args: {
        designer_id: string;
        page_number?: number;
      }): Promise<CallToolResult> => {
        const games = await client.getGames(args.designer_id, args.page_number);
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify(games, null, 2),
            },
          ],
        };
      };
    }
  • The `getMyGamesInput` schema defines the `designer_id` (required) and `page_number` (optional) for the tool.
    export const getMyGamesInput = {
      designer_id: safeId.describe(
        "The designer ID to list games for. Get this from the get_my_designers tool.",
      ),
      page_number: z
        .number()
        .int()
        .positive()
        .optional()
        .describe("Page number for pagination (default: 1)."),
    };
  • src/index.ts:93-98 (registration)
    The `get_my_games` tool is registered in `src/index.ts` using `server.registerTool`, linking it to the handler and schema.
    server.registerTool("get_my_games", {
      description:
        "List all games for a designer with name, ID, and status. Returns paginated results. Requires a designer_id from get_my_designers. Requires authentication.",
      inputSchema: schemas.getMyGamesInput,
      annotations: { readOnlyHint: true },
    }, withErrorHandling(handleGetMyGames(client)));
Behavior4/5

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

The annotations already declare readOnlyHint=true, indicating a safe read operation. The description adds valuable behavioral context beyond this: it discloses that results are paginated and that authentication is required. This enhances the agent's understanding of usage constraints, though it could mention rate limits or error handling for a higher score.

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 highly concise and front-loaded: it states the core purpose in the first clause, followed by key behavioral details (pagination, prerequisites, authentication). Every sentence earns its place with no wasted words, making it efficient for an agent to parse.

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?

Given the tool's moderate complexity (list operation with pagination and authentication), no output schema, and rich annotations (readOnlyHint), the description is mostly complete. It covers purpose, behavior, and prerequisites, but could improve by detailing the return format (e.g., structure of name, ID, status) or error cases, which are not addressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, meaning the input schema fully documents both parameters. The description adds minimal semantic value: it reiterates that designer_id comes from 'get_my_designers' (already in the schema) and mentions pagination (implied by the page_number parameter). This meets the baseline for high schema coverage but does not significantly enhance understanding.

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?

The description clearly states the tool's purpose: 'List all games for a designer with name, ID, and status.' It specifies the verb ('List'), resource ('games'), and scope ('for a designer'), but does not explicitly distinguish it from sibling tools like 'get_game_catalog' or 'get_game_details', which prevents a perfect score.

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?

The description provides clear context for when to use this tool: 'Requires a designer_id from get_my_designers.' This indicates a prerequisite and guides the agent to use 'get_my_designers' first. However, it does not specify when not to use it or mention alternatives like 'get_game_catalog', so it falls short of a perfect score.

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/alex-gon/thegamecrafter-mcp-server'

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