Skip to main content
Glama

get_unit_range

Retrieve a unit's full threat zone, including reachable movement tiles and attack tiles from any position. Use to plan positioning or evaluate enemy threat coverage for a specific unit.

Instructions

Read-only. Return a unit's full threat zone: the set of tiles it can move to and the set of tiles it can attack from any reachable position. Works for any alive unit, own or enemy. unit_id is the string identifier from get_state (e.g. 'red_cavalry_2'). Use this to plan positioning or evaluate enemy threat coverage; for a board-wide enemy threat overview prefer get_threat_map instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
connection_idYes
unit_idYes
Behavior4/5

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

No annotations provided, so description carries full burden. Starts with 'Read-only' indicating non-destructive operation. States works for any alive unit, own or enemy, clarifying ownership constraints. Lacks details on error handling or rate limits, but adequately covers key behavioral traits.

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?

Two sentences, front-loaded with 'Read-only,' no wasted words. Efficiently conveys purpose, usage, and alternative.

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?

Given no output schema and two parameters, the description covers behavior, input format, and usage guidance. Lacks mention of error conditions or what happens with invalid inputs, but is sufficient for basic use.

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

Parameters2/5

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

Schema description coverage is 0%, so description must compensate. It explains unit_id with an example ('red_cavalry_2') but does not explain connection_id at all. With only two parameters and one left undocumented, the description does not fully compensate for the lack of schema descriptions.

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?

Description clearly states the tool returns a unit's full threat zone (move and attack tiles) and specifies it works for any alive unit, own or enemy. It distinguishes from sibling tool get_threat_map by noting the difference between single-unit and board-wide overview.

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?

Explicitly tells when to use (plan positioning or evaluate enemy threat coverage) and when to prefer alternative (get_threat_map for board-wide overview). Also provides unit_id format example.

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/haoyifan/Silicon-Pantheon'

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