Skip to main content
Glama

storyline_regenerate_line_item

Regenerate a line item's content draft within a storyline. Starts an async operation that returns an operationId to poll until the draft is ready; typically takes 1-3 minutes.

Instructions

Async. Re-generate a single line item's content draft. Returns { operationId, status } — poll get_job with the operationId until state=completed. Typically takes ~1–3 min.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemIdYesLine item ID to regenerate
brandIdNoBrand ID (defaults to active brand)
storylineIdYesStoryline ID
Behavior4/5

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

No annotations exist, so description carries the burden. It discloses async behavior, typical duration (~1–3 min), return shape ({operationId, status}), and polling instructions. It does not mention whether the existing draft is overwritten or any permission requirements, but 're-generate' implies replacement.

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

Conciseness5/5

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

Three short sentences, front-loaded with 'Async' and the action. Each sentence adds value: operation, return/polling, timing. No waste.

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?

The description covers the async workflow, return contract, polling mechanism, and duration. There is no output schema and no annotations, so this description is sufficient for an agent to invoke and monitor the operation. Slight gap: no mention of prerequisites or failure behavior, but overall strong.

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

Parameters3/5

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

Schema description coverage is 100%; each parameter has a clear description. The tool description adds no additional parameter semantics beyond the schema (e.g., no format details or constraints). Baseline 3 applies.

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 clearly states 'Re-generate a single line item's content draft' with a specific verb and resource. The word 'Async' adds a key behavioral scope. This distinguishes it from related tools like storyline_update_line_item or storyline_execute, though alternatives aren't named.

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

Usage Guidelines3/5

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

The description implies usage by indicating it is for regenerating a line item draft, but does not explicitly state when to use it versus alternatives such as storyline_update_line_item or storyline_execute. It provides helpful operational guidance (poll get_job, ~1–3 min), which partially compensates.

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

Install Server

Other Tools

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/bitsandtea/postking-mcp'

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