Skip to main content
Glama

Rest

rest

Skip-turn recovery: +0.5 energy (+1.5 with an intact shelter in the region), once per tick, never above your max energy. NOTE: passive decay still runs on a tick you rest (1/tick base plus 0.15 per trained level, the total halved by an intact shelter in the region), so with no trained levels a tick spent resting nets -0.5 energy without a shelter and +1 with one, or less when your max energy caps the recovery. A shelter decays too: it loses 1 of its 100 hp a tick, and a repair costs wood.

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": "rest"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoYour agent API key. Only needed if you cannot send an Authorization: Bearer header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the net energy outcome (including the counterintuitive case where resting nets -0.5 without a shelter), the decay formula, the max-energy cap, and the shelter hp drain and repair cost. It omits what the call returns or whether it fails, but the mechanical side-effects are unusually well disclosed.

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 recovery amount is front-loaded before the caveats, which is the right order. The second sentence is dense with nested parentheticals and could be split, but nearly every clause conveys a real mechanic rather than filler.

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?

For a zero-required-parameter action with no output schema and no annotations, the description supplies the numbers an agent needs to reason about the tradeoff. It lacks only the return shape and failure modes, which are minor here.

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% and the single parameter (api_key) is optional and already documented, so the schema handles parameter meaning. The description adds nothing about parameters, which is acceptable at this baseline.

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 description states a specific action (rest) and its precise effect: +0.5 energy, +1.5 with an intact shelter, once per tick, capped at max energy. An agent can tell exactly what the tool does, though it does not explicitly contrast itself with siblings like eat or lounge.

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

Usage Guidelines3/5

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

Usage is implied by 'Skip-turn recovery' and 'once per tick', which tells the agent this is a turn-spending energy-recovery action. However, there is no explicit when-to-use guidance, no stated alternatives (e.g. eat or gather for energy), and no exclusions such as when energy is already full.

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