Skip to main content
Glama

get_shared_step

Retrieve a specific shared step from the QASE MCP Server by providing the required code and hash, enabling efficient access to shared test case components.

Instructions

Get a specific shared step

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
hashYes

Implementation Reference

  • src/index.ts:245-249 (registration)
    Registration of the 'get_shared_step' tool in the ListToolsRequestSchema handler, including name, description, and input schema reference.
    { name: 'get_shared_step', description: 'Get a specific shared step', inputSchema: zodToJsonSchema(GetSharedStepSchema), },
  • MCP tool dispatch handler that parses input arguments using the schema and delegates to the getSharedStep function.
    .with({ name: 'get_shared_step' }, ({ arguments: args }) => { const { code, hash } = GetSharedStepSchema.parse(args); return getSharedStep(code, hash); })
  • Zod schema defining the input parameters for the get_shared_step tool: project code and step hash.
    export const GetSharedStepSchema = z.object({ code: z.string(), hash: z.string(), });
  • Core handler function for get_shared_step tool: binds the Qase client sharedSteps.getSharedStep method and applies toResult transformation.
    export const getSharedStep = pipe( client.sharedSteps.getSharedStep.bind(client.sharedSteps), 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