Skip to main content
Glama

research_project_continue

Resume context from a paused research project. Returns central question, recent findings with claims and sources, and open gaps. Use before new questions to avoid duplication.

Instructions

Resume context from a paused research project. Returns the central question, recent 50 findings (with their claims, sources, confidence), and all currently-open gaps. Use this BEFORE asking new questions in an existing project so you don't duplicate work.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYes

Implementation Reference

  • Handler function that resumes a research project by fetching its details, the 50 most recent findings, and all open gaps.
    const handleProjectContinue: McpToolHandler = async (args, ctx) => {
      const pool = (await ensureSchema(ctx)) as any;
      const id = String(args.projectId);
      const proj = await pool.query('SELECT * FROM research_projects WHERE id=$1', [id]);
      if (proj.rows.length === 0) return err('project not found');
      const findings = await pool.query(
        `SELECT id, claim, source_kind, source_ref, confidence, evidence_url
           FROM research_findings WHERE project_id=$1 ORDER BY added_at DESC LIMIT 50`, [id]);
      const gaps = await pool.query(
        `SELECT id, question, why_unresolved FROM research_gaps WHERE project_id=$1 AND status='open'`, [id]);
      return ok(asText({ project: proj.rows[0], recent_findings: findings.rows, open_gaps: gaps.rows }));
    };
  • Schema definition: tool named 'research_project_continue', requires projectId as a string.
        name: 'research_project_continue',
        description: 'Resume context from a paused research project. Returns the central question, recent 50 findings (with their claims, sources, confidence), and all currently-open gaps. Use this BEFORE asking new questions in an existing project so you don\'t duplicate work.',
        inputSchema: { type: 'object', properties: { projectId: { type: 'string' } }, required: ['projectId'] },
      },
      handler: handleProjectContinue,
    },
  • Registration of research_project_continue in the RESEARCH_TOOLS array with group 'ai', mapping to handleProjectContinue handler.
    {
      group: 'ai',
      definition: {
        name: 'research_project_continue',
        description: 'Resume context from a paused research project. Returns the central question, recent 50 findings (with their claims, sources, confidence), and all currently-open gaps. Use this BEFORE asking new questions in an existing project so you don\'t duplicate work.',
        inputSchema: { type: 'object', properties: { projectId: { type: 'string' } }, required: ['projectId'] },
      },
      handler: handleProjectContinue,
    },
  • RESEARCH_TOOLS (which includes research_project_continue) is imported and spread into the MCP registry via buildRegistry().
    export function buildRegistry(): RegisteredTool[] {
      return [
        ...OPENCORE_TOOLS,
        ...JOURNAL_TOOLS,
        ...WRITE_TOOLS,
        ...RESEARCH_TOOLS,
      ];
    }
  • Helper functions used by handleProjectContinue: ok() wraps text result, err() wraps error result, asText() serializes output.
    function ok(text: string): McpToolResult { return { content: [{ type: 'text', text }] }; }
    function err(text: string): McpToolResult { return { content: [{ type: 'text', text }], isError: true }; }
    function asText(p: unknown): string { return typeof p === 'string' ? p : JSON.stringify(p, null, 2); }
    function searchHeaders(): Record<string, string> {
      const h: Record<string, string> = { 'Content-Type': 'application/json' };
      if (SEARCH_KEY) h['Authorization'] = `Bearer ${SEARCH_KEY}`;
      return h;
    }
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses the return data comprehensively, implying a read operation. However, it does not explicitly confirm non-destructiveness or mention authorization needs, leaving slight ambiguity about side effects.

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

Conciseness5/5

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

The description is two sentences, front-loaded with the action and key return details. Every phrase adds value with no redundancy.

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?

For a tool with one parameter and no output schema, the description covers the purpose, return structure, and usage timing sufficiently. It lacks error handling guidance but is otherwise complete for an agent's decision-making.

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?

The single parameter 'projectId' is self-explanatory, but schema coverage is 0% and the description adds no additional meaning (e.g., format, source). It is adequate but does not compensate for the lack of schema descriptions.

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

Purpose5/5

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

The description clearly states the tool resumes context from a paused research project and specifies the exact return data (central question, 50 findings with details, open gaps). This distinguishes it from sibling tools like research_project_create or research_finding_add.

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?

The description explicitly says to use this BEFORE asking new questions in an existing project to avoid duplication, providing clear usage context. It does not explicitly name alternatives but implies when not to use (e.g., for new projects).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/terrizoaguimor/celiums-memory'

If you have feedback or need assistance with the MCP directory API, please join our Discord server