Skip to main content
Glama
sansaks-jpg

Gamedev All-in-One MCP

by sansaks-jpg

Unreal Raycast

unreal_raycast

Cast a ray in Unreal Engine to detect objects between two points and return collision hit results.

Instructions

Perform a line trace (raycast) in Unreal and return hit results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
startYesTrace start point.
endYesTrace end point.
traceChannelNoTrace channel.Visibility
traceComplexNoTrace against complex collision.
timeoutMsNoCommand timeout.
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. It states it returns hit results but does not detail the format, what happens on no hit, whether it's blocking or async, or any side effects (e.g., affecting world state). The description is too vague for an agent to understand behavioral implications.

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 a single short sentence that efficiently states the core action. It is not verbose, but could be improved by front-loading key behavioral details. It earns its place without waste.

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?

Given there are 5 parameters, no output schema, and no annotations, the description is insufficient. It does not explain the return value structure, error conditions, or how the output relates to parameters. For a physics tool with many similar siblings, more context (e.g., coordinate system, occlusion handling) is necessary.

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 description coverage is 100%, so each parameter has a basic description in the schema. The tool description adds no additional meaning beyond what is already in the schema (e.g., coordinate format, channel default, timeout limits). Baseline 3 is appropriate as the schema already does the heavy lifting.

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 title 'Unreal Raycast' combined with description 'Perform a line trace (raycast) in Unreal and return hit results' clearly states the action (perform), the resource (line trace/raycast), and the output (hit results). It distinguishes itself from sibling tools like 'roblox_raycast' and 'unity_raycast' by specifying Unreal. However, it could be more specific about the use case (e.g., collision detection or picker).

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 guidance on when to use this tool versus alternatives. It does not mention any prerequisites, conditions, or cases where another tool (e.g., 'unreal_get_actor' or 'unreal_apply_force') would be more appropriate. The description lacks any contextual usage advice.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sansaks-jpg/gamedev-all-in-one-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server