Skip to main content
Glama

Flee

flee

Try to escape to the previous room (roll d20 + level ≥ 11); on failure the monsters attack.

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

Input Schema

NameRequiredDescriptionDefault
gameNoInternal save name: leave it out (the current run is used)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With annotations covering the safety profile (readOnlyHint false, destructiveHint false, non-idempotent), the description adds genuine value by disclosing the resolution mechanic (d20 + level ≥ 11) and the failure penalty. It leaves the success outcome unspecified — whether the room actually changes or combat ends — which is the main remaining gap.

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?

One sentence, front-loaded with the action, then the roll threshold, then the failure consequence. Nothing is wasted and nothing essential is buried.

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 nested objects, the description supplies the core rule and penalty, which is enough to invoke it correctly. Only the success-side outcome and any turn/resource cost are missing.

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?

There is only one optional parameter and the schema already documents it at 100% coverage ('Internal save name: leave it out'). The description adds nothing about it, but the baseline is 3 when the schema carries full parameter meaning and the parameter is not required.

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 gives a specific verb ('escape') plus a destination ('previous room'), so the action is unambiguous. It also distinguishes the tool from combat siblings implicitly by naming a failure consequence ('the monsters attack'). It stops short of explicitly contrasting with 'back', 'go', or 'fight', so it is clear but not fully sibling-differentiated.

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 combat framing ('on failure the monsters attack') implies you use this when engaged with enemies and want to leave, which is useful implicit guidance. However, it never states when to prefer it over 'attack', 'fight', or 'back', nor any precondition such as being in combat or in a room with an exit.

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