Skip to main content
Glama
Txpple

fvtt-mcp-molten5e

by Txpple

get-combat-stats

Pull combat analytics from Battle Flow chat stamps: damage per round, healing, resource spends, flips, and flavor. Filter by actor, combat, or time; optional JSON ledger for charts.

Instructions

Fold Battle Flow's stat-stamped chat messages into per-combat analytics: damage dealt/taken (with per-round rate), healing + overheal, verdict-flip credits, spend economy (resource pools AND spell slots), buff-die (Bless) margin flips, and session flavor (nat 20s/1s, advantage economy, death saves). Read-only scan; reverted applications are subtracted; unlinked monsters aggregate by archetype. GM-facing — filter at call time via sections/actor/combat/since. includeLedger:true appends the folded JSON for charts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actorNoFilter report lines to actors whose name contains this (case-insensitive).
sinceNoOnly scan messages at/after this moment — an ISO date ("2026-08-27") or epoch-ms. Omit to scan the whole log (the ledger starts when the stamps do, 2026-08-27; older messages are counted as legacy and excluded).
combatNoReport a single combat by its combat id (the ledger keys buckets by the stamp's "combatId:round:turn"). Also accepts "out-of-combat" for the null bucket. Omit for all.
sectionsNoWhich report sections to render (default all): damage, healing, flips, spends, moments (masteries/holds/saves/concentration counts), bless (buff-die margin flips), flavor (nat 20s/1s, advantage economy, death saves).
includeLedgerNoAppend the folded ledger as JSON (for charts or downstream analysis).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.3

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it explicitly states 'Read-only scan', says reverted applications are subtracted, and notes unlinked monsters aggregate by archetype. It also explains the includeLedger output behavior. It does not cover permissions or data-source prerequisites, but the core side-effect and data-processing traits are disclosed.

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 dense but front-loaded: purpose first, then behavioral notes, then usage. The long list of analytics categories is verbose but informative; no sentence is wasted.

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?

No output schema exists, but the description compensates by enumerating report sections and the optional ledger payload. It is sufficiently complete for a read-only analytics tool, though it doesn't describe the exact JSON shape or empty-result behavior.

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?

Schema coverage is 100%, so the baseline is 3. The description adds value by grouping sections/actor/combat/since as filters and explaining includeLedger:true appends folded JSON for charts, going beyond the schema's bare field descriptions.

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 names a specific operation (fold stat-stamped chat messages into per-combat analytics) and enumerates the exact analytics categories, making the resource and output clear. It does not explicitly name a sibling tool to differentiate from, though its read-only/GM-facing framing distinguishes it from chat-log and combat-tracker utilities.

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 gives call-time filtering guidance (sections/actor/combat/since) and identifies the audience as GM-facing, which implies when it is appropriate. It does not explicitly state when to prefer this over list-chat-messages/export-chat-log or when not to use it.

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

Deploy Server

Other Tools