Skip to main content
Glama

update_result

Use the tool to modify an existing test run result in the QASE MCP Server. Input code, ID, hash, and result data to update test run outcomes efficiently.

Instructions

Update an existing test run result

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
hashYes
idYes
resultYes

Implementation Reference

  • The MCP tool handler for 'update_result' which parses input arguments using UpdateResultSchema and delegates to the updateResult function.
    .with({ name: 'update_result' }, ({ arguments: args }) => { const { code, id, hash, result } = UpdateResultSchema.parse(args); return updateResult(code, id, hash, result); })
  • Zod schema for validating input to the update_result tool: code, id, hash, result.
    export const UpdateResultSchema = z.object({ code: z.string(), id: z.number(), hash: z.string(), result: z.record(z.any()).transform((v) => v as ResultUpdate), });
  • src/index.ts:166-169 (registration)
    Registration of the 'update_result' tool in the list of available tools, including name, description, and input schema reference.
    name: 'update_result', description: 'Update an existing test run result', inputSchema: zodToJsonSchema(UpdateResultSchema), },
  • Core updateResult function that pipes the client.results.updateResult call through toResult helper.
    export const updateResult = pipe( client.results.updateResult.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