Skip to main content
Glama
Paper Distill MCP Server

Paper Distill MCP Server

by Eclipse-Cj

Finalize Review

finalize_review

Process AI review decisions to update paper statuses in the pool, append pushed papers to papers.jsonl, and return a formatted push message.

Instructions

Process AI review decisions, update pool, and generate push output.

Takes the AI's review response (JSON with push/overflow/discard decisions), updates paper statuses in the pool, appends pushed papers to papers.jsonl, and returns formatted push message.

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": {
      "selections": "<selections>"
    },
    "name": "finalize_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
is_finalNoTrue for final review (no discard allowed, only push/overflow)
selectionsYesJSON string with review decisions, e.g. '[{"index": 1, "action": "push", "tldr": "..."}, ...]'

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removedv0.2.2
  3. First observedv0.2.4

TDQS

B3.4/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 it does disclose the write side effects: pool status mutation and appending to papers.jsonl. However, it doesn't say whether repeated calls duplicate appended entries, what happens on malformed selections JSON, or whether any actual push is sent versus only formatted. Those are meaningful gaps for a mutating tool.

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 action summary, then a single sentence of concrete effect detail. The second sentence partly restates the first (decisions, pool update, push output), but each clause adds a concrete destination or artifact, so little is wasted.

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 the return message needn't be explained, and the description covers the persistent write targets well. What's missing for a tool that mutates a pool and appends to a file is idempotency and failure behavior, which an agent would want before calling it repeatedly.

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 100%, so the baseline is 3, but the description adds real meaning by enumerating the possible selection actions (push/overflow/discard) whereas the schema example shows only 'push'. It also contextualizes is_final by framing the whole input as the AI's review response, which the schema treats only as a bare boolean.

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?

The description states specific verbs and resources: takes an AI review JSON, updates paper statuses in the pool, appends pushed papers to papers.jsonl, and returns a formatted push message. That is far more precise than a restatement of 'Finalize Review'. It doesn't explicitly name how it differs from siblings such as prepare_review or send_push, so it stops short of a 5.

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

Usage Guidelines2/5

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

There is no statement of when to call this versus alternatives like prepare_review or send_push, and no prerequisites such as whether a review session must be prepared first. The only hint is the is_final parameter defaulting to false, which implies a two-stage flow but is never spelled out. Usage is left to inference.

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