Skip to main content
Glama

get_reference_data

Retrieve all reference data including statuses and priorities in one call for Zephyr Scale Cloud test management.

Instructions

Get all reference data (statuses and priorities) in a single call

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'get_reference_data' tool. It fetches statuses and priorities concurrently using ZephyrClient and returns a formatted JSON response with the data and usage notes. Handles errors by returning an error message.
    async function getReferenceData() { try { const [statusesResponse, prioritiesResponse] = await Promise.all([ client.getStatuses(), client.getPriorities() ]); return { content: [ { type: 'text', text: JSON.stringify({ statuses: statusesResponse.values || statusesResponse, priorities: prioritiesResponse.values || prioritiesResponse, summary: { totalStatuses: (statusesResponse.values || statusesResponse).length, totalPriorities: (prioritiesResponse.values || prioritiesResponse).length }, usage: 'Use these values for statusName and priorityName fields when creating/updating test cases' }, null, 2) } ] }; } catch (error) { return { content: [ { type: 'text', text: formatError(error, 'fetching reference data') } ], isError: true }; } }
  • Input schema definition for the 'get_reference_data' tool, specifying an empty object (no required input parameters).
    inputSchema: { type: 'object', properties: {} },
  • Registration of the 'get_reference_data' tool within the referenceDataTools array, linking the name, description, schema, and handler function.
    { name: 'get_reference_data', description: 'Get all reference data (statuses and priorities) in a single call', inputSchema: { type: 'object', properties: {} }, handler: getReferenceData }

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/donyfs/mcp-zephyr'

If you have feedback or need assistance with the MCP directory API, please join our Discord server