Skip to main content
Glama

random_night

Generate a reproducible random starry-night scene from a seed, drawing the preset, palette, landscape, Moon, meteors and auroras so each render can be replayed exactly.

Instructions

Tire une nuit au hasard de manière reproductible : preset, palette, paysage, Lune, météores et aurores.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "random_night"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNom lisible utilisé dans le nom de fichier.
saveNoEnregistrer le fichier dans output/ (ou GALAXIE_OUTPUT_DIR).
seedNoGraine du tirage et du rendu.
tagsNoFiltre de presets.
themeNoMot-clé pour orienter le tirage (lac, aurore, désert, orion…).
aspectNoFormat de sortie.
inlineNoJoindre le PNG au résultat MCP comme contenu image (base64).
optionsNoSurcharges imbriquées : palette, sky, stars, milkyWay, camera, constellations, moon, planets, meteors, aurora, clouds, landscape, props, post, labels, frame, output… Exemple : {"milkyWay":{"intensity":1.4},"landscape":{"type":"lac"}}.
output_dirNoDossier de sortie. Défaut : ./output ou GALAXIE_OUTPUT_DIR.
resolutionNoRésolution de sortie.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/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 burden. It usefully discloses that the randomness is deterministic (same seed → same night), but omits salient behavior: the tool writes files by default (save defaults to true), may return either a path or an inline base64 PNG, and the description never says which.

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?

A single front-loaded sentence with no filler; the reproducibility qualifier sits early where it matters most. The trailing component enumeration is informative rather than redundant, though it slightly dilutes the core statement.

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

Completeness2/5

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

With 10 parameters, a deeply nested options object, no annotations, and no output schema, the description is thin. It never explains what the call returns (file path vs. inline image), how the nested overrides interact with the random draw, or what the resolution/aspect choices do, leaving real gaps for a tool of 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 coverage is 100%, so every parameter is already documented structurally, and the baseline is 3. The description's list of randomizable axes loosely maps onto the nested 'options' keys (palette, landscape, moon, meteors, aurora) and clarifies what the draw can vary, but adds no syntax or precedence detail beyond the schema.

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 object ('Tire une nuit au hasard') plus an important qualifier ('de manière reproductible'), and enumerates the randomized axes (preset, palette, paysage, Lune, météores, aurores). An agent can tell this is a seeded random scene generator, though it never explicitly contrasts itself with the similarly named generate_night sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use, when-not-to-use, or alternative is named. The word 'reproductible' hints that a seed controls the draw, but nothing tells an agent whether to prefer this over generate_night, generate_variations, or render_recipe, and no prerequisites or cost expectations are given.

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