Skip to main content
Glama

hz_get_run_summary

Retrieve summary content for a specific run in the Horizon content aggregation and analysis pipeline. Use this tool to access processed data summaries by providing a run identifier.

Instructions

读取指定 run 的摘要内容。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idYes
languageNozh

Implementation Reference

  • The tool hz_get_run_summary is registered using the @mcp.tool() decorator and implemented in server.py, calling the service.get_run_summary helper method.
    @mcp.tool()
    def hz_get_run_summary(run_id: str, language: str = "zh") -> dict[str, Any]:
        """读取指定 run 的摘要内容。"""
    
        started = perf_counter()
        try:
            data = service.get_run_summary(run_id=run_id, language=language)
            elapsed_ms = (perf_counter() - started) * 1000
            _record_metrics("hz_get_run_summary", ok=True, duration_ms=elapsed_ms)
            return _ok("hz_get_run_summary", data, duration_ms=elapsed_ms)
        except Exception as exc:
            elapsed_ms = (perf_counter() - started) * 1000
            payload = _err("hz_get_run_summary", exc, duration_ms=elapsed_ms)
            _record_metrics(
                "hz_get_run_summary",
                ok=False,
                duration_ms=elapsed_ms,
                error_code=payload["error"]["code"],
            )

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/henry-insomniac/Horizon-mcp'

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