Skip to main content
Glama

Poetry MCP Server

move_poem_to_state

Move poems between state directories like Completed or Fledgelings and automatically update their frontmatter state field while handling backup files.

Instructions

Move a poem to a different state directory and update frontmatter.

Moves the poem file between state directories (Completed, Fledgelings, etc.) and updates the frontmatter state field. Handles backup files automatically.

Args: poem_id: Poem identifier (ID or title) new_state: Target state (completed, fledgeling, still_cooking, etc.)

Returns: Dictionary with move operation results

Example: Promote a poem to completed: result = await move_poem_to_state( poem_id="antlion", new_state="completed" ) print(f"Moved from {result['old_state']} to {result['new_state']}") print(f"New path: {result['new_path']}")

Input Schema

NameRequiredDescriptionDefault
poem_idYes
new_stateYes

Input Schema (JSON Schema)

{ "properties": { "new_state": { "type": "string" }, "poem_id": { "type": "string" } }, "required": [ "poem_id", "new_state" ], "type": "object" }

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/james-livefront/poetry-mcp'

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