Skip to main content
Glama
sylvanai-mcp
by Arwalk

Damage taken

get_damage_taken
Read-onlyIdempotent

Breaks down damage you or a group player took in a pull to identify avoidable sources, peak attackers, and mitigation gaps.

Instructions

Damage one player took in a pull (default: you), to find what was avoidable. taken and hits; kinds: damage by kind: melee (auto attacks), spell (single target spells and ranged attacks), aoe (the log's area tag: often avoidable, e.g. standing in it), env (falling, lava, drowning: avoidable). attackers: enemy units that hit or swung at the player over the pull; attackers_peak: most of them within 5 s: several means too many mobs on you at once. abilities: per source NPC and ability (src, kind, dmg, hits, max hit, pct of taken, crits, crushing, miss: attacks avoided by type); sources: per NPC type (units, dmg, hits, pct, avoided). mitigation: avoided (DODGE/PARRY/BLOCK/MISS/RESIST/ABSORB/... counts), reduced (damage blocked, resisted or absorbed), crushing blows, crits taken.

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

Input Schema

NameRequiredDescriptionDefault
playerNoGroup player: Name, Name-Realm or GUID.
pull_idNoPull id from list_pulls, or "last".last

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description goes beyond that by explaining what the returned metrics mean operationally — e.g. attackers_peak being 'most of them within 5 s' and 'several means too many mobs on you at once', and that env damage is avoidable. It does not discuss scoping limits or failure behavior for a bad pull_id, which keeps it below a 5.

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 purpose is front-loaded in the first clause, and nearly every subsequent clause documents a distinct returned field, so little is wasted. The downside is that the return glossary is a dense semicolon-chained wall of text that is hard to scan and would read better as a structured output schema.

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?

With no output schema, the description carries the burden of explaining returns and does so thoroughly across taken/hits, kinds, attackers, abilities, sources and mitigation. What remains thin is the caller-side context: how to obtain a valid pull_id (deferred to list_pulls in the schema) and any behavior on invalid input.

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 both parameters (player with Name/Name-Realm/GUID and pull_id with 'last') are already fully documented in the schema. The description only echoes the '(default: you)' behavior for player, adding no new syntax or selection guidance for pull_id. 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?

Opens with a specific verb+resource+scope: 'Damage one player took in a pull (default: you), to find what was avoidable.' The parenthetical default and the stated analytic intent make it distinguishable from siblings like get_aggro or get_death_recap, though it never names an alternative explicitly.

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?

Only one use case is implied: analyzing avoidable damage. There is no explicit when-to-use vs when-not guidance and no pointer to the adjacent tools (get_aggro, get_death_recap, get_recent_combat) that an agent could easily confuse this with. Usage is inferable but not directed.

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