Skip to main content
Glama

get_plan

Retrieve a specific test plan by providing a unique code and ID, enabling efficient test management within the QASE test management platform.

Instructions

Get a specific test plan

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
idYes

Implementation Reference

  • MCP tool handler for 'get_plan' that parses the input arguments using GetPlanSchema and delegates to the getPlan helper function with project code and plan ID.
    .with({ name: 'get_plan' }, ({ arguments: args }) => { const { code, id } = GetPlanSchema.parse(args); return getPlan(code, id); })
  • Zod schema for validating input to the get_plan tool: requires project 'code' (string) and 'id' (number).
    export const GetPlanSchema = z.object({ code: z.string(), id: z.number(), });
  • src/index.ts:206-209 (registration)
    Tool registration in the MCP server's ListToolsRequestHandler, defining the 'get_plan' tool name, description, and JSON schema derived from GetPlanSchema.
    name: 'get_plan', description: 'Get a specific test plan', inputSchema: zodToJsonSchema(GetPlanSchema), },
  • Core helper function for fetching a plan: binds the client.plans.getPlan method and applies toResult transformation using Ramda pipe.
    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