Skip to main content
Glama

Generate today's drafts

generate_draft
DestructiveIdempotent

Run the daily draft engine now: generates today's pending drafts for the active flow (calendar-aware, freshness-guarded, validator-checked). Idempotent per day — re-running fills gaps without touching drafts the user already decided on. force=true wipes today's PENDING drafts first. slot_index targets ONE slot of a configured asset flow (campaign/daily-products/daily-generative) so a single failed slot can be re-fired without regenerating the day. SLOW: each draft is 1-3 LLM calls.

Input Schema

NameRequiredDescriptionDefault
forceNo
handleNoInstagram handle (with or without @). Omit for your default account.
contextYesExplain why you are calling this tool and how it fits into the business owner's goal for their Instagram presence. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include personal data, credentials, or the text of a draft. Example (20 words): "Reviewing the pending drafts before approving today's story, checking the caption matches the photo the owner expects."
beat_slugNoGenerate only this beat.
slot_indexNoAsset flows only: generate just this slot (0-based, `_s{n}` draft ids).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations declare destructiveHint and idempotentHint, and the description adds real context beyond them: gap-filling idempotency that leaves decided drafts untouched, the destructive semantics of force, the slot-scoping side effects, and a cost warning ('SLOW: each draft is 1-3 LLM calls'). This is unusually rich behavioral disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the primary action, then escalating detail on idempotency, force, slot_index, and cost. Four dense sentences, all earning their place, though the density slightly hurts scannability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, non-read-only, SLOW tool with no output schema, the description covers safety, idempotency, cost, and scoping well. It omits return shape and failure handling, but those are secondary given the annotations already signal mutation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 80%, so the baseline is 3, and the description earns above that by explaining force ('wipes today's PENDING drafts first'), slot_index ('targets ONE slot of a configured asset flow', with named flow types), and the idempotent re-run behavior. It does not clarify handle or beat_slug beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Run the daily draft engine now: generates today's pending drafts for the active flow') and scopes it precisely. It implicitly separates itself from siblings like regenerate_draft and list_drafts by defining exactly what gets generated and when.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explains clear contexts: run for the day's drafts, use force to wipe today's pending drafts first, and use slot_index to re-fire one failed slot 'without regenerating the day'. It stops short of naming an explicit alternative (e.g. regenerate_draft) or stating when NOT to call it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources