Skip to main content
Glama
eqlx-portfolio

eqlx-portfolio

Official
by eqlx-ai

joint_default

Read-only

Calculate the probability that two borrowers both default over a period from their default probabilities and asset correlation, with the independent baseline and default-event correlation.

Instructions

Probability that two borrowers both default in the period, from their default probabilities and the correlation of their asset values; also what it would be if they were independent, and the correlation of the two default events (null when a default probability is 0 or 1).

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_a": "<pd_a>",
      "pd_b": "<pd_b>",
      "asset_correlation": "<asset_correlation>"
    },
    "name": "joint_default"
  }
}

Input Schema

NameRequiredDescriptionDefault
pd_aYes
pd_bYes
asset_correlationYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish this as a safe, closed-world read computation, so the description only needs to add behavioral context — and it does: it discloses the extra outputs returned and the edge-case rule that event correlation is null when a default probability is 0 or 1. What it omits is the modeling assumption (asset-value/Gaussian-copula form) and valid input ranges.

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 that front-loads the primary result and then appends the secondary outputs and the null-condition caveat; no filler. It is dense but every clause carries information.

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 an output schema present, the return values are already documented, yet the description helpfully summarizes them; all three parameters are described. The definition is nearly complete for a three-parameter computation, lacking only input bounds and the underlying model assumption that determine valid calls.

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 description coverage is 0% — parameters carry only titles like 'Pd A' — so the description must compensate, and it does define all three: two default probabilities and the correlation of asset values. It stops short of units or admissible ranges (e.g., PD in [0,1], correlation in [-1,1]), which is the remaining gap.

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 specific quantity (probability both borrowers default in the period) and its inputs (default probabilities and asset-value correlation), plus the auxiliary outputs (independent-case probability and default-event correlation). It is clearly distinguishable from portfolio-level or migration siblings, though it does not name an alternative explicitly.

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 strongly implied by the precise statement of what is computed for a pair of borrowers, so an agent can infer this is the pairwise two-name joint default tool. However, there is no explicit when-to-use/when-not guidance versus siblings such as portfolio_risk or joint_migration, and no stated prerequisites.

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