Skip to main content
Glama

create_suite

Create a new test suite in QASE test management platform to organize test cases by defining code, title, description, and parent relationships.

Instructions

Create a new test suite

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
titleYes
descriptionNo
preconditionsNo
parent_idNo

Implementation Reference

  • The MCP tool handler for 'create_suite' that parses the input arguments using CreateSuiteSchema and calls the createSuite helper function.
    .with({ name: 'create_suite' }, ({ arguments: args }) => {
      const { code, ...suiteData } = CreateSuiteSchema.parse(args);
      return createSuite(code, suiteData);
    })
  • Zod schema defining the input parameters for the create_suite tool: project code, title, optional description, preconditions, and parent_id.
    export const CreateSuiteSchema = z.object({
      code: z.string(),
      title: z.string(),
      description: z.string().optional(),
      preconditions: z.string().optional(),
      parent_id: z.number().optional(),
    });
  • src/index.ts:230-234 (registration)
    Registration of the 'create_suite' tool in the server's list of tools, including name, description, and input schema.
    {
      name: 'create_suite',
      description: 'Create a new test suite',
      inputSchema: zodToJsonSchema(CreateSuiteSchema),
    },
  • Helper function that wraps the client.suites.createSuite method with pipe and toResult for handling the API call and result transformation.
    export const createSuite = pipe(
      client.suites.createSuite.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