Skip to main content
Glama

novelai_revise

Continue a prior image generation with unchanged settings; patch selected fields, swap a previous output into img2img, and create a new run without overwriting the original.

Instructions

Continue a prior generation, keeping every unmodified parameter. patch uses JSON Merge Patch: objects merge, arrays replace, null deletes. prompt/negative_prompt synchronize base captions for V4/V4.5/V5. use_output_as_input switches to img2img from a previous output. Creates a new run and may spend credits; never overwrites the earlier image.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesNoBind local files to official JSON fields without pasting base64 into chat.
patchNo
promptNo
run_idYes
image_indexNo
cost_approvedNoTrue only after the user explicitly approves this operation's credit spend or unknown price, dimensions and sample count. Verified free requests do not need this flag. Read-only subscription/quote checks may run before approval.
negative_promptNo
use_output_as_inputNo
high_resolution_approvedNoTrue only with explicit user consent for more than 1,048,576 output pixels per image, or an upscale whose final dimensions are not known in advance.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior4/5

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

Adds real value beyond annotations: 'Creates a new run and may spend credits; never overwrites the earlier image' directly clarifies the destructiveHint=false and the credit-spend risk that openWorldHint alone does not convey. It also documents the JSON Merge Patch mutation semantics (objects merge, arrays replace, null deletes), which is essential for predicting behavior.

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?

Five dense sentences, front-loaded with the core purpose and followed by the highest-risk details (patch semantics, credit spend). No filler, though the prompt/negative_prompt caption note is somewhat terse.

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 mutation tool with no output schema, it covers the critical unknowns: new run creation, credit spend, and non-destructiveness toward the source image. The approval-flag workflow is left to schema descriptions, which is acceptable, but run_id/file binding behavior could be clearer.

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 only 33% across 9 parameters, so the description must compensate. It usefully explains patch semantics, prompt/negative_prompt caption synchronization, and use_output_as_input, but leaves files, image_index, run_id, and the binding pointer/path structure unexplained.

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?

States a specific verb and resource: 'Continue a prior generation, keeping every unmodified parameter.' An agent can distinguish this from novelai_generate (fresh generation) without opening the schema, though no sibling is named explicitly.

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?

Implies usage (modify a prior run) and explains that use_output_as_input switches to img2img from a previous output, but gives no explicit when-to-use vs novelai_generate/novelai_augment, nor any when-not conditions.

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