search_poems
Pack: poetry · Endpoint: https://gateway.pipeworx.io/poetry/mcp
Search poems by title or keyword. Returns matching poems with full text and author information. Use when looking for a specific poem or exploring a theme.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Title or partial title to search for (e.g., “The Road Not Taken”) |
Example call
Arguments
{
"query": "The Road Not Taken"
}
curl
curl -X POST https://gateway.pipeworx.io/poetry/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_poems","arguments":{"query":"The Road Not Taken"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_poems', {
"query": "The Road Not Taken"
});
More examples
{
"query": "love"
}
Response shape
Always returns: query, count, poems
| Field | Type | Description |
|---|---|---|
query | string | The search query that was used |
count | number | Number of poems found |
poems | array | List of poems matching the search query |
Full JSON Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The search query that was used"
},
"count": {
"type": "number",
"description": "Number of poems found"
},
"poems": {
"type": "array",
"description": "List of poems matching the search query",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Poem title"
},
"author": {
"type": "string",
"description": "Poem author name"
},
"line_count": {
"type": "number",
"description": "Number of lines in the poem"
},
"text": {
"type": "string",
"description": "Full text of the poem with lines joined by newlines"
}
},
"required": [
"title",
"author",
"line_count",
"text"
]
}
}
},
"required": [
"query",
"count",
"poems"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"poetry": {
"url": "https://gateway.pipeworx.io/poetry/mcp"
}
}
}
See Getting Started for client-specific install steps.