Skip to main content
Glama

get_results

Retrieve test run results for a project in QASE, filtering by status, date range, or pagination to streamline test management and analysis.

Instructions

Get all test run results for a project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
fromNo
limitNo
offsetNo
statusNo
toNo

Implementation Reference

  • MCP tool handler for 'get_results': parses input schema, constructs filters query string, and calls the getResults helper function with project code, limit, offset, and filters.
    .with({ name: 'get_results' }, ({ arguments: args }) => { const parsedArgs = GetResultsSchema.parse(args); const filters = parsedArgs.status || parsedArgs.from || parsedArgs.to ? `status=${parsedArgs.status || ''}&from=${parsedArgs.from || ''}&to=${parsedArgs.to || ''}` : undefined; return getResults([ parsedArgs.code, parsedArgs.limit, parsedArgs.offset, filters, ]); })
  • src/index.ts:145-149 (registration)
    Registration of the 'get_results' tool in the ListToolsRequestSchema handler, including name, description, and input schema reference.
    { name: 'get_results', description: 'Get all test run results for a project', inputSchema: zodToJsonSchema(GetResultsSchema), },
  • Zod input schema for the get_results tool, defining required project code and optional pagination, status, date range filters.
    export const GetResultsSchema = z.object({ code: z.string(), limit: z.string().optional(), offset: z.string().optional(), status: z.nativeEnum(TestStepResultCreateStatusEnum).optional(), from: z.string().optional(), to: z.string().optional(), });
  • Helper function implementing the core logic: applies client.results.getResults with arguments and transforms output using toResult utility.
    export const getResults = pipe( apply(client.results.getResults.bind(client.results)), 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