Skip to main content
Glama

Proxy Mail QA

Finish a run and get its report

finish_run
Idempotent

Finishes a run and returns its report in Markdown, ready for a pull request comment or a reply. It passes unless an email never came, one came when none should have, a check failed, a note failed it, or failed: true says your test failed. Show the person the report.

Input Schema

NameRequiredDescriptionDefault
failedNo
run_idYesA run from start_run: what this call sees is added to its report.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=false), so the bar is lower. The description adds real behavior beyond them by enumerating the exact pass/fail conditions (missing email, unexpected email, failed check, failing note, failed: true), which tells the agent what outcome to expect. It does not clarify whether a failing run errors out or simply returns a failing report, leaving one behavioral ambiguity.

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?

Three sentences, front-loaded with the action and output format; the middle sentence packs the failure conditions efficiently. 'Show the person the report' is a little colloquial but earns its place as an output-handling instruction.

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

Completeness4/5

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

There is no output schema, so the description carries the return-value burden and does so by specifying Markdown format and intended destination. Pass/fail logic is covered. The one missing piece is the failure mode (does the call raise or return a failing report), which matters for a non-read-only tool.

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?

Schema coverage is 50%: run_id is documented in the schema but 'failed' is not. The description compensates by explaining the failed flag ('failed: true says your test failed'), giving the agent the meaning of the undocumented parameter. The run_id semantics ('what this call sees is added to its report') come from the schema, not the description.

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

Purpose4/5

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

States a specific verb and resource ('Finishes a run') plus the return artifact ('report in Markdown'), which is enough to distinguish it from start_run, add_run_note and the check_* siblings by the 'run' concept. It stops short of explicitly naming which sibling to use instead, so it is clear but not fully differentiated.

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

Usage Guidelines3/5

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

'ready for a pull request comment or a reply' and 'Show the person the report' give downstream usage context, implying this is the closing step of a run. There is no explicit when-to-call/when-not-to-call statement and no named alternative, so usage is only implied.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources