Skip to main content
Glama

add_get_unit_direction_vector_node

Add a Get Unit Direction Vector node to compute normalized direction from one point to another in a Blueprint, using normalize(To - From).

Instructions

Add a 'Get Unit Direction Vector' node - normalized direction from A to B.

Ch.14: Normalized (unit length) vector pointing from From to To. Equivalent to normalize(To - From).

Args: blueprint_name: Blueprint name node_position: Optional [X, Y] graph position

KB: see knowledge_base/26_CHAOS_PHYSICS_AND_DESTRUCTION.md#overview Example: add_get_unit_direction_vector_node(blueprint_name="/Game/MCP_Test/BP_Example")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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?

With no annotations, the description must carry behavior disclosure. It clearly conveys mutating behavior ('Add') and the resulting node's semantics, but it does not state prerequisites (e.g., blueprint must exist), whether the graph is saved/compiled, or how the From/To pins are wired after creation.

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?

Front-loaded with the operation, then formula, arguments, KB pointer and example in a compact structured block. The chapter reference is useful but slightly extraneous; otherwise no wasted sentences.

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?

Enough context for a simple node-add call, and an output schema covers returns. Lacks explicit statement of where the node is placed (which graph) and any prerequisite/precondition, which matters for an agent acting on an arbitrary blueprint.

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 0%, so the description must explain parameters; it lists both (blueprint_name, node_position) and marks node_position optional with [X,Y] graph position. However, blueprint_name is explained only as 'Blueprint name' with a path example, leaving the required format/coordinate semantics mostly implicit.

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 an action verb ('Add') plus the exact resource ('Get Unit Direction Vector' node) and the vector math it implements ('normalized direction from A to B', 'normalize(To - From)'). This distinguishes it from generic normalize or other get-vector sibling nodes.

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 mathematical definition gives clear context for when the node is needed: to express direction between two points as a unit-length vector. It does not explicitly name alternatives or say when not to use it, so it falls short of a 5.

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