Skip to main content
Glama
Beankeeper

Beankeeper

Official

report

Read-only

Run financial statements and analyses for a company, covering trends, balances, aging, cash flow, budgets, and reconciliation, by selecting the kind and date range.

Instructions

Run a financial report for company. Set kind to the report to run (required); each kind below lists the fields it accepts. Use chart=true for supported charts and chart_all=true for all series. Optional fields unless marked required:

  • trend: metric (required), from, to, period, currency, compare, explain_change.

  • trial-balance: from, to or as_of, account_type, currency, period, compare, explain_change.

  • balance: account (required), from, to or as_of, currency, compare, explain_change.

  • income-statement: from, to, currency, period, compare, explain_change.

  • balance-sheet: to or as_of, currency, compare, explain_change.

  • schedule-c and tax-summary: from, to, currency.

  • 1099 (alias 1099-nec): from, to, currency, threshold.

  • ledger: account, from, to, currency, filter_metadata.

  • budget-variance: year (required), month or from/to (month numbers), account_type, currency, include_unbudgeted.

  • aging: account (at least one required), as_of, include_children, buckets, group_by_metadata, currency, method, link_key, detail, group_across_accounts, filter_metadata. Ages journal charges on accounts by posting date; for typed invoices and bills by due date, use document_aging. method specific (default) applies document allocations exactly, then each payment to the charge its link names (a payment link, else link_key metadata), then oldest-first; fifo applies all payments oldest-first. Account aging and document_aging agree per typed invoice when its payments are allocated. link_key (default applies_to) is the payment's metadata key pointing at its charge: the charge's reference or txn:.

  • reconciliation: account (required), to or as_of, mode, link_key, statement_balance, statement, filter_metadata, group_by_metadata, currency. Settlement mode matches payments to charges by link_key, as in aging.

  • cash-flow: from, to, cash_account, currency, compare, explain_change.

  • cash-forecast: as_of and through required; cadence, cash_account, currency, adjust, link_sources (scheduled:TEMPLATE:DATE=open-item:DOCUMENT). Use only one of as_of and to. For date-range reports without as_of, use from and to.

Input Schema

NameRequiredDescriptionDefault
kindYes
chartNoRequest versioned chart data with exact major-unit decimal strings.
companyYes
chart_allNoReturn every chart category/series; requires chart.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.2.0
    • changedInput schema / oneOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "compare": {
      -        "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
      -        "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "currency": {
      -        "default": null,
      -        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "explain_change": {
      -        "pattern": "^[0-9.-]+$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "from": {
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "kind": {
      -        "const": "trend",
      -        "type": "string"
      -      },
      -      "metric": {
      -        "description": "Quantity tracked by a historical trend report.",
      -        "enum": [
      -          "spending",
      -          "net-worth"
      -        ],
      -        "type": "string"
      -      },
      -      "period": {
      -        "enum": [
      -          "month",
      -          "quarter",
      -          "year",
      -          null
      -        ],
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "to": {
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "metric"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "not": {
      -      "required": [
      -        "to",
      -        "as_of"
      -      ]
      -    },
      -    "properties": {
      -      "account_type": {
      -        "enum": [
      -          "asset",
      -          "liability",
      -          "equity",
      -          "revenue",
      -          "expense",
      -          null
      -        ],
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "as_of": {
      -        "description": "Inclusive end date. Supply either `to` or `as_of`.",
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "compare": {
      -        "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
      -        "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "currency": {
      -        "default": null,
      -        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "explain_change": {
      -        "pattern": "^[0-9.-]+$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "from": {
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "kind": {
      -        "const": "trial-balance",
      -        "type": "string"
      -      },
      -      "period": {
      -        "enum": [
      -          "month",
      -          "quarter",
      -          "year",
      -          null
      -        ],
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "to": {
      -        "description": "Inclusive end date. Supply either `to` or `as_of`.",
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "kind"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "not": {
      -      "required": [
      -        "to",
      -        "as_of"
      -      ]
      -    },
      -    "properties": {
      -      "account": {
      -        "pattern": "^[0-9.-]+$",
      -        "type": "string"
      -      },
      -      "as_of": {
      -        "description": "Inclusive end date. Supply either `to` or `as_of`.",
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "compare": {
      -        "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
      -        "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "currency": {
      -        "default": null,
      -        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "explain_change": {
      -        "pattern": "^[0-9.-]+$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "from": {
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "kind": {
      -        "const": "balance",
      -        "type": "string"
      -      },
      -      "to": {
      -        "description": "Inclusive end date. Supply either `to` or `as_of`.",
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "account"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "allow_incomplete": {
      -        "default": false,
      -        "type": "boolean"
      -      },
      -      "basis": {
      -        "anyOf": [
      -          {
      -            "description": "Basis selected for a profit and loss statement.",
      -            "oneOf": [
      -              {
      -                "const": "accrual",
      -                "description": "Recognize the recorded journal on its posting date.",
      -                "type": "string"
      -              },
      -              {
      -                "const": "cash",
      -                "description": "Recognize supported receipts and disbursements.",
      -                "type": "string"
      -              }
      -            ]
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "card_accounts": {
      -        "default": [],
      -        "items": {
      -          "pattern": "^[0-9.-]+$",
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "compare": {
      -        "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
      -        "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "currency": {
      -        "default": null,
      -        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "explain_change": {
      -        "pattern": "^[0-9.-]+$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "from": {
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "kind": {
      -        "const": "income-statement",
      -        "type": "string"
      -      },
      -      "period": {
      -        "enum": [
      -          "month",
      -          "quarter",
      -          "year",
      -          null
      -        ],
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "to": {
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "kind"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "not": {
      -      "required": [
      -        "to",
      -        "as_of"
      -      ]
      -    },
      -    "properties": {
      -      "as_of": {
      -        "description": "Inclusive end date. Supply either `to` or `as_of`.",
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "compare": {
      -        "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
      -        "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "currency": {
      -        "default": null,
      -        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "explain_change": {
      -        "pattern": "^[0-9.-]+$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "kind": {
      -        "const": "balance-sheet",
      -        "type": "string"
      -      },
      -      "to": {
      -        "description": "Inclusive end date. Supply either `to` or `as_of`.",
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "kind"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "currency": {
      -        "default": null,
      -        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "from": {
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "kind": {
      -        "const": "schedule-c",
      -        "type": "string"
      -      },
      -      "to": {
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "kind"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "currency": {
      -        "default": null,
      -        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "from": {
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "kind": {
      -        "const": "1099",
      -        "type": "string"
      -      },
      -      "threshold": {
      -        "description": "Nonnegative decimal in major currency units; defaults to \"600\".",
      -        "pattern": "^[+-]?[0-9]+(\\.[0-9]*)?$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "to": {
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "kind"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "currency": {
      -        "default": null,
      -        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "from": {
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "kind": {
      -        "const": "tax-summary",
      -        "type": "string"
      -      },
      -      "to": {
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "kind"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "account": {
      -        "default": [],
      -        "items": {
      -          "pattern": "^[0-9.-]+$",
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "currency": {
      -        "default": null,
      -        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "filter_metadata": {
      -        "default": [],
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "from": {
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "kind": {
      -        "const": "ledger",
      -        "type": "string"
      -      },
      -      "to": {
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "kind"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "account_type": {
      -        "enum": [
      -          "asset",
      -          "liability",
      -          "equity",
      -          "revenue",
      -          "expense",
      -          null
      -        ],
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "currency": {
      -        "default": null,
      -        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "from": {
      -        "maximum": 12,
      -        "minimum": 1,
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "include_unbudgeted": {
      -        "default": false,
      -        "type": "boolean"
      -      },
      -      "kind": {
      -        "const": "budget-variance",
      -        "type": "string"
      -      },
      -      "month": {
      -        "maximum": 12,
      -        "minimum": 1,
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "to": {
      -        "maximum": 12,
      -        "minimum": 1,
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "year": {
      -        "format": "int32",
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "year"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "account": {
      -        "items": {
      -          "pattern": "^[0-9.-]+$",
      -          "type": "string"
      -        },
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "as_of": {
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "buckets": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "currency": {
      -        "default": null,
      -        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "detail": {
      -        "default": false,
      -        "type": "boolean"
      -      },
      -      "filter_metadata": {
      -        "default": [],
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "group_across_accounts": {
      -        "default": false,
      -        "type": "boolean"
      -      },
      -      "group_by_counterparty": {
      -        "default": false,
      -        "type": "boolean"
      -      },
      -      "group_by_metadata": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "include_children": {
      -        "default": false,
      -        "type": "boolean"
      -      },
      -      "kind": {
      -        "const": "aging",
      -        "type": "string"
      -      },
      -      "link_key": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "method": {
      -        "enum": [
      -          "fifo",
      -          "specific",
      -          null
      -        ],
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "account"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "not": {
      -      "required": [
      -        "to",
      -        "as_of"
      -      ]
      -    },
      -    "properties": {
      -      "account": {
      -        "pattern": "^[0-9.-]+$",
      -        "type": "string"
      -      },
      -      "as_of": {
      -        "description": "Inclusive end date. Supply either `to` or `as_of`.",
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "currency": {
      -        "default": null,
      -        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "filter_metadata": {
      -        "default": [],
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "group_by_metadata": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "kind": {
      -        "const": "reconciliation",
      -        "type": "string"
      -      },
      -      "link_key": {
      -        "description": "Settlement link metadata key; defaults to `applies_to`.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "mode": {
      -        "description": "Bank balances (default) or statement-scoped AR/AP settlements.",
      -        "enum": [
      -          "bank",
      -          "settlement",
      -          null
      -        ],
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "statement": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "statement_balance": {
      -        "pattern": "^[+-]?[0-9]+(\\.[0-9]*)?$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "to": {
      -        "description": "Inclusive end date. Supply either `to` or `as_of`.",
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "account"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "cash_account": {
      -        "default": [],
      -        "items": {
      -          "pattern": "^[0-9.-]+$",
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "compare": {
      -        "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
      -        "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "currency": {
      -        "default": null,
      -        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "explain_change": {
      -        "pattern": "^[0-9.-]+$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "from": {
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "kind": {
      -        "const": "cash-flow",
      -        "type": "string"
      -      },
      -      "to": {
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "kind"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "adjust": {
      -        "default": [],
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "as_of": {
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": "string"
      -      },
      -      "cadence": {
      -        "enum": [
      -          "weekly",
      -          "monthly",
      -          null
      -        ],
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "cash_account": {
      -        "default": [],
      -        "items": {
      -          "pattern": "^[0-9.-]+$",
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "currency": {
      -        "default": null,
      -        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "kind": {
      -        "const": "cash-forecast",
      -        "type": "string"
      -      },
      -      "link_sources": {
      -        "default": [],
      -        "description": "Confirmed scheduled:TEMPLATE:DATE=open-item:DOCUMENT source links.",
      -        "items": {
      -          "description": "One projected schedule occurrence explicitly designated to pay one open item.",
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "through": {
      -        "format": "date",
      -        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "as_of",
      -      "through"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "compare": {
      +        "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
      +        "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "currency": {
      +        "default": null,
      +        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "explain_change": {
      +        "pattern": "^[0-9.-]+$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "from": {
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "kind": {
      +        "const": "trend",
      +        "type": "string"
      +      },
      +      "metric": {
      +        "description": "Quantity tracked by a historical trend report.",
      +        "enum": [
      +          "spending",
      +          "net-worth"
      +        ],
      +        "type": "string"
      +      },
      +      "period": {
      +        "enum": [
      +          "month",
      +          "quarter",
      +          "year",
      +          null
      +        ],
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "to": {
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "metric"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "not": {
      +      "required": [
      +        "to",
      +        "as_of"
      +      ]
      +    },
      +    "properties": {
      +      "account_type": {
      +        "enum": [
      +          "asset",
      +          "liability",
      +          "equity",
      +          "revenue",
      +          "expense",
      +          null
      +        ],
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "as_of": {
      +        "description": "Inclusive end date. Supply either `to` or `as_of`.",
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "compare": {
      +        "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
      +        "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "currency": {
      +        "default": null,
      +        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "explain_change": {
      +        "pattern": "^[0-9.-]+$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "from": {
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "kind": {
      +        "const": "trial-balance",
      +        "type": "string"
      +      },
      +      "period": {
      +        "enum": [
      +          "month",
      +          "quarter",
      +          "year",
      +          null
      +        ],
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "to": {
      +        "description": "Inclusive end date. Supply either `to` or `as_of`.",
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "not": {
      +      "required": [
      +        "to",
      +        "as_of"
      +      ]
      +    },
      +    "properties": {
      +      "account": {
      +        "pattern": "^[0-9.-]+$",
      +        "type": "string"
      +      },
      +      "as_of": {
      +        "description": "Inclusive end date. Supply either `to` or `as_of`.",
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "compare": {
      +        "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
      +        "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "currency": {
      +        "default": null,
      +        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "explain_change": {
      +        "pattern": "^[0-9.-]+$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "from": {
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "kind": {
      +        "const": "balance",
      +        "type": "string"
      +      },
      +      "to": {
      +        "description": "Inclusive end date. Supply either `to` or `as_of`.",
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "account"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "allow_incomplete": {
      +        "default": false,
      +        "type": "boolean"
      +      },
      +      "basis": {
      +        "anyOf": [
      +          {
      +            "description": "Basis selected for a profit and loss statement.",
      +            "oneOf": [
      +              {
      +                "const": "accrual",
      +                "description": "Recognize the recorded journal on its posting date.",
      +                "type": "string"
      +              },
      +              {
      +                "const": "cash",
      +                "description": "Recognize supported receipts and disbursements.",
      +                "type": "string"
      +              }
      +            ]
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "card_accounts": {
      +        "default": [],
      +        "items": {
      +          "pattern": "^[0-9.-]+$",
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "compare": {
      +        "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
      +        "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "currency": {
      +        "default": null,
      +        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "explain_change": {
      +        "pattern": "^[0-9.-]+$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "from": {
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "kind": {
      +        "const": "income-statement",
      +        "type": "string"
      +      },
      +      "period": {
      +        "enum": [
      +          "month",
      +          "quarter",
      +          "year",
      +          null
      +        ],
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "to": {
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "not": {
      +      "required": [
      +        "to",
      +        "as_of"
      +      ]
      +    },
      +    "properties": {
      +      "as_of": {
      +        "description": "Inclusive end date. Supply either `to` or `as_of`.",
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "compare": {
      +        "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
      +        "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "currency": {
      +        "default": null,
      +        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "explain_change": {
      +        "pattern": "^[0-9.-]+$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "kind": {
      +        "const": "balance-sheet",
      +        "type": "string"
      +      },
      +      "to": {
      +        "description": "Inclusive end date. Supply either `to` or `as_of`.",
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "currency": {
      +        "default": null,
      +        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "from": {
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "kind": {
      +        "const": "schedule-c",
      +        "type": "string"
      +      },
      +      "to": {
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "currency": {
      +        "default": null,
      +        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "from": {
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "kind": {
      +        "const": "1099",
      +        "type": "string"
      +      },
      +      "threshold": {
      +        "description": "Nonnegative decimal in major currency units; defaults to \"600\".",
      +        "pattern": "^[+-]?[0-9]+(\\.[0-9]*)?$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "to": {
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "currency": {
      +        "default": null,
      +        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "from": {
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "kind": {
      +        "const": "tax-summary",
      +        "type": "string"
      +      },
      +      "to": {
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "account": {
      +        "default": [],
      +        "items": {
      +          "pattern": "^[0-9.-]+$",
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "currency": {
      +        "default": null,
      +        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "filter_metadata": {
      +        "default": [],
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "from": {
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "kind": {
      +        "const": "ledger",
      +        "type": "string"
      +      },
      +      "to": {
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "account_type": {
      +        "enum": [
      +          "asset",
      +          "liability",
      +          "equity",
      +          "revenue",
      +          "expense",
      +          null
      +        ],
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "currency": {
      +        "default": null,
      +        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "from": {
      +        "maximum": 12,
      +        "minimum": 1,
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "include_unbudgeted": {
      +        "default": false,
      +        "type": "boolean"
      +      },
      +      "kind": {
      +        "const": "budget-variance",
      +        "type": "string"
      +      },
      +      "month": {
      +        "maximum": 12,
      +        "minimum": 1,
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "to": {
      +        "maximum": 12,
      +        "minimum": 1,
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "year": {
      +        "format": "int32",
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "year"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "account": {
      +        "items": {
      +          "pattern": "^[0-9.-]+$",
      +          "type": "string"
      +        },
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "as_of": {
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "buckets": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "currency": {
      +        "default": null,
      +        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "detail": {
      +        "default": false,
      +        "type": "boolean"
      +      },
      +      "filter_metadata": {
      +        "default": [],
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "group_across_accounts": {
      +        "default": false,
      +        "type": "boolean"
      +      },
      +      "group_by_counterparty": {
      +        "default": false,
      +        "type": "boolean"
      +      },
      +      "group_by_metadata": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "include_children": {
      +        "default": false,
      +        "type": "boolean"
      +      },
      +      "kind": {
      +        "const": "aging",
      +        "type": "string"
      +      },
      +      "link_key": {
      +        "description": "Payment metadata key pointing at the charge it paid; defaults to\n`applies_to`. Values: the charge's reference (`\"#122\"` is a reference),\n`\"txn:<id>\"` or a JSON integer for a transaction ID, or an array of\nthese. A digits-only string is an ID only if no reference matches.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "method": {
      +        "description": "How payments meet charges. `specific` (default) applies document\nallocations exactly, then a linked payment (a `payment` transaction\nlink, else `link_key` metadata) to its charge, and the rest\noldest-first; `fifo` ignores allocations and links.",
      +        "enum": [
      +          "fifo",
      +          "specific",
      +          null
      +        ],
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "account"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "not": {
      +      "required": [
      +        "to",
      +        "as_of"
      +      ]
      +    },
      +    "properties": {
      +      "account": {
      +        "pattern": "^[0-9.-]+$",
      +        "type": "string"
      +      },
      +      "as_of": {
      +        "description": "Inclusive end date. Supply either `to` or `as_of`.",
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "currency": {
      +        "default": null,
      +        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "filter_metadata": {
      +        "default": [],
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "group_by_metadata": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "kind": {
      +        "const": "reconciliation",
      +        "type": "string"
      +      },
      +      "link_key": {
      +        "description": "Settlement mode: payment metadata key pointing at the charge it paid;\ndefaults to `applies_to`. Values: the charge's reference or\n`\"txn:<id>\"`, or an array of these.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "mode": {
      +        "description": "Bank balances (default) or statement-scoped AR/AP settlements.",
      +        "enum": [
      +          "bank",
      +          "settlement",
      +          null
      +        ],
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "statement": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "statement_balance": {
      +        "pattern": "^[+-]?[0-9]+(\\.[0-9]*)?$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "to": {
      +        "description": "Inclusive end date. Supply either `to` or `as_of`.",
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "account"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "cash_account": {
      +        "default": [],
      +        "items": {
      +          "pattern": "^[0-9.-]+$",
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "compare": {
      +        "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
      +        "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "currency": {
      +        "default": null,
      +        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "explain_change": {
      +        "pattern": "^[0-9.-]+$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "from": {
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "kind": {
      +        "const": "cash-flow",
      +        "type": "string"
      +      },
      +      "to": {
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "adjust": {
      +        "default": [],
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "as_of": {
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": "string"
      +      },
      +      "cadence": {
      +        "enum": [
      +          "weekly",
      +          "monthly",
      +          null
      +        ],
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "cash_account": {
      +        "default": [],
      +        "items": {
      +          "pattern": "^[0-9.-]+$",
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "currency": {
      +        "default": null,
      +        "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "kind": {
      +        "const": "cash-forecast",
      +        "type": "string"
      +      },
      +      "link_sources": {
      +        "default": [],
      +        "description": "Confirmed scheduled:TEMPLATE:DATE=open-item:DOCUMENT source links.",
      +        "items": {
      +          "description": "One projected schedule occurrence explicitly designated to pay one open item.",
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "through": {
      +        "format": "date",
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "as_of",
      +      "through"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / kind
      Added value: +{
      +  "enum": [
      +    "trend",
      +    "trial-balance",
      +    "balance",
      +    "income-statement",
      +    "balance-sheet",
      +    "schedule-c",
      +    "1099",
      +    "tax-summary",
      +    "ledger",
      +    "budget-variance",
      +    "aging",
      +    "reconciliation",
      +    "cash-flow",
      +    "cash-forecast"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "company"
      -]New value: +[
      +  "company",
      +  "kind"
      +]
  2. First observedv1.1.0

TDQS

A4/5.0
Behavior4/5

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

readOnlyHint=true already establishes the safety profile, and the description adds real behavior: chart data is versioned with exact major-unit decimals, chart_all requires chart, as_of/to are mutually exclusive, and aging/reconciliation settlement semantics are explained (specific vs fifo, link_key resolution order, and the agreement guarantee with document_aging). It does not describe response shape, size, or runtime cost for the heavier kinds such as ledger or cash-forecast.

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?

The definition is long but front-loaded and scannable, with a one-line purpose followed by a per-kind bullet list and closing date rules. Some content duplicates the schema's own descriptions (method, link_key, currency) and the aging sentence is dense, but no sentence is filler.

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?

For a 14-kind reporting tool with no output schema, the description never characterizes what a report response contains, how large it may be, or how chart payloads differ from tabular ones, so the agent must guess at result shape. Coverage of required inputs per kind is good, but the omitted fields and the unsupported 1099 alias leave correctness gaps an agent could hit in practice.

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?

The per-kind field inventory is genuinely valuable over a 14-branch oneOf, but the claim that "each kind below lists the fields it accepts" is inaccurate: income-statement also accepts basis, card_accounts, and allow_incomplete, and aging accepts group_by_counterparty, none of which appear. The description also advertises "1099 (alias 1099-nec)" while the schema's kind enum only permits "1099", which could lead an agent to send a value the schema rejects; with 50% schema coverage, several listed fields (period, compare, explain_change, buckets, adjust) get no explanation either way.

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?

The first sentence states a specific verb and resource ("Run a financial report for company") and the body enumerates every supported report kind, so the agent knows exactly what the tool produces. It also names the sibling it is not, routing typed-invoice/bill aging to document_aging, which separates it from a close neighbor.

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?

Strong conditional guidance: per-kind required fields, "Use chart=true for supported charts and chart_all=true for all series," "Use only one of as_of and to," and the explicit document_aging redirect for due-date aging. What is missing is any statement about which of the many report kinds to choose for a given analytical question, leaving the agent to infer intent-to-kind mapping.

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

Deploy Server

Other Tools