Skip to main content
Glama

compute_power

Read-only

Compute combat power from attribute panels (attack, HP, crit rate, crit damage) using EHP×EDPS square-root model. Outputs power, EDPS, EHP, and marginal values to compare before/after attribute changes.

Instructions

战力计算(确定性引擎,EHP×EDPS 开方模型):输入属性面板(中文键如 攻击/体力/暴击率/暴击伤害),返回战力、EDPS、EHP 与各属性边际价值。用于对比改数值前后的战力变化。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
attrsYes属性面板,键可用中文(攻击/体力/暴击率/暴击伤害/攻速/防御)或英文
stdAtkNo满级标准攻击锚(默认取面板攻击值)
stdSpeedNo满级标准速度锚(默认 1,攻速倍率口径)

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?

The readOnlyHint annotation already signals a safe read-only operation, and the description adds useful behavioral context by calling it a deterministic engine and explaining the calculation model. This goes beyond the annotation without contradicting it.

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 a single dense sentence that front-loads the purpose and model, then covers input, output, and use case without wasted words. It is concise yet complete.

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?

There is no output schema, so the description helpfully lists the returned values (power, EDPS, EHP, marginal values). Combined with the schema and annotation, an agent has enough to call the tool correctly, though output structure and edge cases are not detailed.

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 the baseline is 3. The description adds example Chinese keys and the formula model, but the schema already documents attrs, stdAtk, and stdSpeed, including defaults, so no major semantic gap exists.

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 that the tool computes power using a deterministic EHP×EDPS square-root model, takes an attribute panel as input, and returns power, EDPS, EHP, and marginal values. This is specific enough to distinguish it from siblings like battle_simulate or power_curve.

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?

The description explicitly says it is for comparing power before and after changing values, giving a clear intended context. However, it does not mention exclusions or alternatives such as battle_simulate for actual battle behavior.

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