Analysis Credit Memo
analysis.credit_memoGenerates a first-pass commercial loan credit memo with citations from already extracted rows, returning the memo in this call. Includes a crosscheck internally. Does not run or wait for extraction or save changes. Requires mcp:read and sends bounded row evidence to an external model: at most 80 rows from the first 200 matches, with long values shortened. Returns evidence coverage metadata and assumptions.
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": {
"table_id": "<table_id>",
"memo_profile": "<memo_profile>"
},
"name": "analysis.credit_memo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | Positive integer extraction job ID. Restricts rows to that job's document file IDs and must belong to table_id in the selected project. Omitting it adds no job restriction. This selects existing evidence; it does not start or wait for extraction. | |
| filters | No | Row conditions combined with AND, also intersected with the job document restriction when job_id is supplied. An omitted or empty array adds no filtering. Each condition contains column, op, and value. | |
| table_id | Yes | ID or slug of the table containing already extracted rows in the selected project. Required even with job_id; the job must belong to this table. | |
| memo_profile | Yes | Required memo template identifier. The only supported value is commercial-loan-v1, for a first-pass commercial loan underwriting memo. | |
| project_slug | No | Slug of an owned project. Optional only when the account has exactly one visible project; required for accounts with multiple visible projects. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| evidence | No | ||
| sections | Yes | ||
| risk_score | Yes | ||
| assumptions | Yes | ||
| memo_profile | Yes |