rewrite_in_style
Transform your text into specific writing styles like Paul Graham or Hemingway while preserving factual accuracy. This tool adapts content to match professional, literary, or report formats.
Instructions
Rewrite content in a target writing style (paul_graham, economist, mckinsey_report, hemingway, etc.) Cost: $0.005 USDC. Service: voiceprint.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| target_style | Yes | ||
| preserve_facts | No |
Implementation Reference
- src/index.ts:166-223 (handler)The dynamic MCP server handles all tool requests (including 'rewrite_in_style') by looking up the tool name in a remotely fetched registry and forwarding the request to the configured endpoint.
server.setRequestHandler(CallToolRequestSchema, async (request) => { const { name, arguments: args } = request.params; let registry: Registry; try { registry = await fetchRegistry(); } catch (error) { return { content: [ { type: "text", text: JSON.stringify({ error: "Failed to fetch tool registry", detail: String(error) }), }, ], }; } const tool = registry.tools.find((t) => t.name === name); if (!tool) { return { content: [ { type: "text", text: JSON.stringify({ error: `Tool '${name}' not found`, available_tools: registry.tools.map((t) => t.name), }), }, ], }; } try { const result = await callTool(tool, args as Record<string, unknown>); return { content: [ { type: "text", text: JSON.stringify(result, null, 2), }, ], }; } catch (error) { return { content: [ { type: "text", text: JSON.stringify({ error: "Tool call failed", tool: name, service: tool.service, detail: String(error), }), }, ], }; } });