Skip to main content
Glama

get_plan

Retrieve a specific test plan from the QASE test management platform using its unique code and ID for project organization and execution.

Instructions

Get a specific test plan

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
idYes

Implementation Reference

  • Handler for the 'get_plan' tool: parses arguments using GetPlanSchema and calls the getPlan helper function.
    .with({ name: 'get_plan' }, ({ arguments: args }) => {
      const { code, id } = GetPlanSchema.parse(args);
      return getPlan(code, id);
    })
  • Zod input schema for the 'get_plan' tool, defining required 'code' (string) and 'id' (number) parameters.
    export const GetPlanSchema = z.object({
      code: z.string(),
      id: z.number(),
    });
  • src/index.ts:206-209 (registration)
    Tool registration in ListToolsRequestSchema handler, specifying name, description, and input schema for 'get_plan'.
      name: 'get_plan',
      description: 'Get a specific test plan',
      inputSchema: zodToJsonSchema(GetPlanSchema),
    },
  • Helper function 'getPlan' that pipes the client.plans.getPlan method with error handling via 'toResult'.
    export const getPlan = pipe(client.plans.getPlan.bind(client.plans), toResult);

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/rikuson/mcp-qase'

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