Skip to main content
Glama

create_plan

Generate a new test plan by defining a code, title, description, and associated test cases for efficient test management within QASE MCP Server.

Instructions

Create a new test plan

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
casesYes
codeYes
descriptionNo
titleYes

Implementation Reference

  • Handler for the create_plan tool: parses input arguments with CreatePlanSchema and calls the createPlan helper function.
    .with({ name: 'create_plan' }, ({ arguments: args }) => { const { code, ...planData } = CreatePlanSchema.parse(args); return createPlan(code, planData); })
  • Zod schema defining the input structure for the create_plan tool.
    export const CreatePlanSchema = z.object({ code: z.string(), title: z.string(), description: z.string().optional(), cases: z.array(z.number()), });
  • src/index.ts:210-214 (registration)
    Registration of the create_plan tool in the ListToolsRequestHandler response.
    { name: 'create_plan', description: 'Create a new test plan', inputSchema: zodToJsonSchema(CreatePlanSchema), },
  • createPlan helper: pipes the client.plans.createPlan call through toResult for result handling.
    export const createPlan = pipe( client.plans.createPlan.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