Skip to main content
Glama

frame_breakpoints

Calculate Diablo II faster cast rate, hit recovery, and block rate breakpoint tables for characters, mercenaries, monsters, forms, and mod versions using animation data and versioned game tables.

Instructions

Breakpoint table for faster cast rate (fcr), faster hit recovery (fhr) or faster block rate (fbr): each stat value where the animation gets a frame shorter, and the frames it takes from there, computed from the game's animation data (animdata.d2) and data tables for the version, so it works for mods too. character: a class (amazon, sorceress, necromancer, paladin, barbarian, druid, assassin), a mercenary (rogue, town guard, iron wolf, barbarian mercenary) or any monstats.txt Id. form: 'human' (default), or a shape-shift state for a class, e.g. 'werewolf', 'werebear' (states.txt). version: the game version the data was imported as (e.g. '1.13c'); may be left out when only one is set up. Players get one table per group of weapon classes that share an animation (e.g. a Paladin's hit recovery with a spear or staff differs), FCR adds skills cast as a sequence (Sorceress Lightning and Chain Lightning), FBR adds Holy Shield. Values are the item stat as on gear (before diminishing returns). Limits: values up to 400%; skill cast delays (cooldowns) are separate from these frames and not shown; sequence casts other than the Lightning sequence are listed as not supported; tables for a mod are only right if its animdata.d2 and tables are imported.

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": {
      "stat": "<stat>",
      "character": "<character>"
    },
    "name": "frame_breakpoints"
  }
}

Input Schema

NameRequiredDescriptionDefault
formNohuman
statYes
versionNo
characterYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are provided, so the description carries the burden: it discloses that values are pre-diminishing-returns gear stats, that skill cooldowns are excluded, that non-Lightning sequence casts are unsupported, and that mod tables are valid only if data is imported. These are meaningful scope/limitation disclosures, though it does not describe response shape (an output schema exists).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the purpose, and parameter definitions are grouped logically, but the prose is dense and runs long with clauses packed into single sentences. The information mostly earns its place yet could be tightened or bulleted for faster scanning.

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 lookup tool with four params, one enum, and an output schema handling return values, the description covers inputs, derivation source, per-group table behavior, and limits. Remaining gaps (exact character-string formats, response layout) are minor given the output schema exists.

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 0%, so the description must compensate, and it does: character enumerates valid classes/mercenaries/Id forms, form documents the default 'human' and shapeshift examples with states.txt reference, stat implies the fcr/fhr/fbr meanings, and version explains the default-null case. Only the exact accepted mercenary/Id syntax and version string format are left partly implicit.

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?

States the specific resource (breakpoint tables for fcr/fhr/fbr) and what it returns: each stat value where an animation shortens and the resulting frames. Distinguishes itself from siblings like attack_speed or calculate by naming the exact stat families and the animdata.d2 derivation.

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

Usage Guidelines4/5

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

Explains what the inputs cover (classes, mercenaries, monstats Ids) and the caveats about forms and versions, which implies when the tool applies. It does not explicitly name an alternative tool for attack-speed or damage questions, so no exclusion guidance, but the context is clear.

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