Skip to main content
Glama

reseedProgram

Assigns a fresh random seed to a Noisemaker DSL program and returns the updated program, enabling reproducible variation across renders with built-in effects.

Instructions

Give a Noisemaker DSL program a fresh random seed and return it as setProgramSeed does. Built-in effects only. Needs a Noisemaker 2 renderer.

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": {
      "dsl": "<dsl>"
    },
    "name": "reseedProgram"
  }
}

Input Schema

NameRequiredDescriptionDefault
dslYesNoisemaker DSL program

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does add real context: the built-in-effects-only restriction and the Noisemaker 2 renderer requirement, both of which prevent misuse. It does not disclose whether the input program is mutated, what happens on invalid or non-built-in DSL, or what the return payload actually contains, leaving significant gaps for a seed-mutating operation.

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?

Three short sentences with the core action front-loaded and constraints following. Nothing is padding. Minor deduction because 'return it as setProgramSeed does' is a compressed cross-reference that forces the agent to look at another tool to understand the output shape.

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

Completeness3/5

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

The tool is simple (one required string parameter, no output schema), so the description is nearly sufficient. But with no output schema, the phrase 'return it as setProgramSeed does' is the only account of the return value and is not self-contained, and the failure mode for non-built-in effects is unstated.

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% and the schema already labels the single parameter as 'Noisemaker DSL program'. The description restates the same concept and adds no syntax, size, or format guidance beyond the schema's minLength/maxLength constraints. Baseline 3 applies since the schema does the heavy lifting.

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+resource: giving a Noisemaker DSL program a fresh random seed. It also names the sibling setProgramSeed as the reference behavior, giving an agent a contract to reason from. The only ambiguity is whether the tool returns the program text (as implied by 'return it') or a seed value, but the intent of 'reseed' is unmistakable.

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?

The description gives preconditions ('Built-in effects only', 'Needs a Noisemaker 2 renderer') that constrain when the tool can be called, which is useful. However, it never explicitly states when to pick reseedProgram over setProgramSeed — the agent must infer that reseed chooses a random seed while setProgramSeed specifies one. Usage is implied rather than directed.

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