spell_save_dc
Calculate a D&D 5e spell save DC from an ability modifier and proficiency bonus using the standard formula.
Instructions
法术豁免 DC = 8 + 熟练 + 属性调整。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ability_mod | Yes | ||
| proficiency_bonus | Yes |
Calculate a D&D 5e spell save DC from an ability modifier and proficiency bonus using the standard formula.
法术豁免 DC = 8 + 熟练 + 属性调整。
| Name | Required | Description | Default |
|---|---|---|---|
| ability_mod | Yes | ||
| proficiency_bonus | Yes |
Changes observed during successful MCP inspections.
v0.1.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly reveals a pure arithmetic calculation with no hidden side effects. It does not state the output type or any special cases, but for a simple formula tool this is a minor gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The entire description is one compact formula with no filler. The essential computational rule is immediately visible and every word contributes to understanding the tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a two-integer deterministic computation, the formula makes the tool essentially self-explanatory. It lacks an explicit statement of the return format, but the high-level behavior and inputs are complete enough for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description fully compensates by giving the exact mathematical role of each parameter. It shows that ability_mod and proficiency_bonus are added to the constant 8, which is meaning the schema alone does not provide.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool computes spell save DC using the standard formula '8 + proficiency + ability modifier.' It is unambiguous, though it is presented as an equation rather than an explicit verb phrase and does not directly mention sibling tools such as spell_attack_bonus.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no explicit statement about when to use this tool versus alternatives like spell_attack_bonus or roll_dice. The intended use is strongly implied by the formula and tool name, but the description provides no reasoning guidance or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.