Skip to main content
Glama

Use

use

Use an item (drink, eat, read; a charged wand/grenade is thrown at the nearest enemy; armour is put on; ammo reloads), an ability the player has (recharges on rest or each floor; status lists them), or a feature in the room: fountain (drink, random effect), altar (identifies what you carry), shrine (pray: heals when desperate, otherwise offers boons), stairs. Using an unmarked item reveals what it was — good or bad.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "item": "<item>"
    },
    "name": "use"
  }
}

Input Schema

NameRequiredDescriptionDefault
gameNoInternal save name: leave it out (the current run is used)
itemYesItem, ability or feature: id or words of its name
targetNoMonster to aim a targeted item or ability at (strike, push, pull, stun, calm); omit for the first hostile

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare the generic non-read-only, non-destructive, non-idempotent profile, so the description carries most of the burden and does so: it discloses that charged items are thrown at the nearest enemy, ammo is consumed to reload, fountains give random effects, shrines heal only when desperate and otherwise grant boons, altars identify inventory, and unidentified items are revealed with possibly negative results. Only failure/edge behavior (e.g., using something unusable, turn cost) is left unstated.

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?

Front-loaded with the core action and then branched by category, which makes it scannable. The single dense paragraph with parentheticals and semicolons is information-rich but slightly crowded, and the trailing reveal rule could sit earlier.

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 three-parameter, no-output-schema mutation tool with annotations present, the description gives enough outcome detail per input category that an agent can invoke it without guessing. What is missing — resource consumption rules for normal items, turn or state cost, and the failure mode — is minor rather than blocking.

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 description coverage is 100%, so the parameters are already documented and the baseline is 3. The description adds a little meaning by clarifying that the 'item' slot also accepts abilities and room features, but it does not elaborate on target selection beyond what the schema's target field already says.

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?

The description opens with a concrete verb plus the three resource classes it operates on (item, ability, room feature) and enumerates representative cases (drink, eat, read, throw, armour, ammo, fountain, altar, shrine, stairs). An agent can immediately tell this is the general 'activate/consume' action rather than a narrower sibling like take, equip, or examine.

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?

It implicitly defines when to reach for it by listing the domains (items, abilities, room features) and warns that using an unidentified item reveals it, good or bad. It stops short of explicit routing against siblings such as read, equip, or attack, and there is no stated 'do not use this when…' 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