Skip to main content
Glama
ryuto-alt

DX12 Engine MCP Server

by ryuto-alt

ボックス範囲の物理クエリ

dx12_overlap_box
Read-only

Enumerate entities with physics bodies overlapping a specified axis-aligned bounding box, using actual collider shapes for precise detection during gameplay.

Instructions

center を中心とする AABB(半幅 halfExtents)と重なっている物理ボディのエンティティを列挙する。★Playing 中のみ意味のある結果。{entities:[{entityId,name}], count}。dx12_query_entities の box(Transform.position ベースの単純判定)とは違い、実際のコライダー形状で判定する。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
centerYes[x,y,z]
maxResultsNo最大取得数(既定 32、上限 256)。
halfExtentsYes[x,y,z] AABB の半幅。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNoエンジンからの生の結果。実際の形は各ツールの説明 / dx12_describe_components を参照。text にも同内容を JSON 文字列で格納。
Behavior4/5

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

Annotations already provide readOnlyHint=true, indicating no side effects. Description adds the behavioral constraint that results are meaningful only during Playing mode, and specifies the return format {entities:[{entityId,name}], count}. No contradictions.

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?

Three sentences with no wasted words: first states operation, second gives critical precondition, third provides return format and differentiation from sibling. Front-loaded and compact.

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 3 simple parameters, no output schema, but description mentions return format. Annotations provide readOnly. The description covers purpose, usage conditions, and differentiation. No gaps.

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% with all parameters described (center, halfExtents, maxResults). Description does not add parameter-specific details beyond the schema; it explains the overall operation using the parameters.

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 explicitly states: '列挙する' (enumerate) physics bodies overlapping an AABB, and distinguishes from sibling dx12_query_entities by noting it uses actual collider shapes rather than Transform.position. It also mentions the tool is only meaningful during Playing.

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

Usage Guidelines5/5

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

Description includes '★Playing 中のみ意味のある結果' (only meaningful during Playing) and contrasts with dx12_query_entities, guiding the agent to choose this tool for physics-based overlap and the other for position-based simple box.

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/ryuto-alt/dx12-mcp'

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