Skip to main content
Glama

update_plan

Modify an existing test plan by updating its code, title, description, or associated test cases using QASE MCP Server integration.

Instructions

Update an existing test plan

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
casesNo
codeYes
descriptionNo
idYes
titleNo

Implementation Reference

  • MCP tool handler for 'update_plan' that parses input arguments using UpdatePlanSchema and calls the core updatePlan function.
    .with({ name: 'update_plan' }, ({ arguments: args }) => { const { code, id, ...planData } = UpdatePlanSchema.parse(args); return updatePlan(code, id, planData); })
  • Zod input schema for the update_plan tool defining required code and id, with optional title, description, and cases.
    export const UpdatePlanSchema = z.object({ code: z.string(), id: z.number(), title: z.string().optional(), description: z.string().optional(), cases: z.array(z.number()).optional(), });
  • src/index.ts:216-219 (registration)
    Registration of the 'update_plan' tool in the MCP server's ListTools handler, specifying name, description, and input schema.
    name: 'update_plan', description: 'Update an existing test plan', inputSchema: zodToJsonSchema(UpdatePlanSchema), },
  • Core helper function updatePlan that composes the client API call with error handling via pipe and toResult.
    export const updatePlan = pipe( client.plans.updatePlan.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