Skip to main content
Glama

chunked_write

Generate large documents by parallelizing section creation among multiple agents. Bypasses content length limits through structured chunking and direct concatenation without LLM processing.

Instructions

Generate large documents by having bugs write sections in parallel. Bypasses the long-content limitation by chunking work. HOW IT WORKS: 1. Planner bug creates outline (structured JSON) 2. Worker bugs generate sections in PARALLEL 3. Python concatenates directly (NO LLM involved) 4. heavy_write saves result output_path: Where to save the document spec: What the document should be about num_sections: How many sections (default 5, max 10) doc_type: 'markdown', 'text', or 'code' EXAMPLE: chunked_write("/tmp/report.md", "Analysis of Python best practices", 5)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
output_pathYes
specYes
num_sectionsNo
doc_typeNomarkdown

Latest Blog Posts

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/BossX429/agent-farm'

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