{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "accounts-os.com",
    "site": "accounts-os.com",
    "addresses": [
      {
        "address": "216.150.1.1",
        "endpoints": 947,
        "shared_infrastructure": true,
        "network": {
          "asn": 16509,
          "name": "AMAZON-02 - Amazon.com, Inc.",
          "prefix": "216.150.1.0/24",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "216.150.1.1"
        ],
        "first_seen": "2026-11-21T16:41:02.659Z",
        "last_seen": "2026-11-23T20:45:05.402Z",
        "checks": 3
      }
    ],
    "hosting": [
      {
        "value": "Vercel",
        "evidence": "Server header \"Vercel\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "AccountsOS",
      "version": "1.0.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "Vercel",
      "strict-transport-security": "max-age=31536000; includeSubDomains",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 946,
      "sample": [
        {
          "id": "225",
          "url": "https://amigurumi.ai/mcp",
          "server_name": "ai.amigurumi/patterns",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:37:01.042Z"
        },
        {
          "id": "378",
          "url": "https://bidbetter.ai/api/mcp",
          "server_name": "ai.bidbetter/collector-car-values",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:40:16.298Z"
        },
        {
          "id": "379",
          "url": "https://bidclub.ai/api/mcp",
          "server_name": "ai.bidclub/bidclub",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:40:16.575Z"
        },
        {
          "id": "413",
          "url": "https://booqer.ai/mcp",
          "server_name": "ai.booqer/booqer",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:41:03.368Z"
        },
        {
          "id": "458",
          "url": "https://calaf.ai/api/mcp",
          "server_name": "ai.calaf/seeds",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:43:02.424Z"
        },
        {
          "id": "461",
          "url": "https://callmcp.ai/mcp",
          "server_name": "ai.callmcp/server",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:43:02.588Z"
        },
        {
          "id": "465",
          "url": "https://www.canaryusers.ai/api/mcp",
          "server_name": "ai.canaryusers/canaryusers",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:43:02.707Z"
        },
        {
          "id": "523",
          "url": "https://agentmart.ciphyr.ai/mcp",
          "server_name": "ai.ciphyr.agentmart/agentmart",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:44:03.257Z"
        },
        {
          "id": "524",
          "url": "https://agentmart.ciphyr.ai/mcp/core",
          "server_name": "ai.ciphyr.agentmart/core",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:45:05.472Z"
        },
        {
          "id": "670",
          "url": "https://www.decisionlog.ai/api/mcp",
          "server_name": "ai.decisionlog/mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:47:02.624Z"
        },
        {
          "id": "754",
          "url": "https://www.edgechat.ai/mcp",
          "server_name": "ai.edgechat/edgepedia",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:49:03.533Z"
        },
        {
          "id": "906",
          "url": "https://www.frontierdesk.ai/mcp",
          "server_name": "ai.frontierdesk/desk",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:53:03.940Z"
        },
        {
          "id": "1083",
          "url": "https://govrelations.ai/mcp",
          "server_name": "ai.govrelations/govrelations",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:55:06.808Z"
        },
        {
          "id": "1353",
          "url": "https://kwekuanansi.ai/mcp/africa-contacts",
          "server_name": "ai.kwekuanansi/africa-contacts",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T05:02:01.039Z"
        },
        {
          "id": "1354",
          "url": "https://kwekuanansi.ai/mcp/africa-pay",
          "server_name": "ai.kwekuanansi/africa-pay",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T05:03:02.433Z"
        },
        {
          "id": "1355",
          "url": "https://kwekuanansi.ai/mcp/africa-scam-check",
          "server_name": "ai.kwekuanansi/africa-scam-check",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T05:04:00.724Z"
        },
        {
          "id": "1356",
          "url": "https://kwekuanansi.ai/mcp/akan-proverbs",
          "server_name": "ai.kwekuanansi/akan-proverbs",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T05:05:02.260Z"
        },
        {
          "id": "1357",
          "url": "https://kwekuanansi.ai/mcp/day-names",
          "server_name": "ai.kwekuanansi/day-names",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T06:44:01.088Z"
        },
        {
          "id": "1358",
          "url": "https://kwekuanansi.ai/mcp/exam-grades",
          "server_name": "ai.kwekuanansi/exam-grades",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T06:46:01.972Z"
        },
        {
          "id": "1359",
          "url": "https://kwekuanansi.ai/mcp/ghana-contacts",
          "server_name": "ai.kwekuanansi/ghana-contacts",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T06:47:02.970Z"
        }
      ]
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.github.paulgosnell",
      "total": 0,
      "sample": []
    },
    "same_repository": {
      "repository_url": "https://github.com/thriveventurelabs/accountsos-mcp-server",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "33809",
    "server_name": "io.github.paulgosnell/accountsos-mcp",
    "url": "https://accounts-os.com/api/mcp/plugin",
    "host": "accounts-os.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T20:45:05.402Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "3ca63a0355a034b3bd07c217dc83ec253dd4b9ce15aeb5f5975af7a0a9066b21",
    "first_listed_at": "2026-11-21T16:41:02.659Z",
    "created_at": "2026-11-21T10:55:08.052Z",
    "resolved_addresses": [
      "216.150.1.1"
    ]
  },
  "server": {
    "name": "io.github.paulgosnell/accountsos-mcp",
    "title": "AccountsOS",
    "description": "Query your live AccountsOS books: balances, transactions, VAT, deadlines, invoices.",
    "version": "0.3.2",
    "registry_status": "active",
    "repository_url": "https://github.com/thriveventurelabs/accountsos-mcp-server",
    "website_url": "https://accounts-os.com",
    "published_at": "2026-10-28T11:31:05.450Z",
    "updated_at": "2026-10-28T11:31:05.450Z",
    "first_seen": "2026-11-21T10:55:07.667Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "keeps-memory",
      "reads-chain",
      "takes-payment",
      "vector-search"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-23T20:45:16.250Z"
  },
  "operator": {
    "key": "accounts-os.com",
    "name": "accounts-os.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 1905,
    "first_check_in_window": "2026-11-21T16:41:02.659Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "3ca63a0355a034b3bd07c217dc83ec253dd4b9ce15aeb5f5975af7a0a9066b21",
    "tools": 86,
    "resources": 7,
    "prompts": 0,
    "first_seen": "2026-11-23T20:45:06.793Z",
    "tool_names": [
      "list_companies",
      "update_company",
      "link_company",
      "add_document",
      "check_company",
      "compare_salary_dividends",
      "compare_sole_trader_vs_ltd",
      "estimate_sole_trader_tax",
      "get_transactions",
      "get_balance",
      "get_deadlines",
      "get_vat_summary",
      "search_documents",
      "read_wiki",
      "search_wiki",
      "read_company_wiki",
      "search_company_wiki",
      "get_tax_facts",
      "search_tax_facts",
      "list_categories",
      "get_dla_balance",
      "get_invoices",
      "get_contacts",
      "get_bills",
      "get_estimates",
      "get_profit_and_loss",
      "get_balance_sheet",
      "get_trial_balance",
      "get_tasks",
      "get_expense_claims",
      "get_bank_accounts",
      "get_journal_entries",
      "list_opportunities",
      "get_opportunity",
      "get_income_by_currency",
      "get_financial_snapshot",
      "get_integration_status",
      "get_gst_hst_return",
      "get_gifi_status",
      "get_vat_periods",
      "get_hmrc_vat_obligations",
      "get_hmrc_vat_liabilities",
      "get_hmrc_vat_payments",
      "check_vat_number",
      "get_incoming_messages",
      "get_gov_guidance",
      "get_aged_debtors",
      "get_aged_creditors",
      "get_goals",
      "list_employees",
      "get_payroll_summary",
      "get_projects",
      "get_project_pnl",
      "get_chart_of_accounts",
      "get_filed_accounts_history",
      "get_year_on_year",
      "get_budget_vs_actual",
      "get_fx_rates",
      "get_fixed_assets",
      "get_capital_allowance_hint",
      "get_reconciliation_status",
      "get_cash_flow_forecast",
      "get_dividends",
      "get_recurring_invoices",
      "deel_list_contracts",
      "deel_get_invoices",
      "deel_get_payment_receipts",
      "deel_calculate_employment_cost",
      "deel_calculate_take_home_pay",
      "deel_get_people",
      "get_document_links",
      "find_related_documents",
      "get_accounts_status",
      "get_attention",
      "get_risk_flags",
      "lookup_company",
      "find_duplicate_bank_accounts",
      "lookup_tax_rule",
      "get_qfzp_status",
      "list_tax_rules",
      "recall_conversations",
      "get_month_close",
      "calculate_vat_period",
      "get_expenses",
      "get_statement_checks",
      "month_close_summary"
    ],
    "declared": {
      "tools": [
        {
          "name": "list_companies",
          "title": "List Companies",
          "description": "The user's business as AccountsOS holds it: each company's country, type of business, registration number, VAT registration and whether Finn covers its country, with the default one marked (for an accountancy practice, its clients). Call this first after the user connects, and use its country and type in every answer from then on. When there is more than one company, pass `company` to the other tools.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "annotations": {
            "title": "List Companies",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "update_company",
          "title": "Set Up Company",
          "description": "Save the user's answers about their own business to their AccountsOS company: what kind of business it is (entity_type, for example sole_trader or ltd), the country it is registered in (ISO code such as GB, IE, US), the company or registration number, the name, what it does, the currency, the year-end month and VAT registration. Use it during setup, and when the user corrects one of these details. For a UK or Irish limited company with a registration number, call lookup_company and then link_company instead, which fills everything from the official register. Only pass what the user told you; never guess.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "description": "Registered/legal company name (the business being kept books for)."
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "country": {
                "type": "string",
                "description": "ISO 3166-1 alpha-2 country code where the business is registered (for example GB, IE, US, AU, AE). Sets which tax rules apply. Refused once the company has bookkeeping entries."
              },
              "vat_number": {
                "type": "string",
                "description": "VAT/GST registration number. Providing a number also marks the company VAT registered unless vat_registered is explicitly false."
              },
              "entity_type": {
                "type": "string",
                "description": "Business structure (e.g. \"ltd\" for a UK limited company, \"sole_trader\", \"llp\", \"fzco\" for a UAE free-zone company). Use the value appropriate to the company's country. Drives which tax rules apply."
              },
              "trading_name": {
                "type": "string",
                "description": "Trading name / \"doing business as\", if different from the registered name."
              },
              "company_number": {
                "type": "string",
                "description": "Company/registration number (e.g. UK Companies House number, IE CRO number, DK CVR number). Setting this lets us sync filing deadlines from the registry."
              },
              "vat_registered": {
                "type": "boolean",
                "description": "Whether the business is VAT/GST registered. Set true when the user confirms they are registered, false when they confirm they are not. Also false for a business whose sales are all VAT-exempt and that cannot reclaim VAT (an investment fund, a Belgian Article 44 exempt taxpayer): it files no periodic return, so keep its vat_number and pass vat_registered false. If a UK registration has been CANCELLED, pass vat_deregistration_date instead."
              },
              "business_summary": {
                "type": "string",
                "description": "What the business does, in one plain sentence in the user's own words, e.g. \"Mobile dog groomer\" or \"Two-person web design agency\". Save it whenever the user says what they do: it tells categorisation and advice what kind of business this is."
              },
              "default_currency": {
                "type": "string",
                "description": "ISO 4217 default currency code, e.g. GBP, EUR, USD, AED, DKK. Uppercased automatically."
              },
              "incorporation_date": {
                "type": "string",
                "description": "Date the company was incorporated, YYYY-MM-DD. Pass it whenever the user tells you, and ALWAYS for a UK limited company with no company number yet (just incorporated, or not on Companies House yet): use today for \"just incorporated\". For such a company it sets up the estimated first-year deadlines (Corporation Tax registration, first confirmation statement, first accounts, first CT return) so the founder sees their first year mapped out; tell them what is coming and when."
              },
              "financial_year_end_month": {
                "type": "number",
                "description": "Month (1-12) the financial year ends. Only set when the user tells you their year-end; do not guess."
              }
            }
          },
          "annotations": {
            "title": "Set Up Company",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "link_company",
          "title": "Link Company From Register",
          "description": "Save a UK (Companies House) or Irish (CRO) company from its official register onto the user's AccountsOS company: registered name, number, status, address, directors, year-end and filing deadlines. Call it only after lookup_company found the company and the user confirmed it is theirs. Returns the year-end and the deadlines it set up: tell the user what they are.",
          "inputSchema": {
            "type": "object",
            "required": [
              "company_number"
            ],
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "company_number": {
                "type": "string",
                "description": "The confirmed register number to link and save: the Companies House number (UK), CRO number (Ireland), SIREN (France), KVK number (Netherlands) or ABN or ACN (Australia)."
              }
            }
          },
          "annotations": {
            "title": "Link Company From Register",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "add_document",
          "title": "Add Document",
          "description": "Add a file the user attached in this chat to their AccountsOS books: a bank statement, a receipt, a supplier bill or a sales invoice. AccountsOS reads it the same way as an emailed document: a bank statement is imported into a bank account (created if it does not exist yet), a receipt or bill is read and matched. Use it whenever the user attaches or mentions a financial document and wants it in their books. The result says what was found and what happened.",
          "inputSchema": {
            "type": "object",
            "required": [
              "file"
            ],
            "properties": {
              "file": {
                "type": "object",
                "required": [
                  "download_url",
                  "file_id"
                ],
                "properties": {
                  "file_id": {
                    "type": "string"
                  },
                  "file_name": {
                    "type": "string"
                  },
                  "mime_type": {
                    "type": "string"
                  },
                  "download_url": {
                    "type": "string"
                  }
                },
                "description": "The file the user attached: a bank statement (PDF, CSV or spreadsheet), a receipt, a bill or an invoice."
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Add Document",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "check_company",
          "title": "Check A UK Company",
          "description": "Check a UK limited company on its public Companies House record and show it as a card: when its accounts, confirmation statement and Corporation Tax are due, whether anything is overdue or was filed late, and a score out of 100 with the reasons. Needs no account. Use it whenever someone asks about a UK company's deadlines or standing, for example \"when is my confirmation statement due\", \"are my accounts overdue\", \"is this company in good standing\" or \"check my company\". Find the number by name with lookup_company first.",
          "inputSchema": {
            "type": "object",
            "required": [
              "company_number"
            ],
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "company_number": {
                "type": "string",
                "description": "The Companies House number."
              }
            }
          },
          "annotations": {
            "title": "Check A UK Company",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "compare_salary_dividends",
          "title": "Compare Salary And Dividends",
          "description": "Work out the most tax-efficient mix of salary and dividends for a UK limited company director from the company's profit, against taking it all as salary. An estimate for the current UK tax year. Needs no account.",
          "inputSchema": {
            "type": "object",
            "required": [
              "profit"
            ],
            "properties": {
              "profit": {
                "type": "number",
                "description": "Company profit before tax, in pounds."
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "other_income": {
                "type": "number",
                "description": "Other personal income for the year, in pounds, if any."
              },
              "has_employment_allowance": {
                "type": "boolean",
                "description": "True if the company has other employees and can claim the Employment Allowance."
              }
            }
          },
          "annotations": {
            "title": "Compare Salary And Dividends",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "compare_sole_trader_vs_ltd",
          "title": "Compare Sole Trader And Limited Company",
          "description": "Compare the tax and take-home of trading in the UK as a sole trader against a limited company, at a given profit. An estimate for the current UK tax year. Needs no account.",
          "inputSchema": {
            "type": "object",
            "required": [
              "profit"
            ],
            "properties": {
              "profit": {
                "type": "number",
                "description": "Annual profit before tax, in pounds."
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "extra_running_costs": {
                "type": "number",
                "description": "Extra yearly costs of running a company (accountant, software), in pounds, if known."
              }
            }
          },
          "annotations": {
            "title": "Compare Sole Trader And Limited Company",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "estimate_sole_trader_tax",
          "title": "Estimate Sole Trader Tax",
          "description": "Estimate the income tax and National Insurance a UK sole trader should set aside, and any payments on account, from their profit. An estimate for the current UK tax year. Needs no account.",
          "inputSchema": {
            "type": "object",
            "required": [
              "profit"
            ],
            "properties": {
              "profit": {
                "type": "number",
                "description": "Annual profit before tax, in pounds."
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Estimate Sole Trader Tax",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_transactions",
          "title": "Get Transactions",
          "description": "Get transactions for the company with optional filters. Returns currency, amount_gbp and exchange_rate. A row with expected_income: true is an uploaded sales invoice still waiting to be paid, NOT money received: leave it out of any cash, income received or bank balance figure. For currency-split income totals prefer get_income_by_currency.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "Max results (default 50, max 100)"
              },
              "offset": {
                "type": "number",
                "description": "Skip this many rows (default 0) for pagination"
              },
              "search": {
                "type": "string",
                "description": "Search in description"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "to_date": {
                "type": "string",
                "description": "End date (YYYY-MM-DD)"
              },
              "category": {
                "type": "string",
                "description": "Filter by category"
              },
              "direction": {
                "enum": [
                  "in",
                  "out"
                ],
                "type": "string",
                "description": "in = income; out = expense"
              },
              "from_date": {
                "type": "string",
                "description": "Start date (YYYY-MM-DD)"
              },
              "max_amount": {
                "type": "number",
                "description": "Maximum amount"
              },
              "min_amount": {
                "type": "number",
                "description": "Minimum amount"
              },
              "needs_review": {
                "type": "boolean",
                "description": "Only the lines Finn could not place with confidence: the same set as the 'transactions need a look' count."
              },
              "uncategorised": {
                "type": "boolean",
                "description": "Only lines with no category."
              },
              "max_confidence": {
                "type": "number",
                "description": "Only lines whose categorisation confidence is below this percentage (0 to 100). Lines with no confidence score are included."
              }
            }
          },
          "annotations": {
            "title": "Get Transactions",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_balance",
          "title": "Get Balance",
          "description": "Get current account balance",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "account_id": {
                "type": "string",
                "description": "Specific account (optional)"
              }
            }
          },
          "annotations": {
            "title": "Get Balance",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_deadlines",
          "title": "Get Deadlines",
          "description": "Get upcoming tax and filing deadlines. Each carries support (files, prepares, workpaper, reminder_only, or null for a payment) and support_note: what AccountsOS does for it. reminder_only means AccountsOS does not produce the form.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "include_completed": {
                "type": "boolean",
                "description": "Include completed deadlines"
              }
            }
          },
          "annotations": {
            "title": "Get Deadlines",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_vat_summary",
          "title": "Get Vat Summary",
          "description": "Get VAT summary for a calendar quarter, or for any VAT period with start_date and end_date",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "quarter": {
                "type": "string",
                "description": "Calendar quarter (e.g., \"Q1 2025\")"
              },
              "end_date": {
                "type": "string",
                "description": "Last day of the VAT period, YYYY-MM-DD"
              },
              "start_date": {
                "type": "string",
                "description": "First day of the VAT period, YYYY-MM-DD"
              }
            }
          },
          "annotations": {
            "title": "Get Vat Summary",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "search_documents",
          "title": "Search Documents",
          "description": "Search uploaded documents (receipts, invoices). Can also list documents by status without a query — status [\"pending\", \"error\"] is the Incoming queue. Called with no arguments it lists the newest uploads (up to 25).",
          "inputSchema": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "description": "Document type (receipt, invoice, statement)"
              },
              "query": {
                "type": "string",
                "description": "Search query (optional when filtering by status or type)"
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Filter by status: pending, error, processed, matched"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Search Documents",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "read_wiki",
          "title": "Read Wiki",
          "description": "Read a page from Finn's knowledge base — compiled UK (and US) tax and accounting guidance: rules, cross-references, edge cases, plain-English advice for company directors. Call with page=\"index\" first to list all available pages.",
          "inputSchema": {
            "type": "object",
            "required": [
              "page"
            ],
            "properties": {
              "page": {
                "type": "string",
                "description": "Wiki page name (e.g. \"index\", \"corporation-tax\", \"vat\", \"ir35\", \"us-sales-tax-nexus\"). Use \"index\" to see all pages."
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Read Wiki",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "search_wiki",
          "title": "Search Wiki",
          "description": "Search Finn's knowledge base by keyword. Returns matching page names and excerpts. Use when unsure which page covers a topic.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "query": {
                "type": "string",
                "description": "Search keyword (e.g. \"marginal relief\", \"employment allowance\", \"flat rate scheme\")"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Search Wiki",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "read_company_wiki",
          "title": "Read Company Wiki",
          "description": "Read a page from this company's private memory wiki — Finn's long-term per-company notes (preferences, decisions, people, recurring Q&A). Call with slug=\"index\" first to list available pages.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "slug": {
                "type": "string",
                "description": "Page slug (e.g. \"index\", or a specific topic). Defaults to \"index\"."
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Read Company Wiki",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "search_company_wiki",
          "title": "Search Company Wiki",
          "description": "Search this company's private memory wiki by keyword. Returns matching page slugs, titles and excerpts.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "query": {
                "type": "string",
                "description": "Search keyword"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Search Company Wiki",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_tax_facts",
          "title": "Get Tax Facts",
          "description": "Look up current UK tax rates, thresholds and allowances (income_tax, national_insurance, corporation_tax, dividends, capital_allowances, vat, pensions, mileage, self_assessment, home_office, mtd). Returns the figure plus its source.",
          "inputSchema": {
            "type": "object",
            "required": [
              "category"
            ],
            "properties": {
              "item": {
                "type": "string",
                "description": "Specific item within the category (optional — omit for all items)"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "category": {
                "type": "string",
                "description": "Tax category (e.g. \"income_tax\", \"dividends\", \"mileage\")"
              },
              "tax_year": {
                "type": "string",
                "description": "Tax year (e.g. \"2025-26\"). Defaults to current."
              }
            }
          },
          "annotations": {
            "title": "Get Tax Facts",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "search_tax_facts",
          "title": "Search Tax Facts",
          "description": "Search UK tax knowledge by keyword when unsure which category/item to look up. Returns matching tax facts across all categories.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "query": {
                "type": "string",
                "description": "Search query (e.g. \"employment allowance\", \"dividend tax\")"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "tax_year": {
                "type": "string",
                "description": "Tax year. Defaults to current."
              }
            }
          },
          "annotations": {
            "title": "Search Tax Facts",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_categories",
          "title": "List Categories",
          "description": "List available transaction categories for categorization",
          "inputSchema": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "description": "Filter by type: income, expense, asset, liability, equity"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "List Categories",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_dla_balance",
          "title": "Get Dla Balance",
          "description": "Get the Director's Loan Account (DLA) balance and recent transactions. Shows if director owes company or vice versa, with section 455 tax warnings.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "Max number of transactions to return (default 10)"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Dla Balance",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_invoices",
          "title": "Get Invoices",
          "description": "Get invoices the user has raised, with summary stats on outstanding and overdue amounts. Use when user asks about invoices, outstanding payments, or money owed to them.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "search": {
                "type": "string",
                "description": "Search by invoice number"
              },
              "status": {
                "type": "string",
                "description": "Filter by status: outstanding (every unpaid invoice), overdue (unpaid and past due), draft, sent, paid, cancelled, all"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "contact_id": {
                "type": "string",
                "description": "Filter by client/contact ID"
              }
            }
          },
          "annotations": {
            "title": "Get Invoices",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_contacts",
          "title": "Get Contacts",
          "description": "List contacts (clients, suppliers, leads). Use when user asks about customers, suppliers, or contacts.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "sort": {
                "enum": [
                  "name",
                  "newest"
                ],
                "type": "string",
                "description": "Order: name (default) or newest first"
              },
              "type": {
                "type": "string",
                "description": "Filter by type: client, supplier, lead, other"
              },
              "limit": {
                "type": "number",
                "description": "Max results (default 50)"
              },
              "search": {
                "type": "string",
                "description": "Search by name or email"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Contacts",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_bills",
          "title": "Get Bills",
          "description": "Get supplier bills/invoices owed by the company. Shows what you owe to suppliers.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "Max results (default 50)"
              },
              "status": {
                "type": "string",
                "description": "Filter: outstanding (every unpaid bill), overdue (unpaid and past due), draft, received, paid, all"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "contact_id": {
                "type": "string",
                "description": "Filter by supplier contact ID"
              }
            }
          },
          "annotations": {
            "title": "Get Bills",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_estimates",
          "title": "Get Estimates",
          "description": "Get estimates/quotes sent to clients.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "Max results (default 50)"
              },
              "status": {
                "type": "string",
                "description": "Filter: draft, sent, accepted, declined, all"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "contact_id": {
                "type": "string",
                "description": "Filter by client contact ID"
              }
            }
          },
          "annotations": {
            "title": "Get Estimates",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_profit_and_loss",
          "title": "Get Profit And Loss",
          "description": "Get Profit and Loss (income statement) report for a period.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "to_date": {
                "type": "string",
                "description": "End date (YYYY-MM-DD)"
              },
              "from_date": {
                "type": "string",
                "description": "Start date (YYYY-MM-DD)"
              }
            }
          },
          "annotations": {
            "title": "Get Profit And Loss",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_balance_sheet",
          "title": "Get Balance Sheet",
          "description": "Get Balance Sheet report as at a given date.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "as_at": {
                "type": "string",
                "description": "Report date (YYYY-MM-DD). Default: today"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Balance Sheet",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_trial_balance",
          "title": "Get Trial Balance",
          "description": "Get Trial Balance showing all account balances.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "to_date": {
                "type": "string",
                "description": "End date (YYYY-MM-DD)"
              },
              "from_date": {
                "type": "string",
                "description": "Start date (YYYY-MM-DD)"
              }
            }
          },
          "annotations": {
            "title": "Get Trial Balance",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_tasks",
          "title": "Get Tasks",
          "description": "Get tasks and to-dos for the company.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "Max results (default 20)"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "priority": {
                "type": "string",
                "description": "Filter: low, medium, high, urgent"
              },
              "completed": {
                "type": "boolean",
                "description": "Filter by completion status"
              }
            }
          },
          "annotations": {
            "title": "Get Tasks",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_expense_claims",
          "title": "Get Expense Claims",
          "description": "Get expense claims and reimbursement requests.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "Max results (default 20)"
              },
              "status": {
                "type": "string",
                "description": "Filter: draft, submitted, approved, reimbursed, rejected"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Expense Claims",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_bank_accounts",
          "title": "Get Bank Accounts",
          "description": "List bank accounts connected to the company.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Bank Accounts",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_journal_entries",
          "title": "Get Journal Entries",
          "description": "Get General Ledger journal entries. Double-entry accounting records.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "Max results (default 50)"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "to_date": {
                "type": "string",
                "description": "End date (YYYY-MM-DD)"
              },
              "from_date": {
                "type": "string",
                "description": "Start date (YYYY-MM-DD)"
              }
            }
          },
          "annotations": {
            "title": "Get Journal Entries",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_opportunities",
          "title": "List Opportunities",
          "description": "List sales pipeline opportunities/deals. Shows prospects, their stage, value, and next actions.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "Max results (default 50)"
              },
              "stage": {
                "type": "string",
                "description": "Filter by pipeline stage name"
              },
              "status": {
                "enum": [
                  "active",
                  "won",
                  "lost",
                  "all"
                ],
                "type": "string",
                "description": "Which deals to return, judged by the pipeline stage: \"active\" = still in play (default), \"won\" = in a closed-won stage, \"lost\" = in a closed-lost stage, \"all\" = every deal. This is NOT the project delivery status."
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "List Opportunities",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_opportunity",
          "title": "Get Opportunity",
          "description": "Get detailed information about a specific pipeline opportunity/deal, including notes and activity history.",
          "inputSchema": {
            "type": "object",
            "required": [
              "opportunity_id"
            ],
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "opportunity_id": {
                "type": "string",
                "description": "Opportunity/project ID"
              }
            }
          },
          "annotations": {
            "title": "Get Opportunity",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_income_by_currency",
          "title": "Get Income By Currency",
          "description": "Currency-split income (or expense) totals in ONE compact call: face totals grouped by each transaction currency (e.g. EUR face vs GBP face) PLUS the company functional-currency total for the same set. Use when the user asks \"total income in EUR and in GBP\", \"how much came in in euros vs pounds\", \"income by currency\", or wants face vs converted figures before an FX check. Do NOT page get_transactions to sum — this returns aggregates only (no transaction dump). Defaults to money-in (income); pass direction \"out\" for spend. Covers bank lines only: invoices and ledger revenue are NOT included, and a company with no bank account returns nothing here, which is not \"no income\". For income as the books record it, use get_profit_and_loss.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "to_date": {
                "type": "string",
                "description": "End date (YYYY-MM-DD), inclusive"
              },
              "direction": {
                "enum": [
                  "in",
                  "out"
                ],
                "type": "string",
                "description": "in = income / money in (default); out = spend / money out"
              },
              "from_date": {
                "type": "string",
                "description": "Start date (YYYY-MM-DD), inclusive"
              }
            }
          },
          "annotations": {
            "title": "Get Income By Currency",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_financial_snapshot",
          "title": "Get Financial Snapshot",
          "description": "Get the headline money figures in one call: cash, what the company is owed (open invoices), what it owes (open bills), and net profit this month, the EXACT numbers on the user's Home dashboard. Use for \"how am I doing\", \"how much am I owed\", \"what do I owe\", \"what's my position\", a quick business health check, or any quick headline-figure question. For how a past month went, use get_profit_and_loss for that month. For invoice/bill line-level detail use get_invoices/get_bills; for ageing use get_aged_debtors/get_aged_creditors.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Financial Snapshot",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_integration_status",
          "title": "Get Integration Status",
          "description": "See every integration for this company and user in one call: what's connected (banks, HMRC MTD, Stripe, Deel, Gmail, WhatsApp, Telegram, Slack, Xero and the rest), what's available but not connected, what is coming soon and cannot be connected yet (`coming_soon`), and whether data is actually FLOWING through each connected feed (flowing / quiet / error, last event, 7-day event count, error message). Use when the user asks about connections or channels, asks whether or when AccountsOS connects to a named app or service, when something they need for the task at hand is not connected, or when their data looks stale or missing — a dead feed is often the real cause. To OFFER to set one up, end your message with [[connect: provider_id]] on its own line (use the provider id from this tool's result, e.g. [[connect: slack]] or [[connect: mercury]]): it renders a card. OAuth providers start sign-in; API-key providers (Mercury, Stripe, Wise, Qonto, Airwallex, Starling) collect the key on a masked in-thread field. Offer at most one connection per message. Only a provider in `not_connected` can be offered. One in `coming_soon` is planned and not live: say it is coming soon, with no date, never offer to connect it, never call it available and never say it is not planned (follow `coming_soon_note`). When the result carries supplier_bills_address, that is the address the company can give its suppliers so bills arrive straight in its incoming documents (it is made from the company's VAT or tax number); say it when the user asks where suppliers should send invoices. Never ask the user to paste an API key into the chat box — the card collects it, and the key is never returned to you (you only see connected true/false).",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Integration Status",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_gst_hst_return",
          "title": "Get Gst Hst Return",
          "description": "Canada: prepare the GST/HST return (GST34) for a period: 'GST return', 'HST return', 'GST report', 'what do I owe CRA', 'my Q3 GST'. Returns every line (101 to 113C), the balance owing or refund, the due date and any warnings. Defaults to the last completed reporting period. Always use this tool for a Canadian GST/HST figure; never add up a return yourself. AccountsOS prepares the return, it does not file it with CRA. For the return as a PDF, call send_file with kind tax_return_pdf and id start..end: never create_artifact.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "end": {
                "type": "string",
                "description": "Last day of the reporting period, YYYY-MM-DD. Omit for the last completed period."
              },
              "start": {
                "type": "string",
                "description": "First day of the reporting period, YYYY-MM-DD. Omit for the last completed period."
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Gst Hst Return",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_gifi_status",
          "title": "Get Gifi Status",
          "description": "Canada: is my GIFI ready for the T2, which accounts are not mapped or need review, and do the balance checks pass. 'is my GIFI ready', 'GIFI mapping', 'T2 schedule 100 / 125'. Maps any new accounts first. AccountsOS prepares the GIFI trial balance for the accountant's T2 software, it does not prepare or file the T2.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "as_at": {
                "type": "string",
                "description": "Year to date instead of a full year: schedule 100 at this date (YYYY-MM-DD), schedule 125 from the fiscal year start to it. Use for \"GIFI at 28 Oct\" or the current year so far."
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "year_end": {
                "type": "string",
                "description": "The fiscal year end, YYYY-MM-DD. Omit for the last completed fiscal year."
              }
            }
          },
          "annotations": {
            "title": "Get Gifi Status",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_vat_periods",
          "title": "Get Vat Periods",
          "description": "List the company's VAT return periods and their status (open, locked, submitted, failed, overdue), with the net VAT due, due date, and HMRC receipt for any submitted ones. Use this FIRST when the user asks about VAT returns, \"which quarters are outstanding\", \"have I filed Q1\", or before calculating/locking/submitting — it gives you the period_id you need for the other VAT tools.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "year": {
                "type": "string",
                "description": "Optional 4-digit year filter (e.g. \"2026\")."
              },
              "limit": {
                "type": "number",
                "description": "Max periods to return (default 12)."
              },
              "status": {
                "type": "string",
                "description": "Optional filter: open, ready, locked, submitted, overdue, failed."
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Vat Periods",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_hmrc_vat_obligations",
          "title": "Get Hmrc Vat Obligations",
          "description": "Read the company's VAT obligations (the returns HMRC expects, with their period keys, start/end dates, due dates, and whether they are Open or Fulfilled) directly from HMRC MTD. Use when the user asks \"what does HMRC say I owe a return for\", \"when is my next VAT return due according to HMRC\", or to reconcile our periods against HMRC's record. Requires HMRC MTD connected.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "to": {
                "type": "string",
                "description": "End date (YYYY-MM-DD). Defaults to today."
              },
              "from": {
                "type": "string",
                "description": "Start date (YYYY-MM-DD). Defaults to 12 months ago. A range longer than about a year is capped to the year ending at the end date, so ask in yearly chunks for anything older."
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Hmrc Vat Obligations",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_hmrc_vat_liabilities",
          "title": "Get Hmrc Vat Liabilities",
          "description": "Read the company's VAT liabilities (amounts HMRC says are owed and when they are due) directly from HMRC MTD. Use when the user asks \"how much VAT do I owe HMRC\", \"what's outstanding on my VAT account\". Requires HMRC MTD connected.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "to": {
                "type": "string",
                "description": "End date (YYYY-MM-DD). Defaults to today."
              },
              "from": {
                "type": "string",
                "description": "Start date (YYYY-MM-DD). Defaults to 12 months ago. A range longer than about a year is capped to the year ending at the end date, so ask in yearly chunks for anything older."
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Hmrc Vat Liabilities",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_hmrc_vat_payments",
          "title": "Get Hmrc Vat Payments",
          "description": "Read the VAT payments HMRC has received on the company's account directly from HMRC MTD. Use when the user asks \"has HMRC received my VAT payment\", \"what VAT have I paid\". Requires HMRC MTD connected.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "to": {
                "type": "string",
                "description": "End date (YYYY-MM-DD). Defaults to today."
              },
              "from": {
                "type": "string",
                "description": "Start date (YYYY-MM-DD). Defaults to 12 months ago. A range longer than about a year is capped to the year ending at the end date, so ask in yearly chunks for anything older."
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Hmrc Vat Payments",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "check_vat_number",
          "title": "Check Vat Number",
          "description": "Check a UK VAT registration number against HMRC's live Check-a-UK-VAT-number register and return the registered trader name and address. GB only. A \"not registered\" answer is a real answer from HMRC, not an error. Use this when the user asks whether a VAT number is valid, when adding or editing a supplier or customer with a VAT number, and when a VAT number appears on a document and the user wants it confirmed. Report the registered name back to the user, and point out when it does NOT match the contact's name: a mismatch is the actual thing worth flagging.",
          "inputSchema": {
            "type": "object",
            "required": [
              "vat_number"
            ],
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "contact_id": {
                "type": "string",
                "description": "Optional. The contact this VAT number belongs to, so the result can be reported against them."
              },
              "vat_number": {
                "type": "string",
                "description": "UK VAT registration number, 9 digits, with or without the GB prefix."
              }
            }
          },
          "annotations": {
            "title": "Check Vat Number",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_incoming_messages",
          "title": "Get Incoming Messages",
          "description": "Read the company's Incoming inbox: messages that arrived by email, WhatsApp, Slack or Telegram (sender, subject, preview, attachments and their processing status), plus a count of documents still processing or failed. Use whenever the user asks what is waiting in Incoming, whether anything came in, about an email or message someone sent, or before saying Incoming is clear. Documents alone are not the whole inbox: a waiting email with a statement attached is a message.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "Max messages (default 20, max 50)"
              },
              "source": {
                "type": "string",
                "description": "Filter by channel: email, whatsapp, slack, telegram, gmail. Omit for all."
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "unread_only": {
                "type": "boolean",
                "description": "Only messages not yet opened (default false)"
              },
              "include_processed": {
                "type": "boolean",
                "description": "Also include messages already marked processed (default false: waiting only)"
              }
            }
          },
          "annotations": {
            "title": "Get Incoming Messages",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_gov_guidance",
          "title": "Get Gov Guidance",
          "description": "Search official GOV.UK tax and business guidance. Use when the user asks \"what does HMRC say about X?\", asks about tax rules, filing requirements, or wants to know the official guidance on a topic like VAT, corporation tax, dividends, or director responsibilities.",
          "inputSchema": {
            "type": "object",
            "required": [
              "topic"
            ],
            "properties": {
              "topic": {
                "type": "string",
                "description": "The topic to search for, e.g. \"VAT returns\", \"corporation tax\", \"dividends\", \"director loans\", \"expenses\""
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Gov Guidance",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_aged_debtors",
          "title": "Get Aged Debtors",
          "description": "Aged debtors report: outstanding invoices grouped by contact, bucketed by days past due (current/not-yet-due, 1-30, 31-60, 61-90, 90+). Use when the user asks \"who owes me money\", \"what's in our debtors book\", \"show aged receivables\", or wants to pick which clients to chase. Read-only.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "as_of_date": {
                "type": "string",
                "description": "Ages TODAY's open invoices as at this date (YYYY-MM-DD). It is not a historical snapshot: invoices paid since that date are not included. Defaults to the end of the user's working period, which is today when they are in the current period."
              },
              "contact_id": {
                "type": "string",
                "description": "Optional contact ID to scope the report to a single client"
              }
            }
          },
          "annotations": {
            "title": "Get Aged Debtors",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_aged_creditors",
          "title": "Get Aged Creditors",
          "description": "Aged creditors report: outstanding bills grouped by supplier, bucketed by days past due (current/not-yet-due, 1-30, 31-60, 61-90, 90+). Use when the user asks \"who do I owe\", \"what bills are due\", \"show aged payables\", or is planning supplier payments. Read-only.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "as_of_date": {
                "type": "string",
                "description": "Ages TODAY's open bills as at this date (YYYY-MM-DD). It is not a historical snapshot: bills paid since that date are not included. Defaults to the end of the user's working period, which is today when they are in the current period."
              },
              "contact_id": {
                "type": "string",
                "description": "Optional supplier contact ID to scope the report"
              }
            }
          },
          "annotations": {
            "title": "Get Aged Creditors",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_goals",
          "title": "Get Goals",
          "description": "Get active business/financial goals and their progress. Use when user asks about their goals, targets, or how they are tracking against objectives.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "description": "Filter by status: active, completed, all (default: active)"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "goal_type": {
                "type": "string",
                "description": "Filter by type: revenue_target, expense_reduction, savings_target, profit_margin, cash_reserve, debt_reduction, client_acquisition, invoice_collection, custom"
              }
            }
          },
          "annotations": {
            "title": "Get Goals",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_employees",
          "title": "List Employees",
          "description": "List active employees for the company. Use when the user asks about their employees, staff, team members, or headcount.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "include_inactive": {
                "type": "boolean",
                "description": "Include terminated/on_leave employees (default false)"
              }
            }
          },
          "annotations": {
            "title": "List Employees",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_payroll_summary",
          "title": "Get Payroll Summary",
          "description": "Get year-to-date payroll figures, last run date, and next payment due. Use when user asks about payroll costs, total salary spend, or when the next payroll run is. For a salary, drawings or \"what have I paid myself\" question read list_employees (the configured salary), this (whether payroll has run) and get_transactions (what left the bank) together: a configured salary with no payroll runs means nothing was paid through payroll, so say that and show what the bank shows.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "tax_year": {
                "type": "string",
                "description": "Tax year (e.g. \"2025-26\"). Defaults to current tax year."
              }
            }
          },
          "annotations": {
            "title": "Get Payroll Summary",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_projects",
          "title": "Get Projects",
          "description": "List projects (pipeline, active, completed). Use when the user asks about their projects, deals, or pipeline.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "search": {
                "type": "string",
                "description": "Search by project name"
              },
              "status": {
                "type": "string",
                "description": "Filter by status: pitched, won, in_progress, completed, lost, all (default: all)"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Projects",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_project_pnl",
          "title": "Get Project Pnl",
          "description": "Get a deal/project's mini P&L: income, costs by category, and net margin, computed from bank transactions linked to it, plus invoice/bill/expense-claim commitment summaries. Use for \"how is project X doing\", \"project profit\", \"mini P&L for a project\", and for the final report when a project completes. Pass project_id if known, or project_name to resolve it by name.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "project_id": {
                "type": "string",
                "description": "Project ID (preferred if known)"
              },
              "project_name": {
                "type": "string",
                "description": "Project name to resolve if project_id is not known. Case-insensitive; errors with candidate names if ambiguous."
              }
            }
          },
          "annotations": {
            "title": "Get Project Pnl",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_chart_of_accounts",
          "title": "Get Chart Of Accounts",
          "description": "List account categories (chart of accounts). Use when the user asks about their chart of accounts, account codes, or available categories for categorizing transactions. On a national chart an account marked takes_postings: false is a heading with analytic accounts under it: never post, categorise or journal to it, use one of its analytic accounts (the longer codes that start with its code) or add one with create_account_category.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "description": "Filter by type: income, expense, asset, liability, equity, cost_of_sales"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Chart Of Accounts",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_filed_accounts_history",
          "title": "Get Filed Accounts History",
          "description": "The year-by-year figures from the accounts this company has filed at Companies House, newest first: balance sheet lines (fixed assets, current assets, creditors, net assets, capital and reserves), average employees, turnover and profit after tax where the filing includes a profit and loss, and the movement in reserves against the previous year (profit after tax less dividends). Use when the user asks how last year or an earlier year went, how the business has grown, what was filed, or wants past figures beside the current books. These are the registry's snapshots, not the ledger: say \"as filed\" and never blend them with live ledger figures. A micro-entity filing has no turnover or profit; say so rather than treating a null as zero.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Filed Accounts History",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_year_on_year",
          "title": "Get Year On Year",
          "description": "How this year compares with last year and the years before: are we up or down on last year, revenue and profit trend, margin, cash at year end, year on year, same time last year, how did last year go. Returns the completed years (from the ledger or the filed accounts), the current year to date against the same months last year, and Finn's read of the trend. Use it before any 'how are we doing', planning or forecasting answer when the company has history.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Year On Year",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_budget_vs_actual",
          "title": "Get Budget Vs Actual",
          "description": "Budget vs actual: how the company is doing against its budget. Use when the user asks about budget, against budget, over budget, under budget, budget vs actual, budget variance, are we on track, or how a month, quarter or the year compares with the plan. Returns, for each income, cost of sales and expense account, the budget, the actual from the ledger, the variance (actual minus budget) and the variance percent, plus totals and net profit. Income above budget is good, costs below budget are good. hasBudget false means the company has not set a budget: say so and point them to /reports/budget, never present zeros as a result. Budgets are set on the Reports page, Budget vs actual tab. Quote figures from the result only.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "to_month": {
                "type": "string",
                "description": "Last month of the period, inclusive (YYYY-MM). Defaults to the current month."
              },
              "from_month": {
                "type": "string",
                "description": "First month of the period (YYYY-MM). Defaults to the start of the current financial year."
              }
            }
          },
          "annotations": {
            "title": "Get Budget Vs Actual",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_fx_rates",
          "title": "Get Fx Rates",
          "description": "Exchange rates: the closing rate for a currency pair on a date, or a series over a range. Use when the user asks for an exchange rate, FX, a currency conversion, what the euro to dirham or pound to dollar rate is, what a currency move cost us, or whether it is cheaper to buy in one currency or another. With one date it returns that day's closing rate. With a range of 62 days or less it returns the daily closing series and the percentage change. Over 62 days it returns monthly averages (up to 36 months). Read-only, needs no company data. Quote rates from the result only.",
          "inputSchema": {
            "type": "object",
            "required": [
              "from",
              "to"
            ],
            "properties": {
              "to": {
                "type": "string",
                "description": "Currency to convert to, three-letter code, for example AED."
              },
              "date": {
                "type": "string",
                "description": "A single date (YYYY-MM-DD). Defaults to today when no range is given."
              },
              "from": {
                "type": "string",
                "description": "Currency to convert from, three-letter code, for example EUR."
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "end_date": {
                "type": "string",
                "description": "End of a range (YYYY-MM-DD). Use with start_date."
              },
              "start_date": {
                "type": "string",
                "description": "Start of a range (YYYY-MM-DD). Use with end_date."
              }
            }
          },
          "annotations": {
            "title": "Get Fx Rates",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_fixed_assets",
          "title": "Get Fixed Assets",
          "description": "List fixed assets on the register with cost, net book value, monthly depreciation and status. Returns total_cost, total_accumulated_depreciation and total_nbv for the active assets: quote those, never add the register up yourself. Use when the user asks about their asset register, depreciation schedules, NBV, or capital items tracked per asset. Filter by active, disposed, or all.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "status": {
                "enum": [
                  "active",
                  "disposed",
                  "all"
                ],
                "type": "string",
                "description": "Filter by asset status. Defaults to active."
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Fixed Assets",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_capital_allowance_hint",
          "title": "Get Capital Allowance Hint",
          "description": "Get a tax capital allowance hint for a fixed asset (book depreciation vs tax relief). GB companies get AIA/WDA guidance from official rates; other countries get a jurisdiction note. Use when the user asks about capital allowances, AIA, or tax relief on a specific asset — not a filing computation.",
          "inputSchema": {
            "type": "object",
            "required": [
              "asset_id"
            ],
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "asset_id": {
                "type": "string",
                "description": "Fixed asset ID from get_fixed_assets"
              }
            }
          },
          "annotations": {
            "title": "Get Capital Allowance Hint",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_reconciliation_status",
          "title": "Get Reconciliation Status",
          "description": "Reconciliation per bank account: every uploaded statement with its own opening and closing balance as printed, the books' balance at its end date, the difference and whether they agree (month by month), plus the unreconciled transaction count and the newest unreconciled lines. Use it for \"does the bank agree?\", \"what was the closing balance in March?\", before quoting any reconciliation difference, when the user asks to check the books against the bank statements, or about reconciliation progress. This tool only reads: to actually reconcile (\"reconcile what you can\", \"match the receipts\", \"reconcile my bank\") call auto_match_receipts, which does the matching. Never say everything is reconciled without a result from this tool, get_attention or auto_match_receipts. Never say you cannot read balances off statements. Each statement row carries period_start, period_end, opening_balance, closing_balance, book_balance_at_end, difference, agrees and document_id. Pass bank_account_id to look at one account. It also lists who changed matched marks in the last 7 days, as the audit log records it (the user on the app pages, another person, Finn, a connected AI app, or not recorded), with times and counts: read that before explaining why a count moved, and never put a change down to something unknown when it is listed. Where a change is listed as not recorded, say the log does not record who made it: never call it automatic and never guess. It also lists bank lines added or removed in the last 7 days (line_changes: who, when, and the date, description and amount of each line): when lines have gone from an account or appeared on it, say who removed or added them from that list. The audit log records every line added and removed: never say it does not record deletions or edits. It also gives the link to download the reconciliation report (PDF or Excel), the report to give an accountant who asks for one.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "bank_account_id": {
                "type": "string",
                "description": "Limit to one bank account (optional)."
              }
            }
          },
          "annotations": {
            "title": "Get Reconciliation Status",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_cash_flow_forecast",
          "title": "Get Cash Flow Forecast",
          "description": "13-week cash-flow forecast. Returns current bank balance, projected weekly inflows/outflows/running balance for the next 13 weeks, projected low point, recurring patterns detected from history, outstanding invoices expected to clear, recurring invoice projections, and tax deadlines that could draw cash. Also returns tax_set_aside: the tax to keep aside (sales tax owed, the running company tax balance on this year's profit less tax already paid, the recommended set-aside rate and amount when one is saved, and for a company with tax instalments the next instalment, the schedule paid so far against due so far, the balance-due date and the basis). Use when the user asks about cashflow, runway, \"can I afford X\", \"when will I run out\", how much to set aside for tax, or their next tax instalment, or wants to plan ahead. Quote the figures it returns; never work out an instalment yourself.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Cash Flow Forecast",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_dividends",
          "title": "Get Dividends",
          "description": "List dividend records. Use when user asks about dividends paid, dividend history, or shareholder payments.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "Max results (default 20)"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "tax_year": {
                "type": "string",
                "description": "Filter by tax year (e.g. \"2025/26\")"
              }
            }
          },
          "annotations": {
            "title": "Get Dividends",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_recurring_invoices",
          "title": "Get Recurring Invoices",
          "description": "List recurring invoice templates. Use when user asks about recurring invoices, scheduled invoices, or subscription billing.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "status": {
                "enum": [
                  "active",
                  "paused",
                  "completed"
                ],
                "type": "string",
                "description": "Filter by status (default: active)"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Recurring Invoices",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "deel_list_contracts",
          "title": "Deel List Contracts",
          "description": "List contracts from the user's Deel account. Use when the user asks about their Deel contracts, contractors, or team members managed through Deel.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "Max results (default 20)"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "statuses": {
                "type": "string",
                "description": "Comma-separated statuses: active, completed, cancelled"
              }
            }
          },
          "annotations": {
            "title": "Deel List Contracts",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "deel_get_invoices",
          "title": "Deel Get Invoices",
          "description": "Get invoices from the user's Deel account. Shows contractor payment invoices. Use when the user asks about Deel payments, contractor invoices, or payment history.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "Max results (default 20)"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "statuses": {
                "type": "string",
                "description": "Filter by status: paid, pending, overdue"
              }
            }
          },
          "annotations": {
            "title": "Deel Get Invoices",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "deel_get_payment_receipts",
          "title": "Deel Get Payment Receipts",
          "description": "Get payment receipts from Deel showing payments made to contractors. Use when the user asks about specific Deel payments or needs payment proof.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "Max results (default 20)"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Deel Get Payment Receipts",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "deel_calculate_employment_cost",
          "title": "Deel Calculate Employment Cost",
          "description": "Calculate the total cost of hiring someone in a specific country through Deel EOR. Use when the user asks \"how much would it cost to hire in [country]?\" or about employment costs abroad.",
          "inputSchema": {
            "type": "object",
            "required": [
              "country",
              "salary",
              "currency"
            ],
            "properties": {
              "salary": {
                "type": "number",
                "description": "Annual gross salary in the country's currency"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "country": {
                "type": "string",
                "description": "Full country name (e.g., \"Portugal\", \"Germany\", \"Ireland\"). Must be the full name, not a code."
              },
              "currency": {
                "type": "string",
                "description": "Currency code (e.g., \"EUR\", \"USD\")"
              }
            }
          },
          "annotations": {
            "title": "Deel Calculate Employment Cost",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "deel_calculate_take_home_pay",
          "title": "Deel Calculate Take Home Pay",
          "description": "Calculate take-home pay for a given salary in a specific country. Use when the user asks about net pay, take-home salary, or deductions in a country.",
          "inputSchema": {
            "type": "object",
            "required": [
              "country",
              "salary",
              "currency"
            ],
            "properties": {
              "salary": {
                "type": "number",
                "description": "Annual gross salary"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "country": {
                "type": "string",
                "description": "Two-letter ISO country code (e.g., \"IE\" for Ireland, \"PT\" for Portugal)"
              },
              "currency": {
                "type": "string",
                "description": "Currency code"
              }
            }
          },
          "annotations": {
            "title": "Deel Calculate Take Home Pay",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "deel_get_people",
          "title": "Deel Get People",
          "description": "List people (contractors and employees) in the user's Deel organization. Use when the user asks about their Deel team, workforce, or contractor list.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "Max results (default 20)"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Deel Get People",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_document_links",
          "title": "Get Document Links",
          "description": "Get the documents linked to ONE entity (transaction, invoice, bill, estimate, contact, project, expense claim), or the entities linked to ONE document. Every call needs either document_id, or entity_type together with entity_id: there is no \"list all links\" call, and a call with neither returns nothing but an error. Look the id up first (get_transactions, get_invoices, search_documents), then call once per id. Use when user asks \"what documents are attached to this invoice?\" or \"show me what's linked to that receipt\".",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "entity_id": {
                "type": "string",
                "description": "Entity ID to get linked documents for"
              },
              "document_id": {
                "type": "string",
                "description": "Document ID to get links for"
              },
              "entity_type": {
                "type": "string",
                "description": "Entity type: transaction, invoice, bill, estimate, contact, project, expense_claim"
              }
            }
          },
          "annotations": {
            "title": "Get Document Links",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "find_related_documents",
          "title": "Find Related Documents",
          "description": "Find documents that might be related to an entity based on amount, vendor, date, and reference matching. Shows both already-linked documents and AI-suggested matches. Use when user asks \"are there any receipts for this transaction?\" or \"find documents related to this invoice\".",
          "inputSchema": {
            "type": "object",
            "required": [
              "entity_type",
              "entity_id"
            ],
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "entity_id": {
                "type": "string",
                "description": "Entity ID to find related documents for"
              },
              "entity_type": {
                "type": "string",
                "description": "Entity type: transaction, invoice, bill, estimate, contact, project, expense_claim"
              }
            }
          },
          "annotations": {
            "title": "Find Related Documents",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_accounts_status",
          "title": "Get Accounts Status",
          "description": "Get the status of annual accounts preparation for the current company. Returns the current accounting period, preparation status, and next steps. Use when the user asks about their annual accounts, Companies House filing, year-end accounts, or corporation tax deadline.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Accounts Status",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_attention",
          "title": "Get Attention",
          "description": "Return the proactive, ranked list of everything that currently needs the user's attention across their whole account: missing bank statements, unreconciled transactions, upcoming tax/filing deadlines, a month-end ready to close, annual accounts ready to file, overdue invoices to chase, and open tasks. Use whenever the user asks what they need to do, what's outstanding, what's missing, whether anything needs them, for a status check or 'what should I focus on'. Each item includes a plain-English reason and where to fix it. Proactively offer to help with the most important ones.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Attention",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_risk_flags",
          "title": "Get Risk Flags",
          "description": "List the entries Finn flagged for a second look before they reach a VAT return: suspect or duplicate receipts and invoices, VAT added to a zero-rated purchase, VAT that does not fit the total, personal-looking purchases and amounts out of line with a supplier. Use when the user asks about flagged, suspect, duplicate or odd entries, or when get_attention shows entries needing a second look. Each flag has entity_type, entity_id, label, severity, title and detail.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Risk Flags",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "lookup_company",
          "title": "Lookup Company",
          "description": "Look up a UK company on Companies House: search by name to find candidates, or fetch one by its number for the public record, its directors and its filing dates. Needs no account. Without an account it is UK only.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string",
                "description": "Company name to search for (returns up to ~10 candidates with number, status, and address). Use when you have a name but not a number."
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "company_number": {
                "type": "string",
                "description": "Exact company number to fetch the full record + directors + deadlines. Use once you know the number (e.g. after the user confirms a search candidate)."
              }
            }
          },
          "annotations": {
            "title": "Lookup Company",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "find_duplicate_bank_accounts",
          "title": "Find Duplicate Bank Accounts",
          "description": "Find manual bank accounts that look like the same real-world account as a live bank feed (Revolut Business, Starling, Wise, Mercury, Qonto, Airwallex, Stripe Treasury) already connected — the classic case where a user uploaded statements into a manual account, then later connected the live feed for the same account, leaving duplicate transactions that double-count cash and inflate the P&L. Returns candidate pairs with matched/unmatched transaction counts, date ranges, sample matched pairs, and an AI same-account verdict. Use when the user says their cash or balance looks wrong after connecting a bank, mentions a duplicate account, or asks why a P&L looks inflated. Read-only — use merge_bank_accounts to actually merge a pair.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Find Duplicate Bank Accounts",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "lookup_tax_rule",
          "title": "Lookup Tax Rule",
          "description": "Look up a verified tax or accounting rule by its key, for any of the 32 countries AccountsOS covers. Needs no account: pass country. Call list_tax_rules first to find the keys. If the country is not covered it says so, and you must not quote another country's rules instead.",
          "inputSchema": {
            "type": "object",
            "required": [
              "key"
            ],
            "properties": {
              "key": {
                "type": "string",
                "description": "The rule key. Use list_tax_rules to see all available keys for the active company's country."
              },
              "as_of": {
                "type": "string",
                "description": "Optional ISO date (YYYY-MM-DD) the answer must be true for. Pass this whenever the question is about a PAST period - a prior-year return, an old invoice, a historic filing - or a FUTURE one such as next year's rates, because rates change and the current rule may not be the one that applies then. The system walks the rule history and returns the version in force on that date, plus the period it applies to. Omit for questions about today: the answer is then the version in force today. A next-year rule may not be law yet; its answer says so."
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "country": {
                "type": "string",
                "description": "ISO country code of the business, such as GB, IE or US. Pass it when the user has not connected AccountsOS. Once connected, leave it out and their company's country is used."
              }
            }
          },
          "annotations": {
            "title": "Lookup Tax Rule",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_qfzp_status",
          "title": "Get Qfzp Status",
          "description": "Get the active company's QFZP (Qualifying Free Zone Person) status for UAE Corporate Tax. Returns the qualifying/non-qualifying income split, de minimis status (ok / warning / breach), free zone name, substance declaration state, and per-zone smart hints (e.g. audited accounts requirement, designated zone VAT, trade license expiry). Returns `applicable: false` for UK or UAE mainland companies. Use when the user asks about QFZP status, whether they still qualify, their de minimis headroom, or whether they'll owe 9% CT.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Qfzp Status",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_tax_rules",
          "title": "List Tax Rules",
          "description": "List the verified tax and accounting rules AccountsOS holds for a country, with their keys and summaries: VAT or GST, company tax, income tax, payroll and deadlines. Needs no account: pass country. Use it for any tax question about a named country.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "country": {
                "type": "string",
                "description": "ISO country code of the business, such as GB, IE or US. Pass it when the user has not connected AccountsOS. Once connected, leave it out and their company's country is used."
              },
              "category": {
                "type": "string",
                "description": "Optional category filter. UK categories: vat, corporation_tax, self_assessment, paye, mtd, companies_house, dividends, directors, expenses, capital_gains, capital_allowances, pensions, income_tax, national_insurance, rd_relief. UAE categories: corporate_tax, vat, excise_tax, free_zones, esr, ubo, payroll, compliance. Omit to list all."
              }
            }
          },
          "annotations": {
            "title": "List Tax Rules",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "recall_conversations",
          "title": "Recall Conversations",
          "description": "Recall what you and the user discussed in PAST conversations (across earlier sessions, including voice and video calls). Call this whenever the user asks \"what were we talking about last time?\", \"remind me what we discussed\", \"where did we leave off?\", \"what did we cover yesterday?\", or refers back to an earlier chat. Returns recent conversation summaries newest-first — each with a short summary, the key topics, any decisions made, and open action items, plus when it happened. ALWAYS call this before saying you don't remember — you DO have access to past conversations through this tool. (Distinct from read_company_wiki, which is curated durable facts, not the back-and-forth of past chats.)",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "to": {
                "type": "string",
                "description": "Optional last day to recall, YYYY-MM-DD, inclusive."
              },
              "from": {
                "type": "string",
                "description": "Optional first day to recall from, YYYY-MM-DD. Use with \"to\" when the user names a period: \"what did we do last month\", \"back in September\", \"during the year end\"."
              },
              "limit": {
                "type": "number",
                "description": "How many recent conversations to recall (default 5, max 15)."
              },
              "query": {
                "type": "string",
                "description": "Optional keyword to filter to conversations about a topic (e.g. \"VAT\", \"payroll\", \"the Acme invoice\")."
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Recall Conversations",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_month_close",
          "title": "Get Month Close",
          "description": "Check how 'closed' a month's books are. Returns a close-confidence percentage (share of the month's transactions that are categorised AND reconciled) plus exactly what still needs the founder — uncategorised transactions, categorisations you're unsure about, unreconciled lines, payments missing a receipt, and open VAT. Use when the user asks \"is my month done?\", \"close my books\", \"what's left for May?\", \"month-end\", or any close/period-end question. Defaults to the last complete month. Surface the returned message; offer to help clear each exception.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "period_start": {
                "type": "string",
                "description": "First day of the month to check, YYYY-MM-01. Omit for the last complete month."
              }
            }
          },
          "annotations": {
            "title": "Get Month Close",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "calculate_vat_period",
          "title": "Calculate Vat Period",
          "description": "Preview the 9-box VAT breakdown for a period WITHOUT locking it. Computes the boxes from the period's transactions using the same logic as the VAT page, so the user can review the figures before locking. Use when the user says \"what's my VAT for this quarter\", \"show me the 9 boxes\", or before lock_vat_period so they can check first. Read-only: does not change anything.",
          "inputSchema": {
            "type": "object",
            "required": [
              "period_id"
            ],
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "period_id": {
                "type": "string",
                "description": "VAT period ID (UUID). Use get_vat_periods to find it."
              }
            }
          },
          "annotations": {
            "title": "Calculate Vat Period",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_expenses",
          "title": "Get Expenses",
          "description": "List expense claims. Use when the user asks about expenses, expense claims, reimbursements, or receipts they have submitted.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "Max results (default 50)"
              },
              "status": {
                "type": "string",
                "description": "Filter by status: pending, approved, rejected, reimbursed, all (default: all)"
              },
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              }
            }
          },
          "annotations": {
            "title": "Get Expenses",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_statement_checks",
          "title": "Get Statement Checks",
          "description": "Each imported bank statement against the books: the statement's period, its opening and closing balance as printed, the book balance on the statement's end date, the difference and whether they agree. Use this to answer 'does the bank agree?', 'what was the closing balance in March?', or before quoting any reconciliation difference. Optional bank_account_id.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "bank_account_id": {
                "type": "string",
                "description": "Limit to one bank account (optional)."
              }
            }
          },
          "annotations": {
            "title": "Get Statement Checks",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "month_close_summary",
          "title": "Month Close Summary",
          "description": "Composite read returning everything needed to close a month in one call: P&L for the period, balance-sheet snapshot at period end, VAT summary if registered, unreconciled transaction count, outstanding invoices, and overdue deadlines. Use when the user asks about month-end, \"how did we do in [month]\", a period close, or wants a one-shot business health view. It saves several round-trips compared to calling each report tool separately.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string",
                "description": "Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default."
              },
              "period_end": {
                "type": "string",
                "description": "YYYY-MM-DD end of the period (e.g. 2026-05-31). Defaults to the last day of the previous calendar month."
              },
              "period_start": {
                "type": "string",
                "description": "YYYY-MM-DD start of the period (e.g. 2026-05-01). Defaults to the first day of the previous calendar month."
              }
            }
          },
          "annotations": {
            "title": "Month Close Summary",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "Company",
          "uri": "accountsos://company",
          "mimeType": "application/json",
          "description": "Company details and settings"
        },
        {
          "name": "Transactions",
          "uri": "accountsos://transactions",
          "mimeType": "application/json",
          "description": "Recent transactions"
        },
        {
          "name": "Documents",
          "uri": "accountsos://documents",
          "mimeType": "application/json",
          "description": "Uploaded documents"
        },
        {
          "name": "Deadlines",
          "uri": "accountsos://deadlines",
          "mimeType": "application/json",
          "description": "Tax and filing deadlines"
        },
        {
          "name": "ACCOUNTS.md",
          "uri": "accountsos://accounts-md",
          "mimeType": "text/markdown",
          "description": "The company's ACCOUNTS.md: who it is, how to do business with it, its figures with provenance, and how it works. Owner tier."
        },
        {
          "name": "Company check card",
          "uri": "ui://accountsos/company-check",
          "mimeType": "text/html;profile=mcp-app",
          "description": "Interactive card for check_company: the score out of 100, the checks behind it and the filing dates."
        },
        {
          "name": "What needs you card",
          "uri": "ui://accountsos/attention",
          "mimeType": "text/html;profile=mcp-app",
          "description": "Interactive card for get_attention: everything that needs the user, most urgent first, each with a link to fix it."
        }
      ],
      "prompts": []
    },
    "instructions": "AccountsOS is an AI accountant called Finn, on call in this chat for any tax or accounting question, at any hour. Call these tools before answering from your own knowledge: they hold verified, current rules and rates for 32 countries with their government sources, UK company checks (filing dates, anything overdue, a score out of 100), UK salary, dividend and sole trader calculations, accounting guidance and exchange rates. Anyone can use them with no account; say where each figure came from. Connecting their AccountsOS account lets Finn answer for their own business: its country, its type and its deadlines. When a question needs that, say what Finn will answer, ask them to connect, and once connected call list_companies, then answer what they asked without asking them to repeat it. From then on use the business's country and type in every answer. Keeping their own books (bank feed, statements, the ledger, returns) happens on the AccountsOS website, not in this chat: never ask for a bank statement here, and if they want Finn to keep their books, give them the website link once. Read records before drawing conclusions, and distinguish facts from assumptions. The only changes these tools make are setup: saving the user's company details (update_company, link_company) and adding a document they choose to attach (add_document). Never claim that a filing, payment, reconciliation or other bookkeeping change was made."
  },
  "changes": {
    "total": 1,
    "latest": [
      {
        "observed_at": "2026-11-23T20:45:05.402Z",
        "from_sha": "31f105e8c92feaf8a5213bf0e1f3e05ecebe4a10f3ae154d5c0a974596cce573",
        "to_sha": "3ca63a0355a034b3bd07c217dc83ec253dd4b9ce15aeb5f5975af7a0a9066b21",
        "summary": {
          "tool_changed": 1
        },
        "diff": [
          {
            "op": "changed",
            "kind": "tool",
            "name": "list_companies",
            "path": "/description",
            "after": "The user's business as AccountsOS holds it: each company's country, type of business, registration number, VAT registration and whether Finn covers its country, with the default one marked (for an accountancy practice, its clients). Call this first after the user connects, and use its country and type in every answer from then on. When there is more than one company, pass `company` to the other tools.",
            "before": "List the companies this AccountsOS account can see (for an accountancy practice, its clients), with the default one marked. Call this first when the user has more than one company, then pass `company` to the other tools."
          }
        ],
        "withheld": false
      }
    ]
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}