Problem
Title, tags, correspondent, document type, and date were requested separately. That repeatedly sent the same document through the model. Later fields also depend on the generated title, so simply merging all five requests would lose useful context.
Change
Keep the title request, then ask for the other four fields together. Require a complete structured response and validate its fields. If grouping fails, return to the original individual requests. Custom prompts and other excluded configurations retain their existing behavior.
Result & limitation
The fixed synthetic example returned matching metadata with five requests reduced to two. A failed grouped request followed by successful fallback takes six, so the real benefit depends on how often grouping succeeds.
Evidence limits. Tested locally with simulated responses. Live accuracy and billed savings not measured.