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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "run_id": "<run_id>"
    },
    "name": "finish_run"
  }
}

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. Changed1 schema field changed
    • addedInput schema / properties / run_id / maxLength
      Added value: +36
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, idempotentHint=true and openWorldHint=false, so the safety profile is carried structurally. The description adds real behavioral context beyond that: it discloses the return format (Markdown suitable for PR comments or replies) and precisely enumerates the conditions that produce a failing result. It does not, however, address what happens on a repeat call even though idempotency is claimed.

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?

Two sentences, front-loaded with the verb and the deliverable, then the interpretation rules. The failure list is long and slightly run-on ('one came when none should have, a check failed, a note failed it'), but each clause carries distinct information an agent needs to report accurately.

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?

No output schema exists, so the description must characterize the return value — it does so as a Markdown report, and it explains pass/fail semantics, which is the core interpretive burden here. Remaining gaps (repeat-call behavior, ordering relative to sibling note/expectation tools) are modest for a two-parameter tool whose annotations already cover safety.

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 description coverage is only 50% — run_id is documented in the schema but the 'failed' boolean is bare there. The description compensates meaningfully by explaining 'failed: true says your test failed', giving the flag semantic content the schema lacks. run_id's provenance ('a run from start_run') is left entirely to the schema.

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 concrete return artifact ('returns its report in Markdown, ready for a pull request comment or a reply'). The terminal-step nature of the call is legible against the sibling 'start_run'/'add_run_note' names, though no sibling is named explicitly as an alternative.

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?

The definition implies when to use it (as the closing step of a run, after which you show the report to the user) but never states this explicitly and names no alternatives or prerequisites, such as whether notices/expectations must be recorded before finishing. The pass/fail enumeration is result interpretation rather than usage guidance.

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