Skip to content

## Prompt Implement P3 manuscript agentic tool: `manuscript_journal_check`

Prompt

Implement P3 manuscript agentic tool: manuscript_journal_check.

Prerequisites

  • Read the updated spec at docs/specs/notio/manuscript.md — the "Agentic Tools" section documents the P3 tool contract.
  • Read src/projio/mcp/manuscripto.py for existing P0–P2 tool patterns.

Phase 1: Update spec

Before implementation, expand the P3 section in docs/specs/notio/manuscript.md with detailed parameter/return schema:

manuscript_journal_check(name, journal?)

Parameters: name (manuscript name), journal (optional journal key — e.g. "nature", "plos-one")

Returns: - word_count: current total vs journal limit - figure_count: current total vs journal limit - required_sections: list of sections the journal expects, with present/missing status - csl_match: whether the configured CSL matches the target journal - warnings: list of actionable issues

Phase 2: Implement

  • Define a small set of built-in journal profiles (nature, plos-one, elife, biorxiv) as dicts with word_limit, figure_limit, required_sections, csl_name
  • Load ManuscriptSpec, compute totals (reuse manuscript_overview logic)
  • Compare against journal profile
  • Check CSL configuration match
  • Return structured report

Phase 3: Register and document

  • Register in src/projio/mcp/server.py
  • Update CLAUDE.md MCP tool list for manuscripto.py

Notes

  • All tools go in src/projio/mcp/manuscripto.py
  • Keep journal profiles minimal and extensible (dict-based, not a new schema)
  • Could later integrate with figio's TargetProfile concept