Skip to main content
Glama

Prepare a portfolio review for approval

prepare_review
Idempotent

Use when an investor wants to prepare a review after get_review_changes. Use the investor's statement, expectation, falsifier, future review date and keep or reconsider choice. Ask for missing parts only. Pass the comparison's expected_revision and a new request_id. The investor opens native_url to approve, save or complete it. Preparation changes no baseline. Expires in one day. AI agents may start at most 8 new stress tests and prepared reviews a day for one investor, counted together.

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": {
      "request_id": "<request_id>",
      "expected_revision": "<expected_revision>",
      "reasoning": "<reasoning>"
    },
    "name": "prepare_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeNoOptional. Which portfolios the review covers. Leave it out for all of them.
reasoningYesThe investor's own words for this review. Ask them for each; never write these on their behalf.
request_idYesA new UUID you make up for this request. Send the same one again only to repeat the identical request. It is plumbing: never show it to the investor or ask them for it.
expected_revisionYesThe revision get_review_changes returned for the changes the investor was shown.

Output Schema

NameRequiredDescriptionDefault
dataYes
scopeYes
reasonYes
statusYes
revisionYes
native_urlYes
computed_atYes
limitationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / reasoning / properties / reviewDueDate / pattern
      Removed value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    • removedInput schema / properties / request_id / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • removedInput schema / properties / scope / properties / portfolio_ids / items / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • changedOutput schema / properties / data / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "receipts": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "baselineId": {
      -              "anyOf": [
      -                {
      -                  "format": "uuid",
      -                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "committedAt": {
      -              "format": "date-time",
      -              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      -              "type": "string"
      -            },
      -            "key": {
      -              "format": "uuid",
      -              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -              "type": "string"
      -            },
      -            "operation": {
      -              "enum": [
      -                "save_draft",
      -                "complete_review",
      -                "save_thesis_draft",
      -                "activate_thesis"
      -              ],
      -              "type": "string"
      -            },
      -            "ownerId": {
      -              "type": "string"
      -            },
      -            "payloadHash": {
      -              "pattern": "^[a-f0-9]{64}$",
      -              "type": "string"
      -            },
      -            "previewId": {
      -              "format": "uuid",
      -              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -              "type": "string"
      -            },
      -            "recordId": {
      -              "format": "uuid",
      -              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -              "type": "string"
      -            },
      -            "sourceRevision": {
      -              "pattern": "^[a-f0-9]{64}$",
      -              "type": "string"
      -            },
      -            "thesisId": {
      -              "anyOf": [
      -                {
      -                  "format": "uuid",
      -                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "thesisVersionId": {
      -              "anyOf": [
      -                {
      -                  "format": "uuid",
      -                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            }
      -          },
      -          "required": [
      -            "key",
      -            "ownerId",
      -            "operation",
      -            "payloadHash",
      -            "sourceRevision",
      -            "previewId",
      -            "recordId",
      -            "baselineId",
      -            "committedAt",
      -            "thesisId",
      -            "thesisVersionId"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 4,
      -        "type": "array"
      -      },
      -      "review": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "comparison": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "baselineId": {
      -                "anyOf": [
      -                  {
      -                    "format": "uuid",
      -                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "change": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "closing": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "corrections": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "id": {
      -                      "format": "uuid",
      -                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                      "type": "string"
      -                    },
      -                    "kind": {
      -                      "enum": [
      -                        "late_import",
      -                        "changed",
      -                        "removed"
      -                      ],
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "id",
      -                    "kind"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "costs": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "coverage": {
      -                "items": {
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              },
      -              "distributedOutsideScope": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "distributions": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "externalFlows": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "fx": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "investmentResult": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "items": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "code": {
      -                      "type": "string"
      -                    },
      -                    "sourceIds": {
      -                      "items": {
      -                        "type": "string"
      -                      },
      -                      "type": "array"
      -                    }
      -                  },
      -                  "required": [
      -                    "code",
      -                    "sourceIds"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "localPrice": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "opening": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "residual": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "ruleChanges": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "after": {
      -                      "anyOf": [
      -                        {
      -                          "additionalProperties": {},
      -                          "propertyNames": {
      -                            "type": "string"
      -                          },
      -                          "type": "object"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "before": {
      -                      "anyOf": [
      -                        {
      -                          "additionalProperties": {},
      -                          "propertyNames": {
      -                            "type": "string"
      -                          },
      -                          "type": "object"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "id": {
      -                      "type": "string"
      -                    },
      -                    "kind": {
      -                      "enum": [
      -                        "mandate",
      -                        "goal"
      -                      ],
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "kind",
      -                    "id",
      -                    "before",
      -                    "after"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "ruleObservations": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "afterBreachPp": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "beforeBreachPp": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "kind": {
      -                      "enum": [
      -                        "new_breach",
      -                        "still_breached",
      -                        "cleared",
      -                        "rule_changed",
      -                        "unavailable"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "ruleId": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "ruleId",
      -                    "kind",
      -                    "beforeBreachPp",
      -                    "afterBreachPp"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "status": {
      -                "enum": [
      -                  "first_review",
      -                  "comparable",
      -                  "partial",
      -                  "scope_changed",
      -                  "corrected"
      -                ],
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "baselineId",
      -              "status",
      -              "opening",
      -              "closing",
      -              "change",
      -              "externalFlows",
      -              "investmentResult",
      -              "localPrice",
      -              "fx",
      -              "distributions",
      -              "distributedOutsideScope",
      -              "costs",
      -              "residual",
      -              "coverage",
      -              "corrections",
      -              "ruleChanges",
      -              "items",
      -              "ruleObservations"
      -            ],
      -            "type": "object"
      -          },
      -          "detail_page": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "detail": {
      -                "description": "Which list to read more of: what changed (items), late or corrected records, changed rules, rules newly breached or cleared, or the sources behind one item.",
      -                "enum": [
      -                  "items",
      -                  "corrections",
      -                  "rule_changes",
      -                  "rule_observations",
      -                  "item_sources"
      -                ],
      -                "type": "string"
      -              },
      -              "item_index": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "next_offset": {
      -                "anyOf": [
      -                  {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "offset": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "total_items": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "detail",
      -              "offset",
      -              "total_items",
      -              "next_offset"
      -            ],
      -            "type": "object"
      -          },
      -          "expires_at": {
      -            "format": "date-time",
      -            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      -            "type": "string"
      -          },
      -          "id": {
      -            "format": "uuid",
      -            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -            "type": "string"
      -          },
      -          "omitted_details": {
      -            "additionalProperties": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "propertyNames": {
      -              "type": "string"
      -            },
      -            "type": "object"
      -          },
      -          "prepared_at": {
      -            "format": "date-time",
      -            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      -            "type": "string"
      -          },
      -          "prepared_by_agent": {
      -            "type": "boolean"
      -          },
      -          "previous_review_id": {
      -            "anyOf": [
      -              {
      -                "format": "uuid",
      -                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "reasoning": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "conversationExcerpt": {
      -                "maxLength": 12000,
      -                "type": "string"
      -              },
      -              "expectedObservation": {
      -                "maxLength": 2000,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "falsifier": {
      -                "maxLength": 2000,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "reviewDueDate": {
      -                "format": "date",
      -                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                "type": "string"
      -              },
      -              "statement": {
      -                "maxLength": 5000,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "strategyDecision": {
      -                "enum": [
      -                  "keep",
      -                  "explore"
      -                ],
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "statement",
      -              "expectedObservation",
      -              "falsifier",
      -              "reviewDueDate",
      -              "strategyDecision",
      -              "conversationExcerpt"
      -            ],
      -            "type": "object"
      -          },
      -          "source": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "captured_at": {
      -                "format": "date-time",
      -                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      -                "type": "string"
      -              },
      -              "coverage": {
      -                "items": {
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              },
      -              "currency": {
      -                "type": "string"
      -              },
      -              "portfolio_ids": {
      -                "items": {
      -                  "format": "uuid",
      -                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              },
      -              "source_revision": {
      -                "maxLength": 64,
      -                "minLength": 64,
      -                "type": "string"
      -              },
      -              "valuation_at": {
      -                "anyOf": [
      -                  {
      -                    "format": "date-time",
      -                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              }
      -            },
      -            "required": [
      -              "source_revision",
      -              "currency",
      -              "portfolio_ids",
      -              "captured_at",
      -              "valuation_at",
      -              "coverage"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "previous_review_id",
      -          "prepared_at",
      -          "expires_at",
      -          "prepared_by_agent",
      -          "source",
      -          "reasoning",
      -          "comparison",
      -          "omitted_details",
      -          "detail_page"
      -        ],
      -        "type": "object"
      -      },
      -      "state": {
      -        "enum": [
      -          "prepared",
      -          "expired",
      -          "draft_saved",
      -          "review_completed"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "review",
      -      "state",
      -      "receipts"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "receipts": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "baselineId": {
      +              "anyOf": [
      +                {
      +                  "format": "uuid",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "committedAt": {
      +              "format": "date-time",
      +              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +              "type": "string"
      +            },
      +            "key": {
      +              "format": "uuid",
      +              "type": "string"
      +            },
      +            "operation": {
      +              "enum": [
      +                "save_draft",
      +                "complete_review",
      +                "save_thesis_draft",
      +                "activate_thesis"
      +              ],
      +              "type": "string"
      +            },
      +            "ownerId": {
      +              "type": "string"
      +            },
      +            "payloadHash": {
      +              "pattern": "^[a-f0-9]{64}$",
      +              "type": "string"
      +            },
      +            "previewId": {
      +              "format": "uuid",
      +              "type": "string"
      +            },
      +            "recordId": {
      +              "format": "uuid",
      +              "type": "string"
      +            },
      +            "sourceRevision": {
      +              "pattern": "^[a-f0-9]{64}$",
      +              "type": "string"
      +            },
      +            "thesisId": {
      +              "anyOf": [
      +                {
      +                  "format": "uuid",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "thesisVersionId": {
      +              "anyOf": [
      +                {
      +                  "format": "uuid",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "ownerId",
      +            "operation",
      +            "payloadHash",
      +            "sourceRevision",
      +            "previewId",
      +            "recordId",
      +            "baselineId",
      +            "committedAt",
      +            "thesisId",
      +            "thesisVersionId"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 4,
      +        "type": "array"
      +      },
      +      "review": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "comparison": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "baselineId": {
      +                "anyOf": [
      +                  {
      +                    "format": "uuid",
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "change": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "closing": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "corrections": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "id": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    },
      +                    "kind": {
      +                      "enum": [
      +                        "late_import",
      +                        "changed",
      +                        "removed"
      +                      ],
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "id",
      +                    "kind"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "costs": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "coverage": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "distributedOutsideScope": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "distributions": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "externalFlows": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "fx": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "investmentResult": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "items": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "code": {
      +                      "type": "string"
      +                    },
      +                    "sourceIds": {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": "array"
      +                    }
      +                  },
      +                  "required": [
      +                    "code",
      +                    "sourceIds"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "localPrice": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "opening": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "residual": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "ruleChanges": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "after": {
      +                      "anyOf": [
      +                        {
      +                          "additionalProperties": {},
      +                          "propertyNames": {
      +                            "type": "string"
      +                          },
      +                          "type": "object"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "before": {
      +                      "anyOf": [
      +                        {
      +                          "additionalProperties": {},
      +                          "propertyNames": {
      +                            "type": "string"
      +                          },
      +                          "type": "object"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "id": {
      +                      "type": "string"
      +                    },
      +                    "kind": {
      +                      "enum": [
      +                        "mandate",
      +                        "goal"
      +                      ],
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "kind",
      +                    "id",
      +                    "before",
      +                    "after"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "ruleObservations": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "afterBreachPp": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "beforeBreachPp": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "kind": {
      +                      "enum": [
      +                        "new_breach",
      +                        "still_breached",
      +                        "cleared",
      +                        "rule_changed",
      +                        "unavailable"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "ruleId": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "ruleId",
      +                    "kind",
      +                    "beforeBreachPp",
      +                    "afterBreachPp"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "status": {
      +                "enum": [
      +                  "first_review",
      +                  "comparable",
      +                  "partial",
      +                  "scope_changed",
      +                  "corrected"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "baselineId",
      +              "status",
      +              "opening",
      +              "closing",
      +              "change",
      +              "externalFlows",
      +              "investmentResult",
      +              "localPrice",
      +              "fx",
      +              "distributions",
      +              "distributedOutsideScope",
      +              "costs",
      +              "residual",
      +              "coverage",
      +              "corrections",
      +              "ruleChanges",
      +              "items",
      +              "ruleObservations"
      +            ],
      +            "type": "object"
      +          },
      +          "detail_page": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "detail": {
      +                "description": "Which list to read more of: what changed (items), late or corrected records, changed rules, rules newly breached or cleared, or the sources behind one item.",
      +                "enum": [
      +                  "items",
      +                  "corrections",
      +                  "rule_changes",
      +                  "rule_observations",
      +                  "item_sources"
      +                ],
      +                "type": "string"
      +              },
      +              "item_index": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "next_offset": {
      +                "anyOf": [
      +                  {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "offset": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "total_items": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "detail",
      +              "offset",
      +              "total_items",
      +              "next_offset"
      +            ],
      +            "type": "object"
      +          },
      +          "expires_at": {
      +            "format": "date-time",
      +            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +            "type": "string"
      +          },
      +          "id": {
      +            "format": "uuid",
      +            "type": "string"
      +          },
      +          "omitted_details": {
      +            "additionalProperties": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "propertyNames": {
      +              "type": "string"
      +            },
      +            "type": "object"
      +          },
      +          "prepared_at": {
      +            "format": "date-time",
      +            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +            "type": "string"
      +          },
      +          "prepared_by_agent": {
      +            "type": "boolean"
      +          },
      +          "previous_review_id": {
      +            "anyOf": [
      +              {
      +                "format": "uuid",
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "reasoning": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "conversationExcerpt": {
      +                "maxLength": 12000,
      +                "type": "string"
      +              },
      +              "expectedObservation": {
      +                "maxLength": 2000,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "falsifier": {
      +                "maxLength": 2000,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "reviewDueDate": {
      +                "format": "date",
      +                "type": "string"
      +              },
      +              "statement": {
      +                "maxLength": 5000,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "strategyDecision": {
      +                "enum": [
      +                  "keep",
      +                  "explore"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "statement",
      +              "expectedObservation",
      +              "falsifier",
      +              "reviewDueDate",
      +              "strategyDecision",
      +              "conversationExcerpt"
      +            ],
      +            "type": "object"
      +          },
      +          "source": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "captured_at": {
      +                "format": "date-time",
      +                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +                "type": "string"
      +              },
      +              "coverage": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "currency": {
      +                "type": "string"
      +              },
      +              "portfolio_ids": {
      +                "items": {
      +                  "format": "uuid",
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "source_revision": {
      +                "maxLength": 64,
      +                "minLength": 64,
      +                "type": "string"
      +              },
      +              "valuation_at": {
      +                "anyOf": [
      +                  {
      +                    "format": "date-time",
      +                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              }
      +            },
      +            "required": [
      +              "source_revision",
      +              "currency",
      +              "portfolio_ids",
      +              "captured_at",
      +              "valuation_at",
      +              "coverage"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "previous_review_id",
      +          "prepared_at",
      +          "expires_at",
      +          "prepared_by_agent",
      +          "source",
      +          "reasoning",
      +          "comparison",
      +          "omitted_details",
      +          "detail_page"
      +        ],
      +        "type": "object"
      +      },
      +      "state": {
      +        "enum": [
      +          "prepared",
      +          "expired",
      +          "draft_saved",
      +          "review_completed"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "review",
      +      "state",
      +      "receipts"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false) it adds real operational context: preparation changes no baseline, the artifact expires in one day, a human must open native_url to approve/save/complete, and there is a shared daily quota of 8 new stress tests plus prepared reviews per investor. These are exactly the traits an agent cannot infer from structured fields.

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?

Front-loaded with the trigger, then the inputs, then the human approval step, expiry and quota. Sentences are short and nearly all earn their place; a small amount restates schema plumbing (request_id, expected_revision) rather than adding new meaning.

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

Completeness5/5

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

For a mutating, human-in-the-loop write tool with an output schema and fully documented parameters, the description covers the missing pieces: preconditions, idempotency intent, expiry, approval flow and rate limits. Nothing an agent needs to invoke it correctly appears absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema already explains each field in detail, so the baseline is 3. The description still adds workflow meaning by mapping the reasoning fields to the investor's own words ('statement, expectation, falsifier, future review date and keep or reconsider choice') and by instructing to ask only for missing parts and to carry the comparison's expected_revision, which ties parameters to the prior tool's response.

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 ('prepare a review') plus the exact precondition ('after get_review_changes'), which cleanly separates it from siblings like get_prepared_review and get_approved_review that read the artifact back. An agent knows what this creates and when in the workflow it belongs.

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

Usage Guidelines4/5

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

Gives a clear trigger ('when an investor wants to prepare a review after get_review_changes'), sequencing ('Pass the comparison's expected_revision and a new request_id'), and the follow-up path (the investor opens native_url to approve, save or complete). It lacks an explicit 'do not call this when...' exclusion or a named alternative for the read-only siblings, which keeps it short of a 5.

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.