Skip to main content
Glama

Close in

advance

Close in on an enemy at a distance. Melee weapons need the target close; a melee attack on a distant one closes in instead of striking. Costs a turn: ranged enemies shoot, melee ones close in too.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "advance"
  }
}

Input Schema

NameRequiredDescriptionDefault
gameNoInternal save name: leave it out (the current run is used)
targetNoMonster to close in on; omit for the first one at a distance

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations mark this as a non-read-only, non-idempotent action but say nothing about cost or consequences; the description supplies both, stating it consumes a turn and that ranged enemies shoot while melee ones also close in. That is meaningful behavioral context the schema and annotations do not carry. It stops short of describing failure modes such as having no valid target.

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 compact sentences, front-loaded with the action, then the precondition, then the turn cost and enemy reaction. Every clause carries information an agent needs; nothing is padding.

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?

With only two optional parameters, no output schema, and annotations covering the safety profile, the description is nearly complete, including the turn-economy cost that matters for tactical decisions. The one residual gap is whether the player or the monster moves, and what the result looks like on success.

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 both the optional game and target parameters documented inline, including the omit-to-pick-first behavior. The description repeats the target-omission semantics but adds nothing about parameter interaction, so the baseline 3 applies.

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?

"Close in on an enemy at a distance" gives a specific verb plus resource and immediately frames the mechanic: melee weapons require proximity, and a melee attack on a distant target closes in instead of striking. That clarifies its relation to the attack sibling without naming it explicitly, so differentiation is strong but not fully explicit.

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 tells the agent the precondition (melee weapons need the target close) and notes that a plain melee attack on a distant target already closes in, which is useful routing context. It does not directly say "use attack to strike once in range" or state what happens when no enemy is at a distance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources