## 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.pyfor 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
Related Notes¶
- docs/log/task/task-arash-20260331-175739-980549.md — Directly registers manuscript MCP tools in projio — the same registration step required for manuscript_journal_check (Phase 3)
- docs/log/task/task-arash-20260331-175703-656609.md — Implements the manuscript subpackage (schema, assembly, render) that manuscript_journal_check builds on top of
- docs/log/task/task-arash-20260331-175313-566067.md — manuscripto design spec defining the architecture and API surface where P3 tools are documented
- docs/log/task/task-arash-20260331-175617-644481.md — Design spec for manuscript as a notio subpackage — foundational context for all manuscript agentic tools
- docs/log/task/task-arash-20260402-221348-236987.md — Ships CSL files and updates render paths — directly relevant to the csl_match check in manuscript_journal_check