Skip to main content
Glama

get_shared_steps

Retrieve all shared steps from a QASE test management project to reuse common test procedures across multiple test cases.

Instructions

Get all shared steps in a project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
searchNo
limitNo
offsetNo

Implementation Reference

  • The core handler function for the 'get_shared_steps' tool. It wraps the Qase client call to retrieve shared steps using Ramda's pipe and a result transformer.
    export const getSharedSteps = pipe( client.sharedSteps.getSharedSteps.bind(client.sharedSteps), toResult, );
  • Zod schema defining the input parameters for the 'get_shared_steps' tool: project code (required), optional search, limit, and offset.
    export const GetSharedStepsSchema = z.object({ code: z.string(), search: z.string().optional(), limit: z.number().optional(), offset: z.number().optional(), });
  • src/index.ts:240-244 (registration)
    Tool registration in the ListToolsRequestSchema handler, specifying name, description, and input schema for 'get_shared_steps'.
    { name: 'get_shared_steps', description: 'Get all shared steps in a project', inputSchema: zodToJsonSchema(GetSharedStepsSchema), },
  • MCP server request handler for CallToolRequestSchema specific to 'get_shared_steps': parses arguments using the schema and delegates to the getSharedSteps function.
    .with({ name: 'get_shared_steps' }, ({ arguments: args }) => { const { code, search, limit, offset } = GetSharedStepsSchema.parse(args); return getSharedSteps(code, search, 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