Skip to main content
Glama

Sigmora

Make one variant again

variations_regenerate
Destructive

Make one variant of a variation batch again. Re-quoted at the batch's per-variant price and paid once; pass expectedGeneration (the variant's generation from variations_get): a repeat replays instead of paying twice. Not for approved or running variants.

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": {
      "projectId": "<projectId>",
      "batchId": "<batchId>",
      "variantId": "<variantId>",
      "expectedGeneration": "<expectedGeneration>"
    },
    "name": "variations_regenerate"
  }
}

Input Schema

NameRequiredDescriptionDefault
batchIdYes`id` from GET /v1/projects/{projectId}/variations.
projectIdYesThe project id (`id` from GET /v1/projects).
variantIdYesThe variant to make again (`variants[].id`, such as v0003).
workspaceNoWorkspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored.
expectedGenerationYesThe variant's `generation` as you last read it from GET .../variations/{batchId}.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing billing behavior (re-quoted at the batch's per-variant price, charged once) and the replay guarantee for repeated calls with the same expectedGeneration. The destructiveHint=true and idempotentHint=false annotations are not contradicted -- the replay protection is about not double-charging, not about suppressing the mutation. It does not say what a stale generation returns, which is the main remaining behavioral gap.

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 the action, then pricing, then the guardrail, then the exclusion. No filler and nothing buried at the 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?

An output schema exists, so return values need no explanation, and the description covers the two things an agent most needs here: cost and re-call safety. The missing piece is the failure mode for an outdated expectedGeneration (conflict vs. silent acceptance), which matters for an openWorld, non-idempotent 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 100%, so the baseline is 3; the description earns the extra point by explaining why expectedGeneration exists -- it makes a repeat replay rather than pay twice -- which the schema only describes as 'the generation as you last read it'. projectId, batchId, variantId and workspace are left entirely to 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?

States a specific verb and resource -- remaking a single variant within a variation batch -- and immediately scopes it with 'Not for approved or running variants', which lets an agent separate it from variations_propose, variations_review, and variations_get without opening the 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?

Gives an explicit exclusion ('Not for approved or running variants') and tells the agent where to source the required generation token (variations_get). It stops short of naming which tool to use instead for the excluded cases, so the routing is only half-specified.

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