Skip to main content
Glama

get_result

Retrieve test run results using a unique code and hash with this tool integrated into QASE MCP Server for efficient test management and analysis.

Instructions

Get test run result by code and hash

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
hashYes

Implementation Reference

  • Handler for the 'get_result' tool: parses input arguments using GetResultSchema and invokes the getResult helper function with code and hash.
    .with({ name: 'get_result' }, ({ arguments: args }) => { const { code, hash } = GetResultSchema.parse(args); return getResult(code, hash); })
  • Zod input schema for 'get_result' tool, defining required 'code' and 'hash' string fields.
    export const GetResultSchema = z.object({ code: z.string(), hash: z.string(), });
  • src/index.ts:150-154 (registration)
    Tool registration in ListToolsRequestSchema handler, specifying name, description, and input schema for 'get_result'.
    { name: 'get_result', description: 'Get test run result by code and hash', inputSchema: zodToJsonSchema(GetResultSchema), },
  • Helper function 'getResult' that composes client.results.getResult with the toResult transformer using Ramda pipe.
    export const getResult = pipe( client.results.getResult.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