Skip to main content
Glama

Fee drag over time

fee_drag
Read-only

Calculate how much an annual advisory or fund fee costs over a number of years, compared with the same portfolio with no fee. Education only, not advice.

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": {
      "amount": "<amount>",
      "fee_pct": "<fee_pct>"
    },
    "name": "fee_drag"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsNo
amountYesStarting portfolio value in USD
fee_pctYesAnnual fee in percent, e.g. 1.0
gross_return_pctNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety and scope are covered by structured data. The description adds the educational-purpose caveat, but it says nothing about modeling assumptions — annual vs. continuous fee deduction, whether fees compound on a declining balance, or that returns default to a fixed rate — which materially change the number returned. A 3 reflects modest added context with real behavioral gaps.

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, front-loaded with the computation and followed by the comparison and the disclaimer. Nothing is padded or redundant.

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?

With no output schema, the description should clarify return values, but for a single-number calculator the result is fairly predictable and annotations cover the read-only profile. The main shortfall is the unstated return assumption behind 'gross_return_pct', which an agent would need in order to set that parameter confidently.

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

Parameters2/5

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

Schema coverage is only 50%: 'amount' and 'fee_pct' are documented in the schema, but 'years' and especially 'gross_return_pct' (default 7, the single biggest driver of the result) have no descriptions anywhere. The description implies a multi-year horizon and an annual fee, partially covering two params, but never explains the assumed return, so it fails to compensate for the coverage gap.

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 states a concrete verb and resource ('calculate how much an annual advisory or fund fee costs over a number of years') and adds the comparison baseline ('same portfolio with no fee'), so the agent knows exactly what computation is being requested. None of the siblings (search, get_page, after_tax_yield) overlap with this, so no disambiguation is needed.

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

Usage Guidelines3/5

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

The only usage framing is 'Education only, not advice,' which signals the intended context but is a disclaimer rather than a when-to-use/when-not rule. There is no mention of when this beats a sibling or of prerequisites (e.g., what to call first to get an amount), leaving usage implied.

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.

Resources