Skip to main content
Glama

cmbs.loan: CMBS loan rates, lenders and servicing

Estimate CMBS special servicing fees

estimate_special_servicing_fees
Read-onlyIdempotent

Special servicing, workout and liquidation fees on a CMBS loan for one outcome (loan corrected and paid at maturity, refinanced within 120 days of a missed maturity, or liquidated/discounted payoff), using the fee terms of a real 2025 pooling and servicing agreement: 0.25%/yr with a $3,500 monthly minimum, 1% workout fee with a $25,000 minimum, 1% to 3% liquidation fee. Returns each fee, the monthly fee and the total.

Input Schema

NameRequiredDescriptionDefault
balanceYesLoan balance in dollars, e.g. 18000000.
outcomeYescorrected = three on-time payments, the loan returns and pays off at maturity; refi120 = missed balloon only, refinanced or repaid within 120 days of maturity; payoff = discounted payoff, note sale, foreclosure or other liquidation.
proceedsNoPayoff or liquidation proceeds in dollars. Needed for outcome "payoff".
note_rate_pctNoNote rate in percent, e.g. 4.5. Needed for outcome "corrected" (the workout fee applies to interest collections).
months_to_maturityNoMonths from the loan's return to maturity, e.g. 30. Needed for outcome "corrected".
months_in_special_servicingYesMonths the loan spends with the special servicer, e.g. 9.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotent/non-destructive, so the bar is lower, and the description adds real context: the fee terms source (a 2025 PSA), rates and minimums, and what gets returned. It could still say whether inputs are validated or how the outcome enum gates optional parameters, but the disclosure is strong.

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?

Front-loaded with the core purpose and the fee terms, then closes with the return shape. It is dense but every clause earns its place; slight density in the fee-rate enumeration keeps it from a 5.

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 6 parameters and conditional-required fields all documented in the schema, and no output schema, the description supplies the return-value summary and the fee model needed to interpret results. An agent has enough to call it correctly; minor gap is that it doesn't restate which optional inputs pair with which outcome.

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% and each parameter already has a descriptive note including conditional requirements (proceeds for payoff, note_rate/months_to_maturity for corrected). The description adds no parameter-level detail beyond the outcome naming, so baseline 3 applies.

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?

States a specific verb (estimate) and resource (special servicing/workout/liquidation fees) and enumerates the three outcome branches the tool models. Clearly differentiable from siblings like special_servicing_timeline, which covers timing rather than fee math.

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 three-outcome framing (corrected, refi120, payoff) implicitly tells the agent when each computation applies, and the description makes clear this is a fee-estimation tool for a single outcome. It does not explicitly name a sibling or state exclusions, so it falls short of a full 5.

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