Skip to main content
Glama

nestegg-calculators

WACC

wacc
Read-onlyIdempotent

Weighted average cost of capital: equity and after-tax debt weighted by the capital structure. Percents in and out.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
debtYesMarket value of debt.
equityYesMarket value of equity.
taxRatePctYesTax rate in percent.
costDebtPctYesCost of debt in percent.
costEquityPctYesCost of equity in percent.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
waccPctNoWACC, percent (null if no capital).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is covered. The description adds useful behavioral detail: inputs and outputs are in percent, and tax is applied to debt after-tax, which clarifies the calculation logic beyond the schema.

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?

Two short sentences pack the essential information: the definition, the formula components, and the unit convention. No unnecessary words, perfectly front-loaded.

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?

For a simple calculator with full schema descriptions and an output schema, the description covers the core calculation logic and units. It omits edge cases, but these are not needed for a tool of this complexity.

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%, with each parameter having a description. The description adds conceptual context about the weighting formula, but does not provide additional per-parameter semantics beyond the schema, so a baseline of 3 is appropriate.

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 identifies the tool as computing the weighted average cost of capital, specifying the components (equity and after-tax debt) and weighting by capital structure. This distinguishes it from siblings like cap-rate or required-return by naming the precise financial metric.

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 provides clear context: it is for WACC calculation, with a note that debt is after-tax. It does not explicitly mention alternatives or when-not-to-use, but the formula description makes the intended use obvious, so a 4 is appropriate.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.