Skip to main content
Glama

get_plans

Retrieve all test plans from a Qase project to organize testing strategies and track progress.

Instructions

Get all test plans in a project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
limitNo
offsetNo

Implementation Reference

  • Core handler function for the 'get_plans' tool. Wraps the client API call with pipe and toResult utility.
    export const getPlans = pipe( client.plans.getPlans.bind(client.plans), toResult, );
  • Zod schema for input validation of the 'get_plans' tool parameters: code (required), limit and offset (optional).
    export const GetPlansSchema = z.object({ code: z.string(), limit: z.number().optional(), offset: z.number().optional(), });
  • src/index.ts:200-204 (registration)
    Tool registration in the list of available tools, specifying name, description, and input schema.
    { name: 'get_plans', description: 'Get all test plans in a project', inputSchema: zodToJsonSchema(GetPlansSchema), },
  • MCP tool call dispatcher handler that parses arguments using the schema and delegates to the getPlans function.
    .with({ name: 'get_plans' }, ({ arguments: args }) => { const { code, limit, offset } = GetPlansSchema.parse(args); return getPlans(code, limit, offset); })

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