get_author_revision_response_prompt
Draft a professional response to an author's major revision request. Accept or respectfully decline with rationale, maintaining a collaborative tone.
Instructions
[PRO] Draft a professional response to an author's major revision request. Collaborative, not defensive. Accepts or respectfully declines with rationale.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| change_requested | Yes | ||
| is_aligned_with_data | Yes | ||
| action_or_counter | Yes | ||
| next_steps | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- server.py:731-753 (handler)The handler function for the 'get_author_revision_response_prompt' tool. Decorated with @mcp.tool(), it takes four parameters (change_requested, is_aligned_with_data, action_or_counter, next_steps) and returns a formatted prompt string for drafting a professional response to an author's major revision request. The response varies based on whether the change is aligned with the data.
@mcp.tool() def get_author_revision_response_prompt( change_requested: str, is_aligned_with_data: bool, action_or_counter: str, next_steps: str ) -> str: """ [PRO] Draft a professional response to an author's major revision request. Collaborative, not defensive. Accepts or respectfully declines with rationale. """ aligned_text = "is aligned with our data" if is_aligned_with_data else "is not fully aligned with our data" action_type = "Accept the change" if is_aligned_with_data else "Respectfully explain why we are not incorporating this change" return f"""An author has requested {change_requested} to our manuscript draft. This {aligned_text}. Draft a professional response that: - Acknowledges and thanks the author for their input - {action_type}: {action_or_counter} - Confirms next steps: {next_steps} Tone: collaborative, not defensive. Length: 150-200 words.""" - server.py:997-997 (registration)Registration entry in the tool directory listing, mapping the tool name to its description.
("get_author_revision_response_prompt", "Respond to author major revision request"),