Skip to main content
Glama
suirenn0627

pokemon-mcp

by suirenn0627

calc_damage

Calculate Pokémon battle damage with multi-hit support, returning per-hit and cumulative damage range and KO percentage. Accounts for items, weather, abilities, and Terastallization.

Instructions

対面のダメージを計算(多段対応)。撃ごと/累計のレンジとKO%を返す。

  • 物理/特殊は技の分類から自動判定(物理=こうげき/ぼうぎょ、特殊=とくこう/とくぼう)。

  • protean=True で変幻自在/リベロのSTAB。tera_type 指定でテラスタルのSTAB(元タイプ一致なら2.0)。

  • item: 攻撃側の持ち物(life-orb / choice-band / choice-specs / expert-belt / muscle-band / wise-glasses / charcoal 等のタイプ強化アイテム)。

  • weather: sun/rain/sand/snow(晴れ/雨/砂/雪。日本語可)。晴れ雨は炎水技、砂雪は岩氷の防御に影響。

  • 攻守のポケモン名・技名は英語slug/日本語名どちらも可(日本語は要 build_db --aliases)。

  • tera_type は攻撃側のSTABのみに反映(防御側の相性計算には影響しない)。

  • 命中(光の粉等)は別軸。本ツールは命中前提のダメージ・KO%を返す(命中率は calc_accuracy)。 可変多段(2-5発)の ko_chance はヒット数分布で重み付け、ko_chance_all_hits は最大ヒット前提。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
attackerYes
defenderYes
moveYes
levelNo
attacker_offense_evNo
attacker_ivNo
attacker_natureNohardy
defender_hp_evNo
defender_defense_evNo
defender_ivNo
defender_natureNohardy
proteanNo
tera_typeNo
itemNo
weatherNo
critNo
otherNo
Behavior5/5

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

No annotations provided, so description carries full burden. It thoroughly explains auto physical/special classification, protean/tera_type STAB effects, item/weather influences, and the distinction between ko_chance and ko_chance_all_hits for multi-hit moves.

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?

Well-structured with bullet points and front-loaded purpose. Each sentence adds value, but given the complexity (17 params), length is justified. Slightly verbose but efficient overall.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Very comprehensive: covers return values, multi-hit nuances, weather interactions, and prerequisites (aliases). No output schema exists, but description adequately explains what is returned.

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

Parameters5/5

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

Schema description coverage is 0%, so description must compensate. It adds meaning to key parameters like item (lists examples), weather (specifies effects), protean, tera_type (only affects attacker STAB), and others, significantly enhancing beyond the schema.

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 it calculates damage in opponent battles supporting multi-hit moves, and returns range per hit/cumulative and KO%. It distinguishes from sibling calc_accuracy by explicitly noting accuracy is separate.

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?

Provides explicit guidance: when to use (damage calculation with various factors), when not (accuracy handled by calc_accuracy), and explains behaviors like multi-hit KO chance weighting and the need for aliases for Japanese names.

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/suirenn0627/pokemon-mcp'

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