Skip to main content
Glama

sim_reroll

Destructive

Re-run a stored sim_prompt against the SAME parent it originally ran against — a sibling attempt, never a chain: it never derives from the previous attempt's output, only from the original parent, so rerolling ten times leaves ten independent siblings in lineage rather than a chain of ten. Reuses the original prompt's text and system unless you override them here. The original prompt and its result are left untouched; this stores a new prompt and a new result (model or artifact, same rule as sim_prompt) under Activity sim_reroll. When called with neither override and the deployment's LLM provider and model are unchanged since the original ran, the response carries a reproducibility field checked against every prior result this exact prompt has ever produced (via the same forward "produced" relation sim_edges/sim_neighbors can query directly): "verified" if this result content-matches one of them, "diverged" if it doesn't, "not verified" if there's no prior result on record yet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNooverride the original prompt's text; default reuses it verbatim
promptYesid of the sim_prompt (or earlier sim_reroll) to re-run
systemNooverride the original prompt's system text; default reuses it verbatim

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

The description goes well beyond annotations by detailing side effects (stores a new prompt and result, leaves original untouched), the reproducibility field and its conditions, and the lineage semantics. It does not contradict any annotation and adds substantial behavioral context, which is critical for a tool with destructiveHint=true and no output schema.

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

Conciseness3/5

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

The description is a single dense paragraph with many technical details (lineage, reproducibility, sim_edges/sim_neighbors). It is not poorly written but lacks structure; it could benefit from bullet points or clear separation of concepts. It is comprehensive but slightly verbose for a 3-parameter tool.

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 core behavior, side effects, override rules, and the reproducibility check, which is the key output detail. Given there is no output schema, it explains the main return nuance but does not fully specify the entire response shape. It also references how to query results via sim_edges/sim_neighbors, which adds context. Overall very complete for a tool with this complexity.

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 each parameter (text, prompt, system) is already documented with override behavior. The description restates the default reuse ('Reuses the original prompt's text and system unless you override them here') but adds no new meaning beyond what the schema provides. The prompt parameter's role as an id is also clear in the schema. 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 the tool re-runs a stored sim_prompt against the same parent, and explicitly distinguishes it from a chain by explaining it never derives from previous output. It names the resource (stored prompt) and the action (re-run), and the sibling contrast is implicit but strong.

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?

It explains when to use it: to re-run a stored prompt against the same parent, and clarifies the lineage behavior (siblings not chain). It also notes overrides and when reproducibility is checked. However, it does not explicitly mention alternatives like sim_prompt for new prompts, but the context implies the distinction.

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