Skip to main content
Glama

Write 3 scripts

write_scripts

Write three scripts for a UGC video of a product, to read before making one. Say It Again's own writer writes them from the product read_product read, held to its facts. Free, and counted against the calls get_balance gives as scripts_left. Answers an id at once: call get_scripts with it about once a minute until its status is ready or failed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
adNoAn ad to build the video like, its moves made for this product: a link of an ad in the Meta Ad Library, an ad's id from list_ads or the library, or one of the team's own videos as v- and its id from get_video, with - and its part after for any but its first. A library link not seen before is looked up in the library and counted against the team's ad links of the day. Not with lines or script_id.
keepNoWhat to keep of the ad: structure, the default, or pacing, its pace and its shots alone.
sizeNoThe shape the video is filmed in. 9:16 is the default.
angleNoThe angle the video argues: auto, the default, or one of the angle ids read_product lists for the product. Not with lines, script_id or ad, which argue their own.
linesNoLines for the presenter to say, one a shot: 3 to 5 for a 15-second video, up to 10 for 30 seconds. They are said word for word as sent, not translated, and read by no check of ours. With script_id they replace that script's lines in order. Every person in the ads we make, on camera or heard as a voice, is made by AI and is not a customer. Nothing in an ad may present them as someone who has used the product, because that is a fake testimonial and the law forbids it. So they have no past with it: no time spent with it, no result it has had on their own body, home, pet or life, no before and after of their own, no having bought it, and no job, family role or other identity that makes them sound like a real customer. What they have is the moment: showing the product, using it on camera and reacting to what it does there, saying what it is and what it does, and the facts the product page gives.
productYesThe product's id from read_product, or the product's link.
qualityNofast (the default) or best.
secondsNoThe length: fast videos are 15 seconds, best videos 15 or 30 seconds.
captionsNoCaptions of what is said, on screen. On by default.
languageNoThe language the video is spoken in. Left out, the team's ad language.
placementNoWhere the product is in the video. auto by default.
presentersNoPresenter ids from list_presenters. Left out, one is chosen for the product.
descriptionNoDescribe the video: where it happens, what happens and the point it gets across. Words it gives someone to say, in quotes or not, are said as written and follow the rule given for lines.
video_styleNocasual (the default), professional or energetic.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only mark it as a non-read-only open-world write. The description adds real behavioral context beyond that: the operation is free but consumes a quota shown by get_balance as scripts_left, the scripts are authored by the provider's own writer and held to the product facts, and the call is asynchronous, returning an id immediately with a ~1-minute polling cadence against get_scripts. That is exactly the cost, provenance, and async-lifecycle information an agent needs.

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?

Four sentences, front-loaded with the purpose, then provenance, cost, and the async follow-up in that order. Nothing is padded, though the second and third sentences could be tighter and the key polling instruction sits at the very end.

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 14-parameter, no-output-schema tool, the description covers the essential lifecycle: what it produces, that it is quota-metered, and that results must be fetched via get_scripts rather than returned inline. It does not describe what the returned scripts contain, but that gap is largely covered by the schema's lines rules and the get_scripts sibling.

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%, so every one of the 14 parameters is already documented in the schema, including the mutually exclusive constraints on ad/angle/lines/script_id. The description adds only the loose note that scripts derive from the read_product read; it adds little parameter meaning beyond the schema, so the 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?

States a specific verb and resource: write three scripts for a UGC video of a product. It also positions itself relative to siblings, naming read_product as the fact source and get_scripts as the status poller, so an agent can separate it from the read and fetch tools without opening a schema.

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?

"to read before making one" gives clear sequencing guidance (run this before make_video), and the follow-up instruction to poll get_scripts about once a minute until ready or failed is explicit. It stops short of naming when to prefer alternatives such as change_video or another_language, so it is clear context without exclusions.

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