Skip to main content
Glama

get_allure_report

Extract and convert Allure test reports into JSON format for AI analysis, enabling detailed insights into test failures and potential solutions.

Instructions

read allure report and return json data

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
results_dirYes

Implementation Reference

  • The handler function that reads an Allure report from the given results_dir, parses it using AllureSuiteParser, and returns the data as a formatted JSON string. Handles exceptions by returning the error message.
    async def get_allure_report(results_dir: str) -> str: """ read allure report and return json data """ try: parser = AllureSuiteParser(results_dir) return json.dumps(parser.parse(), indent=2, ensure_ascii=False) except Exception as e: return str(e)
  • The @mcp.tool() decorator registers the get_allure_report function as an MCP tool.
    @mcp.tool()

Other Tools

Related Tools

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/crisschan/mcp-allure'

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