Skip to main content
Glama

Re-author with the LLM (paid)

author_op
Destructive

Runs ONE edit op that re-authors with the LLM — the SAME op the human director runs from the chat — and stages its result into the project's conversation draft, which becomes a new version when it is committed. The call waits up to 60 s for the pass (50 of the 58 authoring turns measured finished within that) and answers with the staged edit (outcome: completed_inline); a longer pass keeps running and the answer is its job (outcome: still_running, runId), which the project status reports by run_id. An identical call while the job runs, or within 15 minutes after it succeeded, returns the SAME job, so a retry is not charged twice; request_id names a deliberately repeated request. One authoring turn at a time per project (authoring-in-progress). Ops:

  • revestir_como_autor: Re-dress ONE scene's visual as an animated author's scene (a world with an actor where the data lives), keeping the narration word for word; for a still image held too long and for any scene asked to be drawn or animated, whatever its visual is today. LLM. Args: scene_index, brief? (only the VISUAL is re-dressed as an animated author's scene by the piece's director; the narration stays word for word, so the voice is reused; brief orients the world/actor).

  • rewrite_scene: Re-author one scene (script and visual) under a brief. LLM. Args: scene_index, brief (the WHOLE scene is re-authored under the brief).

  • tighten_hook: Strengthen the opening hook (scene 0). LLM. Args: brief? (scene 0). Requires the write scope. Spends LLM budget (charged like a chat turn).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_id": "<project_id>",
      "op": "<op>",
      "args": "<args>"
    },
    "name": "author_op"
  }
}

Input Schema

NameRequiredDescriptionDefault
opYes
argsYesOp arguments (see description).
project_idYes
request_idNoOptional: a caller-chosen key for this request (up to 64 characters). The same key returns the same job for 24 h; a new key runs it again. Without it, an identical call within 15 minutes is the same request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / op / enum
      Previous value: -[
      -  "rewrite_scene",
      -  "tighten_hook"
      -]New value: +[
      +  "revestir_como_autor",
      +  "rewrite_scene",
      +  "tighten_hook"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / request_id / description
      Previous value: -"Optional: a key of your own for this request (up to 64 characters). The same key returns the same job for 24 h; a new key runs it again. Without it, an identical call within 15 minutes is the same request."New value: +"Optional: a caller-chosen key for this request (up to 64 characters). The same key returns the same job for 24 h; a new key runs it again. Without it, an identical call within 15 minutes is the same request."
  3. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the up-to-60s inline wait with the 50-of-58-turn measurement behind it, the two outcome shapes (`completed_inline` vs `still_running` with `runId`), 15-minute and 24-hour dedup semantics that avoid double LLM charges, the one-authoring-turn-per-project lock (`authoring-in-progress`), the `write` scope requirement, and that budget is spent like a chat turn. The destructiveHint=true is implicitly explained by the fact that a committed result becomes a new version.

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 core behavior, then the timing/idempotency contract, then a per-op list — a sensible order with no filler sentences. It runs long and repeats the `request_id` semantics already present in the schema, which costs it a point, but the density is mostly justified for a tool with three distinct ops.

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

Completeness5/5

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

With no output schema, the description does the work of explaining return shapes (`outcome`, `runId`) and how status is later reported by `run_id`. Combined with auth scope, budget cost, and concurrency limits, an agent has everything needed to call this correctly and interpret the response.

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?

With only 50% schema description coverage, the description carries real weight: it documents `args` per op (scene_index, brief? vs brief), explains that `request_id` is a caller-chosen key that forces a deliberately repeated request, and gives the meaning of each enum value. The one gap is `project_id`, which is never described, though its meaning is self-evident from context.

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

Purpose4/5

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

The description opens with a specific verb and resource: it 'runs ONE edit op that re-authors with the LLM' and stages the result into the project's conversation draft, and it enumerates the three concrete ops with what each does. An agent can tell what the tool does without opening the schema, though it never names a sibling (run_op, stage_op, direct) to contrast against, so the differentiation from adjacent tools is left implicit.

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?

Per-op guidance is unusually explicit — `revestir_como_autor` is scoped to 'a still image held too long and for any scene asked to be drawn or animated, whatever its visual is today', and `tighten_hook` is pinned to scene 0. What is missing is routing guidance against the many sibling ops (run_op, stage_op, generate_script), so the agent knows when this tool is the right one versus another.

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