Skip to main content
Glama
eqlx-portfolio

eqlx-portfolio

Official
by eqlx-ai

large_portfolio_benchmark

Read-only

Calculate the Basel one-factor large-portfolio benchmark for identical loans, including default rate at confidence, loss rate, expected loss, and unexpected loss.

Instructions

Loss rate of a perfectly fine-grained portfolio of identical loans in a bad year (the one-factor formula behind the Basel risk weights, without the maturity adjustment): default rate at the confidence level, loss rate, expected loss rate and the difference (unexpected loss).

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": {
      "pd": "<pd>",
      "lgd": "<lgd>",
      "asset_correlation": "<asset_correlation>"
    },
    "name": "large_portfolio_benchmark"
  }
}

Input Schema

NameRequiredDescriptionDefault
pdYes
lgdYes
confidenceNo
asset_correlationYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior4/5

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

The annotations already establish that this is a safe, closed-world read, so the description's job is to explain the computation, which it does well: it discloses the key modelling assumptions (perfectly fine-grained, identical loans, single bad year, no maturity adjustment) and enumerates what comes back. It does not mention numerical edge cases or input ranges, which is the only material omission.

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?

A single sentence front-loads the deliverable and uses a parenthetical plus a colon-list to compress the formula provenance and the four outputs without padding. Slightly dense, but every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so the description needn't explain return values, and it does correctly frame the model assumptions. However, for a four-parameter quantitative tool with zero schema descriptions, an agent still lacks the numeric domain and units for pd, lgd, and asset_correlation, which the description does not supply.

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 description coverage is 0% and none of the four parameters (pd, lgd, confidence, asset_correlation) is named or explained in the description. The phrase 'at the confidence level' loosely implies the confidence parameter, and pd/lgd are only indirectly alluded to via 'default rate' and 'loss rate', leaving units and scaling (e.g., 0.01 vs 1) completely undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete analytic object (loss rate of a perfectly fine-grained portfolio of identical loans in a bad year) and identifies the exact underlying formula (the one-factor formula behind the Basel risk weights, minus the maturity adjustment), plus the four quantities returned. The purpose is unambiguous, though it does not explicitly contrast itself with siblings such as portfolio_risk or risk_contributions.

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?

It implies usage by framing the tool as a benchmark for a perfectly fine-grained, identical-loan portfolio in a bad year, which tells an agent this is an idealized reference calculation rather than a model of a real heterogeneous book. There is no explicit when-to-use, when-not-to-use, or named alternative (e.g., portfolio_risk) guidance.

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