Skip to main content
Glama

get_run

Retrieve a specific test run by providing a project code and run ID, with optional inclusion of test cases, for streamlined test management on the QASE MCP Server.

Instructions

Get a specific test run

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
idYes
includeNo

Implementation Reference

  • Handler for the 'get_run' tool call: parses input arguments using GetRunSchema and invokes the getRun helper function.
    .with({ name: 'get_run' }, ({ arguments: args }) => { const { code, id, include } = GetRunSchema.parse(args); return getRun(code, id, include); })
  • Zod schema defining the input parameters for the get_run tool: code (string), id (number), include (optional enum ['cases']).
    export const GetRunSchema = z.object({ code: z.string(), id: z.number(), include: z.enum(['cases']).optional(), });
  • src/index.ts:196-199 (registration)
    Registers the 'get_run' tool in the ListToolsRequestSchema response, providing name, description, and JSON schema derived from GetRunSchema.
    name: 'get_run', description: 'Get a specific test run', inputSchema: zodToJsonSchema(GetRunSchema), },
  • Helper function that pipes the Qase client runs.getRun method (bound) through toResult for processing the response.
    export const getRun = pipe(client.runs.getRun.bind(client.runs), 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