Skip to main content
Glama

get_run

Retrieve a specific test run from QASE test management platform using project code and run ID to access test execution details.

Instructions

Get a specific test run

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
idYes
includeNo

Implementation Reference

  • The handler function for the 'get_run' tool in the CallToolRequestSchema. It parses the input arguments using GetRunSchema and delegates to 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: project code, run ID, and optional include flag.
    export const GetRunSchema = z.object({ code: z.string(), id: z.number(), include: z.enum(['cases']).optional(), });
  • src/index.ts:196-199 (registration)
    Registration of the 'get_run' tool in the ListToolsRequestSchema response, specifying name, description, and input schema.
    name: 'get_run', description: 'Get a specific test run', inputSchema: zodToJsonSchema(GetRunSchema), },
  • Helper function that wraps the client.runs.getRun API call with pipe and toResult utility for handling the actual data fetching.
    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