Skip to main content
Glama

create_suite

Generate a new test suite in QASE by specifying code, title, and optional details like description or preconditions through the MCP server integration.

Instructions

Create a new test suite

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
descriptionNo
parent_idNo
preconditionsNo
titleYes

Implementation Reference

  • The MCP tool handler for 'create_suite' that parses input arguments using CreateSuiteSchema and delegates to 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.
    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 ListToolsRequest handler, including name, description, and input schema.
    { name: 'create_suite', description: 'Create a new test suite', inputSchema: zodToJsonSchema(CreateSuiteSchema), },
  • Helper function createSuite that pipes the client.suites.createSuite method with toResult 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