Skip to main content
Glama

get_case

Retrieve a specific test case by providing the code and ID, enabling precise access to test details within the QASE test management platform.

Instructions

Get a specific test case

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
idYes

Implementation Reference

  • MCP tool handler for 'get_case': parses input args with GetCaseSchema and delegates to getCase(code, id).
    .with({ name: 'get_case' }, ({ arguments: args }) => { const { code, id } = GetCaseSchema.parse(args); return getCase(code, id); })
  • Zod input schema for get_case tool: requires project code (string) and case id (number).
    export const GetCaseSchema = z.object({ code: z.string(), id: z.number(), });
  • src/index.ts:175-179 (registration)
    Registration of 'get_case' tool in the list of tools provided to MCP clients, including name, description, and JSON schema.
    { name: 'get_case', description: 'Get a specific test case', inputSchema: zodToJsonSchema(GetCaseSchema), },
  • Core getCase helper: wraps client.cases.getCase with pipe and toResult for result handling.
    export const getCase = pipe(client.cases.getCase.bind(client.cases), 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