Skip to main content
Glama

add_random_float_in_range_node

Add a Random Float In Range node to a Blueprint to generate random floats between Min and Max for procedural spawning and value variation.

Instructions

Add a 'Random Float In Range' node.

Ch.13: Used in BP_RandomSpawner and procedural generation to get random values. Returns a random float between Min and Max (inclusive).

Args: blueprint_name: Blueprint name min_value: Minimum float value max_value: Maximum float value node_position: Optional [X, Y] graph position

KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#overview Example: add_random_float_in_range_node(blueprint_name="/Game/MCP_Test/BP_Example")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_valueNo
min_valueNo
node_positionNo
blueprint_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

There are no annotations, so the description bears the full burden of behavioral disclosure. It does disclose the core behavior — adding the node and its inclusive random range — and notes that node_position is optional. However, it does not explicitly say this mutates the Blueprint graph, and the phrase 'Returns a random float' could be misread as the tool's own return value rather than the runtime behavior of the node being added.

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?

The description is well-structured and front-loaded with the core action, followed by a useful context sentence, a compact args list, a KB pointer, and a minimal example. The Ch.13 and KB references are slightly optional, but no part is wasted.

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?

For a low-complexity node-adding tool, the description covers the operation, all arguments, and includes an example with the blueprint path format. Since an output schema exists, the tool's return value does not need to be spelled out in the description. It falls just short of complete because the side effect on the Blueprint graph could be more explicit.

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?

With 0% schema description coverage, the description compensates well by explaining all four parameters: blueprint_name, min_value, max_value, and node_position with its optional [X, Y] format. This adds meaning beyond the raw schema. It stops short of a 5 because it does not mention defaults or constraints such as min < max.

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?

The description states a specific action ('Add') and the exact node type ('Random Float In Range'), and clarifies the node's behavior: 'Returns a random float between Min and Max (inclusive).' This is clear and unambiguous. However, it does not explicitly differentiate itself from the similar sibling add_random_integer_in_range_node, so it earns a 4 rather than a 5.

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 description provides concrete usage context: 'Used in BP_RandomSpawner and procedural generation to get random values.' This tells an agent when this tool is relevant. It does not explicitly list when not to use it or name alternatives, but the context is clear enough to be more than merely implied.

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

Deploy Server

Other Tools