Skip to main content
Glama

Rest

rest

Heal; refused with hostiles present. Rests until healed (each spell costs food/oxygen and may draw a wandering monster; stops early if one turns up or food runs low) — narrate the refusal or the ambush.

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
gameNoInternal save name: leave it out (the current run is used)
onceNoRest just one spell

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

The description discloses substantial behavior beyond the annotations: each spell costs food/oxygen, may draw a wandering monster, stops early if a monster appears or food runs low, and is refused with hostiles present. This gives the agent a rich picture of side effects and failure modes, consistent with readOnlyHint=false and destructiveHint=false.

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 compact and front-loads the core action and refusal condition. The parenthetical mechanics and narration instruction are useful, though the punctuation is dense enough to make the sentence slightly harder to scan.

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 rest-and-heal tool, the description covers the key behavior: healing, refusal, resource costs, random encounters, early stopping, and narration. It does not state exact healing amounts or time costs, but those may be internal to the game; with a fully documented schema, the definition is largely complete.

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%, so the two parameters are already documented in the input schema. The description mentions resting 'until healed' and 'each spell,' which loosely relates to repeated casting, but it does not explicitly explain the 'once' or 'game' parameters. Baseline 3 is appropriate.

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: 'Heal' and 'Rests until healed,' making the resource and outcome clear. It does not explicitly differentiate itself from sibling tools, but no sibling appears to share this exact rest-to-heal purpose.

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?

The description gives a clear condition for refusal ('refused with hostiles present') and implies use when healing is needed and no hostiles are present. It does not name alternative tools such as fight or flee, nor does it give broader when-to-use or when-not-to-use guidance.

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