Skip to main content
Glama

Poetry MCP Server

get_poems_for_enrichment

Retrieve poems requiring theme analysis to enhance their metadata classification. Provides poems with minimal tags for systematic theme identification and enrichment.

Instructions

Get batch of poems needing theme enrichment for agent analysis.

Returns poems with minimal or no tags for YOU (the agent) to analyze. YOU suggest which themes apply to each poem.

Args: poem_ids: List of poem IDs (None = all untagged/lightly-tagged poems) max_poems: Maximum poems to return (default 50)

Returns: Dictionary with: - poems: List of poem data (id, title, content, current_tags) - available_themes: Theme options with descriptions - instructions: Batch analysis guidance

Example workflow: ``` # 1. Get poems needing enrichment data = await get_poems_for_enrichment(max_poems=10)

# 2. YOU analyze data['poems'] against data['available_themes'] # 3. YOU suggest 1-3 themes for each poem with confidence scores # 4. User applies high-confidence tags with link_poem_to_nexus() ```

Input Schema

NameRequiredDescriptionDefault
poem_idsNo
max_poemsNo

Input Schema (JSON Schema)

{ "properties": { "max_poems": { "default": 50, "type": "integer" }, "poem_ids": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null } }, "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