Skip to main content
Glama

research_finish

Verify a research report meets delivery checks and publish its receipt only when all requirements pass. Surfaces remaining gaps so you can fix them before final delivery.

Instructions

Verify report delivery and publish its receipt/terminal state only when checks pass. Current work requires independent agent review, audit and final verification of the current full artifact. Explicit length_constraint rows in state/requirements.jsonl are measured; no limit is inferred from prose. message (also delivery_message) is the intended user-visible delivery text. This does not send or publish it. completed=false means unfinished, even with action_required; address the returned gaps before delivery. completed=true includes the delivery_check already performed; do not immediately repeat it. To recheck retained completion later, use check_delivery.py --require-complete. Independent audit adjudicates no-change decisions; an author's appended disposition cannot clear required findings. Evaluation tasks end with evaluation_complete from research_review, without repairing samples.

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": {
      "task": "<task>"
    },
    "name": "research_finish"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYes
messageNo
artifactNofinal.md
delivery_messageNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv3.1.1
    • addedInput schema / properties / delivery_message
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Delivery Message"
      +}
    • addedInput schema / properties / message / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / message / default
      Added value: +null
    • removedInput schema / properties / message / type
      Removed value: -"string"
    • changedInput schema / required
      Previous value: -[
      -  "task",
      -  "message"
      -]New value: +[
      +  "task"
      +]
  2. Changed2 schema fields changedv2.5.7
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / checklist
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Checklist"
      -}
  3. First observedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior: the message is not sent or published, completed=true already embeds a delivery_check, and an author's disposition cannot clear independent audit findings. However, it never says what publishing 'receipt/terminal state' actually writes to disk, whether that is reversible, or what permissions it needs — the core side effect of a state-mutating tool remains opaque.

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

Conciseness3/5

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

The purpose is front-loaded and every line carries information, but the text reads as a stack of terse fragments rather than structured prose; lines like 'Current work requires independent agent review, audit and final verification of the current full artifact' are oblique and the ordering interleaves rules with parameter semantics. Dense but not well organized for scanning.

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?

An output schema exists, so return values needn't be explained, and the description covers the completion-flag semantics, repetition avoidance, audit adjudication, and an out-of-band recheck path. For a high-stakes terminal-state tool the remaining gap is what 'checks' are actually performed and what the published state consists of.

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

Parameters3/5

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

Schema coverage is 0%, so the description must compensate and it only partly does: it defines message as the intended user-visible delivery text, notes delivery_message is the same thing, and ties length_constraint rows in state/requirements.jsonl to measured limits. The task and artifact parameters (including artifact's final.md default) are left entirely undocumented.

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 specific verbs and resource: 'Verify report delivery and publish its receipt/terminal state only when checks pass.' That is concrete enough to separate it from research_check_draft or research_save, and it later references research_review as the evaluator path. It stops short of an explicit one-line contrast with the closest siblings.

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

Usage Guidelines4/5

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

Gives real operating guidance: call only when checks pass, treat completed=false as unfinished even with action_required, don't re-run the delivery_check when completed=true, and use check_delivery.py --require-complete for later rechecks. It also routes evaluation tasks to research_review's evaluation_complete. Missing only an explicit statement of what the caller should do when checks fail.

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