Skip to main content
Glama

getProgramSeed

Reads a Noisemaker DSL program's seed directive without compiling or checking it, returning null when no seed is set (draws from 0).

Instructions

Read a Noisemaker DSL program's seed: the value of its seed directive, or null when it has none (it then draws from 0). It reads the directive without compiling or checking the program. 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": "getProgramSeed"
  }
}

Input Schema

NameRequiredDescriptionDefault
dslYesNoisemaker DSL program

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden well: it discloses that no compilation or validation occurs (so malformed programs may still yield a seed), that a missing directive yields null with an implied default of 0, and that a Noisemaker 2 renderer is required. It does not state error behavior or the seed's data type, leaving a small 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 core definition and return semantics, then the non-validating behavior, then the prerequisite. No redundant wording; every clause adds information.

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?

For a simple single-parameter read tool with no output schema, the description covers what it returns (seed value or null), the fallback meaning of null, the absence of validation, and the runtime prerequisite. Nothing an agent needs to call it correctly is missing.

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?

The single parameter has 100% schema description coverage ('Noisemaker DSL program'), so the schema already does the work and baseline 3 applies. The description's note that the program is not compiled or checked adds a useful nuance about what the dsl input need not be, but no format or syntax detail.

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: read a Noisemaker DSL program's seed. It also defines the exact returned value (seed directive value, or null when absent) and the fallback semantics (draws from 0), so the agent can distinguish it from setProgramSeed and reseedProgram purely from the text.

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?

The verb 'Read' plus 'it reads the directive without compiling or checking the program' makes clear this is the non-mutating inspection path, and 'Needs a Noisemaker 2 renderer' states a hard prerequisite. It does not explicitly name when to prefer a sibling, so it falls short of full when/when-not guidance.

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