Skip to main content
Glama

update_plan

Modify an existing test plan in QASE by updating its code, title, description, or associated test cases to maintain accurate testing documentation.

Instructions

Update an existing test plan

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
idYes
titleNo
descriptionNo
casesNo

Implementation Reference

  • MCP tool call handler for 'update_plan': parses input arguments using UpdatePlanSchema and delegates to the updatePlan helper function.
    .with({ name: 'update_plan' }, ({ arguments: args }) => { const { code, id, ...planData } = UpdatePlanSchema.parse(args); return updatePlan(code, id, planData); })
  • Zod schema defining the input for the update_plan tool: project code, plan ID, and optional title, description, 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:215-219 (registration)
    Tool registration in the list of available tools, specifying name, description, and input schema.
    { name: 'update_plan', description: 'Update an existing test plan', inputSchema: zodToJsonSchema(UpdatePlanSchema), },
  • Helper function wrapping the client API call to update a plan, piping through toResult for error handling.
    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