Skip to main content
Glama

get_suites

Retrieve all test suites from a Qase project to organize and manage testing workflows efficiently.

Instructions

Get all test suites in a project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
searchNo
limitNo
offsetNo

Implementation Reference

  • Handler for the 'get_suites' tool call: parses arguments using GetSuitesSchema and delegates to the getSuites function.
    .with({ name: 'get_suites' }, ({ arguments: args }) => {
      const { code, search, limit, offset } = GetSuitesSchema.parse(args);
      return getSuites(code, search, limit, offset);
    })
  • Zod schema defining the input parameters for the get_suites tool: code (required), search, limit, offset (optional).
    export const GetSuitesSchema = z.object({
      code: z.string(),
      search: z.string().optional(),
      limit: z.number().optional(),
      offset: z.number().optional(),
    });
  • src/index.ts:220-224 (registration)
    Registration of the 'get_suites' tool in the ListToolsRequestSchema handler, including name, description, and input schema.
    {
      name: 'get_suites',
      description: 'Get all test suites in a project',
      inputSchema: zodToJsonSchema(GetSuitesSchema),
    },
  • Core getSuites function: pipes the client.suites.getSuites method to toResult utility for handling the API call and response.
    export const getSuites = pipe(
      client.suites.getSuites.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