Skip to main content
Glama

get_test_report

Read the last test run's report and return a summary: total, passed, failed, skipped, flaky, and duration. Use this lightweight check between operations instead of rerunning tests.

Instructions

讀上一次 run_tests 留下的 report.json,回傳一個輕量摘要:total / passed / failed / skipped / flaky_in_run(auto-retry 救回的數量)/ duration(秒)。比再跑一次 suite 便宜得多——適合在連續操作中間反覆查狀態。未跑過時回 {error: 找不到報告,請先執行 run_tests}。拿到摘要後若 failed > 0,接 get_failure_details 拿錯誤細節。

v1.3.0+: Edge AI runner attaches an optional edge_metrics block to each test entry ({p95_latency_ms, fps, iou_per_frame, labels_covered}). get_optimization_plan reads these to surface 4 Edge-specific flake signals (latency_p95_exceeded_sla, fps_variance_across_runs, iou_jitter_per_tc, coverage_gap_per_label) alongside the standard flake/broken/slow_regression categories. Non-edge runs have no edge_metrics field and see no signal changes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It discloses that it reads a file from a previous run, is non-destructive, and returns a summary. It also explains the conditional edge_metrics block. However, it does not explicitly state idempotency or potential side effects (though none likely).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is detailed and contains important usage guidance. However, it includes version-specific details that could be separated (v1.3.0+ edge AI runner info). It is front-loaded with the core functionality.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description thoroughly explains the return shape (fields total, passed, failed, skipped, flaky_in_run, duration) and the error case. It also covers the edge metrics block for Edge AI runner. The tool has no parameters, so this is sufficient for complete usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are zero parameters, so baseline 4 applies. The description correctly adds no parameter information since none exist.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it reads the previous test report and returns a lightweight summary, specifying exact fields (total, passed, failed, skipped, flaky_in_run, duration). It distinguishes itself from run_tests (cheaper) and get_failure_details (for detailed failure info).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use (between continuous operations, checking status cheaply) and when not (if no previous run, returns error). It also provides alternative actions: if failed > 0, use get_failure_details. Mentions edge AI runner specifics and leads to get_optimization_plan.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other 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/kao273183/mk-qa-master'

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