Skip to main content
Glama

get_suites

Retrieve all test suites in a project using code, search, limit, and offset parameters for efficient test management with QASE MCP Server integration.

Instructions

Get all test suites in a project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
limitNo
offsetNo
searchNo

Implementation Reference

  • The handler function for the 'get_suites' tool. It parses the input arguments using GetSuitesSchema and delegates to the getSuites helper function with the extracted parameters.
    .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 string), 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 reference.
    { name: 'get_suites', description: 'Get all test suites in a project', inputSchema: zodToJsonSchema(GetSuitesSchema), },
  • Helper function that composes the client.suites.getSuites method with toResult using Ramda's pipe for the core logic of fetching suites.
    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