Skip to main content
Glama

create_result

Use this tool to generate test run results by providing essential details like code, ID, and result data for seamless integration with the QASE test management platform.

Instructions

Create test run result

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
idYes
resultYes

Implementation Reference

  • MCP tool handler for 'create_result': parses input arguments using CreateResultSchema and delegates to the createResult helper function.
    .with({ name: 'create_result' }, ({ arguments: args }) => { const { code, id, result } = CreateResultSchema.parse(args); return createResult(code, id, result); })
  • Zod schema defining the input for the create_result tool: project code, test case ID, and result data.
    export const CreateResultSchema = z.object({ code: z.string(), id: z.number(), result: z.record(z.any()).transform((v) => v as ResultCreate), });
  • src/index.ts:156-158 (registration)
    Registration of the 'create_result' tool in the MCP server's tool list, including name, description, and input schema reference.
    name: 'create_result', description: 'Create test run result', inputSchema: zodToJsonSchema(CreateResultSchema),
  • Helper function createResult that pipes the client.results.createResult call through toResult transformation for API interaction.
    export const createResult = pipe( client.results.createResult.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