Skip to main content
Glama
eqlx-portfolio

eqlx-portfolio

Official
by eqlx-ai

joint_migration

Read-only

Computes joint year-end rating migration probabilities for two borrowers using their state probabilities and asset correlation, and returns asset-return thresholds plus the joint probability table.

Instructions

Joint probabilities of the year-end ratings of two borrowers. Each list gives one borrower's probabilities of ending in each state, best rating first and default last. Returns each borrower's asset return thresholds (null where a state has no probability and the threshold is infinite) and the table of joint probabilities (rows: borrower A).

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": {
      "probs_a": "<probs_a>",
      "probs_b": "<probs_b>",
      "asset_correlation": "<asset_correlation>"
    },
    "name": "joint_migration"
  }
}

Input Schema

NameRequiredDescriptionDefault
probs_aYes
probs_bYes
asset_correlationYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior3/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 the safety profile is covered. The description adds real behavioral detail about input ordering (best rating first, default last) and output shape (null threshold when infinite, table rows keyed to borrower A). It does not, however, state any input constraints — whether probability lists must sum to 1 or share length — which matters for a numeric model routine.

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?

One short paragraph, front-loaded with what is computed, followed by input convention and return values. Every sentence carries information needed to interpret the inputs or outputs.

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 return values need not be spelled out, and annotations cover safety. Gaps remain on input validation semantics: required list length equality, probability normalization, and the correlation's scale. For a compact but numerically precise tool, those omissions are the main risk of misuse.

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%, so the description carries the burden. It does define probs_a and probs_b implicitly as per-borrower state probability lists with a fixed descending order, which is genuinely useful. However, asset_correlation — a required numeric parameter — is never mentioned, and the correlation's units/scale are left undefined.

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 computation — joint probabilities of year-end ratings for two borrowers — with a clear resource and scope, so an agent can distinguish it from siblings like joint_default or loan_price. It stops short of explicitly stating how it differs from those siblings, but the computed quantity is specific enough to route correctly.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no prerequisites, and no mention of an alternative (e.g., joint_default for the simpler default-only case). Usage is only implied by the described output, leaving the agent to infer the context of application.

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