Skip to main content
Glama

loot_encounter

Collect all items from defeated enemies in a single action to save time and reduce API calls. Transfer loot to a character or distribute among party members with customizable options.

Instructions

Loot all corpses from an encounter in a single call.

REPLACES: list_corpses_in_encounter + N×loot_corpse (5-10 calls → 1 call) TOKEN SAVINGS: ~85%

Automatically:

  • Finds all corpses from the encounter

  • Transfers all loot to specified character (or distributes to party)

  • Optionally includes currency/gold distribution

  • Returns comprehensive loot summary

Example - Single looter: { "encounterId": "encounter-123", "looterId": "char-456" }

Example - Distribute to party: { "encounterId": "encounter-123", "partyId": "party-789", "distributeEvenly": true }

Example - Selective looting: { "encounterId": "encounter-123", "looterId": "char-456", "includeItems": true, "includeCurrency": true, "includeHarvestable": false }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
encounterIdYesThe encounter ID to loot corpses from
looterIdNoCharacter ID to receive all loot
partyIdNoParty ID for distributing loot among members
distributeEvenlyNoIf true with partyId, distribute items round-robin to party members
includeItemsNoInclude equipment and items
includeCurrencyNoInclude gold/silver/copper
includeHarvestableNoAuto-harvest resources (may fail without skill check)
sessionIdNo
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: automatic corpse finding, loot transfer mechanics, optional currency distribution, and comprehensive summary return. It also mentions potential failure conditions ('may fail without skill check' for harvestable resources). The only minor gap is lack of explicit mention about permissions or side effects beyond the core functionality.

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?

The description is perfectly structured and concise. It starts with the core purpose, immediately provides the efficiency benefit, lists automated behaviors, and then gives practical examples. Every sentence earns its place, with no wasted words, and the information is front-loaded appropriately.

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 tool with 8 parameters, no annotations, and no output schema, the description does an excellent job covering the essential context. It explains the tool's purpose, usage scenarios, behaviors, and parameter semantics through examples. The only minor gap is that it doesn't explicitly describe the format of the 'comprehensive loot summary' return value, though this is somewhat mitigated by the detailed parameter explanations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 88% schema description coverage, the baseline would be 3, but the description adds significant value through the three detailed examples that illustrate parameter combinations and their semantic implications. The examples show how parameters interact (e.g., partyId with distributeEvenly, selective looting with include flags) which goes beyond what the schema descriptions provide.

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 clearly states the tool's purpose with specific verbs ('loot all corpses', 'transfers all loot') and resources ('from an encounter'). It explicitly distinguishes itself from sibling tools by mentioning it replaces 'list_corpses_in_encounter + N×loot_corpse', making its unique value proposition clear.

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

Usage Guidelines5/5

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

The description provides explicit usage guidelines by stating when to use this tool ('REPLACES: list_corpses_in_encounter + N×loot_corpse') and the token savings benefit (~85%). It also gives clear alternatives through the examples showing different looting scenarios (single looter, party distribution, selective looting).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mnehmos/mnehmos.rpg.mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server