Skip to main content
Glama

Get Lane Registry

get_lane_registry

Retrieve lane definitions and metadata for deck categories in Codecks project management. Use this tool to access local lane configurations without authentication.

Instructions

Get the local lane (deck category) definitions and metadata. No auth needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
required_onlyNoIf true, return only required lanes

Implementation Reference

  • The async handler function that executes the get_lane_registry tool. Filters lanes based on the required_only parameter and returns a structured response with lane definitions, count, required_lanes, and optional_lanes.
    async (args) => {
      let lanes = LANES;
      if (args.required_only) {
        lanes = lanes.filter((l) => l.required);
      }
    
      const laneDicts = lanes.map((l) => ({
        name: l.name,
        display_name: l.displayName,
        required: l.required,
        keywords: l.keywords,
        default_checklist: l.defaultChecklist,
        tags: l.tags,
        cli_help: l.cliHelp,
      }));
    
      return {
        content: [
          {
            type: "text",
            text: JSON.stringify(
              finalizeToolResult({
                lanes: laneDicts,
                count: laneDicts.length,
                required_lanes: LANES.filter((l) => l.required).map((l) => l.name),
                optional_lanes: LANES.filter((l) => !l.required).map((l) => l.name),
              }),
            ),
          },
        ],
      };
    },
  • Registration of the get_lane_registry tool with the MCP server, including title, description, and input schema.
    server.registerTool(
      "get_lane_registry",
      {
        title: "Get Lane Registry",
        description: "Get the local lane (deck category) definitions and metadata. No auth needed.",
        inputSchema: z.object({
          required_only: z.boolean().default(false).describe("If true, return only required lanes"),
        }),
      },
      async (args) => {
        let lanes = LANES;
        if (args.required_only) {
          lanes = lanes.filter((l) => l.required);
        }
    
        const laneDicts = lanes.map((l) => ({
          name: l.name,
          display_name: l.displayName,
          required: l.required,
          keywords: l.keywords,
          default_checklist: l.defaultChecklist,
          tags: l.tags,
          cli_help: l.cliHelp,
        }));
    
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify(
                finalizeToolResult({
                  lanes: laneDicts,
                  count: laneDicts.length,
                  required_lanes: LANES.filter((l) => l.required).map((l) => l.name),
                  optional_lanes: LANES.filter((l) => !l.required).map((l) => l.name),
                }),
              ),
            },
          ],
        };
      },
    );
  • Input schema definition using Zod for the get_lane_registry tool, defining the optional required_only boolean parameter.
    inputSchema: z.object({
      required_only: z.boolean().default(false).describe("If true, return only required lanes"),
    }),
  • Type definition interface for LaneDefinition that defines the structure of lane objects used by get_lane_registry.
    interface LaneDefinition {
      name: string;
      displayName: string;
      required: boolean;
      keywords: string[];
      defaultChecklist: string[];
      tags: string[];
      cliHelp: string;
    }
  • LANES constant containing the lane registry data (code, design, art, audio) with their definitions that get_lane_registry returns.
    const LANES: LaneDefinition[] = [
      {
        name: "code",
        displayName: "Code",
        required: true,
        keywords: ["programming", "implementation", "backend", "frontend"],
        defaultChecklist: ["- [] Implementation", "- [] Unit tests", "- [] Code review"],
        tags: ["code"],
        cliHelp: "Destination deck for Code sub-cards",
      },
      {
        name: "design",
        displayName: "Design",
        required: true,
        keywords: ["ui", "ux", "wireframe", "mockup", "layout"],
        defaultChecklist: ["- [] Wireframes", "- [] Visual design", "- [] Design review"],
        tags: ["design"],
        cliHelp: "Destination deck for Design sub-cards",
      },
      {
        name: "art",
        displayName: "Art",
        required: false,
        keywords: ["sprite", "texture", "model", "animation", "illustration"],
        defaultChecklist: ["- [] Concept art", "- [] Asset creation", "- [] Art review"],
        tags: ["art"],
        cliHelp: "Destination deck for Art sub-cards (optional)",
      },
      {
        name: "audio",
        displayName: "Audio",
        required: false,
        keywords: ["sound", "music", "sfx", "voice"],
        defaultChecklist: ["- [] Sound design", "- [] Implementation", "- [] Audio review"],
        tags: ["audio"],
        cliHelp: "Destination deck for Audio sub-cards (optional)",
      },
    ];
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It adds value by stating 'No auth needed', which clarifies authentication requirements, but it doesn't cover other behavioral traits like rate limits, response format, or potential side effects. The description is minimal but doesn't contradict any annotations.

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 very concise with two sentences that directly address the tool's purpose and an important behavioral trait ('No auth needed'). It's front-loaded with the core functionality and wastes no words, making it efficient and easy to parse.

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 low complexity (1 optional parameter, no output schema, no annotations), the description is minimally adequate. It covers the purpose and an authentication detail, but for a tool that likely returns metadata, it could benefit from mentioning the return format or scope. Without an output schema, the description doesn't fully compensate for the lack of structured output information.

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 1 parameter with 100% description coverage, so the schema already documents the parameter fully. The description doesn't add any parameter-specific information beyond what's in the schema, but with 0 required parameters and high schema coverage, a baseline of 3 is appropriate. The score is elevated to 4 because the tool has only one optional parameter, making the description's lack of parameter details less critical.

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 verb 'Get' and the resource 'local lane (deck category) definitions and metadata', making the purpose specific and understandable. However, it doesn't explicitly differentiate from sibling tools like 'get_tag_registry' or 'list_decks', which might have overlapping or related functions.

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 includes 'No auth needed', which provides some context on prerequisites, but it lacks explicit guidance on when to use this tool versus alternatives. There's no mention of when-not-to-use scenarios or comparisons with sibling tools like 'list_decks' or 'get_tag_registry', leaving usage unclear.

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/rangogamedev/codecks-mcp'

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