Skip to main content
Glama
Atakan-Emre

QA-MCP: Test Standardization & Orchestration Server

by Atakan-Emre

xray.get_mapping_template

Retrieves Xray mapping templates to standardize test case formatting for quality assurance workflows.

Instructions

Xray alan eşleme şablonunu döner

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the 'xray.get_mapping_template' tool. It returns a predefined dictionary containing standard mappings, custom field suggestions, Xray-specific fields, and notes for configuring Xray field mappings.
    def get_xray_field_mapping_template() -> dict: """ Get a template for Xray field mappings. Returns: Dictionary with QA-MCP fields and suggested Xray mappings """ return { "standard_mappings": { "title": "summary", "description": "description", "priority": "priority", "module": "components", "tags": "labels", "labels": "labels", "steps": "Test Steps (Xray built-in)", "preconditions": "Precondition (Xray built-in)", }, "custom_field_suggestions": { "risk_level": "customfield_XXXXX (Text/Select)", "scenario_type": "customfield_XXXXX (Select)", "feature": "customfield_XXXXX (Text)", "estimated_duration_minutes": "customfield_XXXXX (Number)", "requirements": "customfield_XXXXX (Text) veya Issue Links", }, "xray_specific": { "test_type": "testtype (Manual/Generic/Cucumber)", "test_repository_folder": "Xray Test Repository klasörü", "test_sets": "Test Set issue links", "test_plans": "Test Plan issue links", }, "notes": [ "Custom field ID'leri Jira admin'den alınmalı", "Select tipi alanlar için önce option'lar oluşturulmalı", "Issue links için link type tanımlanmalı", ], }
  • The tool registration in the list_tools() handler, defining the tool name, description, and input schema (no required parameters).
    Tool( name="xray.get_mapping_template", description="Xray alan eşleme şablonunu döner", inputSchema={ "type": "object", "properties": {}, }, ),
  • The input schema for the tool, which is an empty object (no input parameters expected).
    inputSchema={ "type": "object", "properties": {}, }, ),
  • The dispatch logic in the generic call_tool() function that invokes the specific handler for this tool.
    elif name == "xray.get_mapping_template": result = get_xray_field_mapping_template() audit_log(name, arguments, "Returned mapping template")

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/Atakan-Emre/McpTestGenerator'

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