Skip to main content
Glama
Paper Distill MCP Server

Paper Distill MCP Server

by Eclipse-Cj

Init Session

init_session

Initialize a research session by detecting push platforms, configuring notification channels, and optionally loading prior research context.

Instructions

Initialize a research session. Call this first to set up push channels and load context.

Detects configured platforms, manages channels, and optionally loads previous research context. Returns session info for the AI client to present to the user.

IMPORTANT for AI clients:

  • NEVER call external APIs (Zotero, webhooks, etc.) directly or generate scripts (PowerShell, curl, Python) to do so. Always use the built-in tools (collect, collect_to_zotero, send_push, etc.). Direct API calls will result in incomplete data and encoding issues.

  • If multiple platforms are detected and no platform is specified, the response will include ask_platform — you MUST ask the user which platform to use, then call init_session again with platform=<user_choice>.

  • If only one platform is configured, it is auto-selected.

  • The send_push tool also accepts a platform parameter, so the user can override per-push even after init.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "init_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformNoPreferred push platform ("telegram", "discord", "feishu", "wecom"). If None, auto-detects from configured env vars.
session_idNoSession identifier (auto-generated if not provided). Use different IDs to isolate research vs daily topics.
load_contextNo"yes" = auto-load previous research context, "no" = start fresh, "ask" = return context summary for user to decide.ask
channel_actionNo"new" = create dedicated channel, "existing" = use configured channel, "auto" = use existing if available.auto

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description does real work: it discloses the ask_platform sentinel in the response, platform auto-detection, single-platform auto-selection, and that it manages/creates channels, which is a persistent side effect. It does not state permission or auth requirements, whether channel creation is reversible, or what happens on failure, so the behavioral picture is good but not complete for a mutating initialization 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?

Content is front-loaded: a one-line purpose followed by an 'IMPORTANT for AI clients' bullet block. Most sentences carry actionable content, though the prohibition on PowerShell/curl/Python scripting is somewhat verbose and reads as agent-steering rather than tool definition.

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 need not be re-explained, and the description still helpfully flags the ask_platform field an agent must react to. What is missing is prerequisite/permission context and failure behavior for channel setup, which matters for a four-parameter initialization tool with no annotations.

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 genuine meaning beyond the schema: the platform parameter drives a required two-step ask-then-reinit cycle, and the same platform value can also be passed to send_push as an override. It does not elaborate on session_id isolation or load_context/channel_action interactions, which the schema already covers.

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 opens with a specific verb and resource ('Initialize a research session') and enumerates concrete effects: pushing channel setup, platform detection, and optional context loading. It is clearly distinguishable from load_session_context and send_push by its 'call this first' setup role, though it never explicitly contrasts itself with the sibling 'setup' tool, leaving some ambiguity about which is the true entry point.

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?

It states when to call ('Call this first'), a mandatory re-invocation flow when multiple platforms are detected ('you MUST ask the user which platform to use, then call init_session again'), an auto-selection case for single-platform setups, and a note that send_push can override the platform later. It also explicitly prohibits the alternative of calling external APIs or generating scripts, which is unusually precise routing guidance.

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