Skip to main content
Glama

update_suite

Modify an existing test suite in QASE test management by updating its code, title, description, preconditions, or parent relationship.

Instructions

Update an existing test suite

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
idYes
titleNo
descriptionNo
preconditionsNo
parent_idNo

Implementation Reference

  • Handler for the 'update_suite' tool: parses input arguments using UpdateSuiteSchema and delegates to the updateSuite function.
    .with({ name: 'update_suite' }, ({ arguments: args }) => { const { code, id, ...suiteData } = UpdateSuiteSchema.parse(args); return updateSuite(code, id, suiteData); })
  • Zod schema defining the input structure for updating a suite: requires code and id, optional title, description, preconditions, parent_id.
    export const UpdateSuiteSchema = z.object({ code: z.string(), id: z.number(), title: z.string().optional(), description: z.string().optional(), preconditions: z.string().optional(), parent_id: z.number().optional(), });
  • src/index.ts:236-239 (registration)
    Tool registration in the MCP server's tool list, specifying name, description, and input schema.
    name: 'update_suite', description: 'Update an existing test suite', inputSchema: zodToJsonSchema(UpdateSuiteSchema), },
  • Helper function that pipes the client.suites.updateSuite call through toResult for result handling.
    export const updateSuite = pipe( client.suites.updateSuite.bind(client.suites), 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