Skip to main content
Glama

update_suite

Modify an existing test suite by updating its code, title, description, preconditions, or parent ID using the QASE MCP Server integration for test management.

Instructions

Update an existing test suite

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
descriptionNo
idYes
parent_idNo
preconditionsNo
titleNo

Implementation Reference

  • MCP tool call handler for 'update_suite': parses arguments with UpdateSuiteSchema and calls updateSuite function with code, id, and suiteData.
    .with({ name: 'update_suite' }, ({ arguments: args }) => { const { code, id, ...suiteData } = UpdateSuiteSchema.parse(args); return updateSuite(code, id, suiteData); })
  • Zod schema for update_suite tool input: 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:235-239 (registration)
    Tool registration in ListToolsRequestSchema handler, specifying name, description, and input schema.
    { name: 'update_suite', description: 'Update an existing test suite', inputSchema: zodToJsonSchema(UpdateSuiteSchema), },
  • Core updateSuite helper: composes client.suites.updateSuite with toResult using Ramda pipe.
    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