Skip to main content
Glama

Relendi — Commercial Real Estate Loan Tools

Compare Commercial Loan Offers

compare_loan_offers
Read-only

Rank competing loan offers by true cost of capital, not headline rate. Accounts for origination, exit and other fees over the actual term, and returns an effective rate, total cost and fee burden in basis points for each — so a 'cheaper' rate with heavy fees sorts correctly.

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": {
      "offers": "<offers>"
    },
    "name": "compare_loan_offers"
  }
}

Input Schema

NameRequiredDescriptionDefault
offersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuine value beyond that by disclosing what the caller gets back — effective rate, total cost, and fee burden in basis points per offer — and by explaining the sorting rationale, which matters since no output schema exists.

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 sentences, front-loaded with the core purpose and the reason it differs from naive rate comparison. Nothing is padding; the parenthetical fee example earns its place by preempting a likely misread.

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?

For a read-only calculator with no output schema, the description adequately explains the result shape and method, and annotations cover the safety profile. The remaining gap is input-side: fee units and the minimum-two-offer requirement are nowhere stated, which could cause malformed calls.

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?

The single top-level parameter 'offers' carries no schema description, and the description never explains its shape or the 2–6 item limits. It only hints that origination, exit and other fees feed the calculation, which is weak compensation for low schema coverage and leaves unit ambiguity (originationFee capped at 10 vs applicationFee capped at 1,000,000) unresolved.

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 and resource ('Rank competing loan offers') plus the differentiating method ('true cost of capital, not headline rate'). This is clearly distinct from siblings like calculate_payment or size_loan, which compute for a single loan rather than ranking a set of offers.

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?

Usage is only implied: the agent can infer it should call this when holding multiple competing offers. There is no explicit when-to-use/when-not, no mention of the 2–6 offer bounds the schema enforces, and no pointer to alternatives for single-loan pricing.

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