Skip to main content
Glama

add_map_values_node

Adds a Map Values node to a Blueprint, copying all values from a map variable into an array.

Instructions

Add a Map VALUES node - copy all Map values to an Array.

From Ch. 13: Returns an array of all values in the map.

Args: blueprint_name: Blueprint to add the node to map_variable: Map variable name node_position: [X, Y] graph position

KB: see knowledge_base/07_DATA_STRUCTURES.md#overview Example: add_map_values_node(blueprint_name="/Game/MCP_Test/BP_Example", map_variable="ExampleName")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
map_variableYes
node_positionNo
blueprint_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It discloses the action (adds a node), the resulting node behavior (copies all map values to an array), and the return semantics (returns an array of all values). It does not discuss side effects or prerequisites, but for a node-adding utility this is reasonably transparent.

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?

The description is compact and well-structured: a one-line purpose, a semantics sentence, an Args list, a KB pointer, and a concrete example. Every section adds value, and the critical 'copies all values to array' meaning is front-loaded.

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?

Given the simplicity of the operation, the description is complete enough for correct invocation. All parameters are documented, the optional node_position has a default and format, the KB reference provides deeper context, and the example anchors usage. An output schema exists, so return value details are not the description's responsibility.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage, so the description must compensate fully. It does: each parameter is explained in the Args block (blueprint_name, map_variable, node_position), and the example shows a realistic call with a blueprint path and map variable. This gives an agent actionable meaning beyond the raw schema fields.

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 states a specific verb and resource: 'Add a Map VALUES node - copy all Map values to an Array.' It clearly differentiates from the sibling add_map_keys_node by explicitly focusing on values rather than keys. The additional 'Returns an array of all values in the map' clarifies the node's behavior precisely.

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 clear context for when to use this tool: when you need to add a node that copies all map values into an array. It does not explicitly name alternatives or exclusions, but the 'Map VALUES' phrasing and the contrast with sibling tools like add_map_keys_node make the appropriate use case evident.

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