Developers

check_red_flags

Red flags · Live · 50 credits. See all MCP tools.

Result#

What the tool returned on the docs' test data, whose clock reads October 5, 2026, calling as a buyer's AI host. IDs are placeholders.

structuredContent
{
  "data": {
    "items": [
      {
        "id": "customer_concentration",
        "text": "The largest customer is 32% of revenue: check its contract, terms and history.",
        "status": "flagged",
        "stage": "diligence",
        "why": "One customer at 20% of revenue or more is a concentration risk that buyers and lenders ask about.",
        "source": "r1"
      },
      {
        "id": "lease_vs_loan_term",
        "text": "The lease runs to Jun 30, 2031, about 64 months before a 120-month loan from today would end: ask the landlord about an extension and the lender about its lease rule.",
        "status": "flagged",
        "stage": "finance",
        "why": "Lenders compare the lease, counting only renewal options the tenant controls, with the loan term; a lease that ends first can block or reshape the loan.",
        "source": "r1"
      },
      {
        "id": "licence_held_personally",
        "text": "A licence the business needs is in the owner's name: find out whether you need your own before closing.",
        "status": "flagged",
        "stage": "close",
        "why": "A licence held in the owner's own name usually stays with the owner; the buyer may need a licence of their own before closing.",
        "source": "r1"
      },
      {
        "id": "earnings_over_tax_income",
        "text": "Compare SDE with taxable income on the latest return (check_proof_of_cash does this from the documents).",
        "status": "open",
        "stage": "diligence",
        "why": "Earnings 30% or more above taxable income on the latest return draw lender questions; each add-back is checked against the return.",
        "source": "r1"
      },
      {
        "id": "state_licence_gates",
        "text": "Ask TX's licensing board which licences and permits for NAICS 238220 transfer with the business.",
        "status": "open",
        "stage": "close",
        "why": "Licences and permits that transfer with a business differ by state and industry; the state's licensing board says which transfer.",
        "source": "r1"
      },
      {
        "id": "contractor_classification",
        "text": "Contractors are 40% of the workforce: check each against the IRS common-law test.",
        "status": "open",
        "stage": "diligence",
        "why": "Workers paid as contractors are checked against the IRS's common-law test; reclassifying them as employees adds payroll cost and can lower earnings.",
        "source": "r1"
      },
      {
        "id": "entity_liabilities",
        "text": "In an asset purchase the company's past liabilities stay with the seller unless the contract takes them on.",
        "status": "not_applicable",
        "stage": "diligence",
        "why": "When the buyer takes over the company itself, its past liabilities come too, including unpaid sales, payroll and income taxes, so diligence covers the company's filings.",
        "source": "r1"
      }
    ],
    "open_count": 3,
    "flagged_count": 3
  },
  "sources": [
    {
      "id": "u1",
      "basis": "client_supplied",
      "route": "served_directly",
      "as_of": "2026-10-05",
      "name": "Supplied by the calling client",
      "line": "Supplied by the calling AI client or API caller, Oct 5, 2026; used for this request only"
    },
    {
      "id": "r1",
      "source_id": "acquestor-deal-checks",
      "name": "Acquestor deal-check rules",
      "publisher": "Acquestor LLC",
      "dataset": "Acquestor deal-check rules 1.0",
      "basis": "rule",
      "route": "served_directly",
      "licence_status": "cleared",
      "as_of": "2026-10-01",
      "effective_from": "2026-10-01",
      "line": "Source: Acquestor deal-check rules 1.0, effective Oct 1, 2026"
    }
  ],
  "gaps": [
    {
      "field": "licence_gates",
      "reason": "state_not_modelled",
      "detail": "State licence-transfer rules by industry aren't loaded yet; the state's licensing board says which licences transfer."
    }
  ],
  "disclaimer": "informational",
  "computation": {
    "id": "c1",
    "method": "red_flags",
    "method_version": "1.0.0",
    "computed_at": "2026-10-05T15:02:11.000Z",
    "rule_sets": [
      "acquestor-deal-checks@1.0"
    ],
    "inputs": {
      "top_customer_share": {
        "value": 0.32,
        "unit": "share",
        "source": "u1"
      },
      "loan_term_months": {
        "value": 120,
        "unit": "months",
        "source": "u1"
      },
      "contractor_share": {
        "value": 0.4,
        "unit": "share",
        "source": "u1"
      }
    }
  },
  "charge": {
    "credits": 50,
    "price_class": "deep_tool",
    "balance_after": 1315
  }
}

Where each figure comes from

  1. c1Computed with the red flags method, version 1.0.0, under acquestor-deal-checks@1.0
  2. u1Supplied by the calling AI client or API caller, Oct 5, 2026; used for this request only
  3. r1Source: Acquestor deal-check rules 1.0, effective Oct 1, 2026
The arguments it was called with

The result is the same on /mcp, /mcp/broker, /mcp/readonly, apart from the member's balance after the charge.

json
{
  "top_customer_share": 0.32,
  "lease_end": "2031-06-30",
  "loan_term_months": 120,
  "licences_held_by_owner": true,
  "contractor_share": 0.4,
  "naics": "238220",
  "state": "TX",
  "structure": "asset"
}
The text the host reads
markdown
**Red flags: 3[3]**
as of Oct 5, 2026

3 checks flagged from what you entered; open checks need more information.

Open: 3[3]

**Inputs:** Largest customer, share of revenue 32%[1] (supplied by the caller) · Lease ends Jun 30, 2031 (supplied by the caller) · Loan term 120 months[1] (supplied by the caller) · A licence is in the owner's name yes (supplied by the caller) · NAICS 238220 (supplied by the caller) · State TX (supplied by the caller) · Contractors, share of workforce 40%[1] (supplied by the caller) · Structure asset (supplied by the caller)

| Status | Check | Why |
| --- | --- | --- |
| Flagged | The largest customer is 32% of revenue: check its contract, terms and history. | One customer at 20% of revenue or more is a concentration risk that buyers and lenders ask about. |
| Flagged | The lease runs to Jun 30, 2031, about 64 months before a 120-month loan from today would end: ask the landlord about an extension and the lender about its lease rule. | Lenders compare the lease, counting only renewal options the tenant controls, with the loan term; a lease that ends first can block or reshape the loan. |
| Flagged | A licence the business needs is in the owner's name: find out whether you need your own before closing. | A licence held in the owner's own name usually stays with the owner; the buyer may need a licence of their own before closing. |
| Open | Compare SDE with taxable income on the latest return (check_proof_of_cash does this from the documents). | Earnings 30% or more above taxable income on the latest return draw lender questions; each add-back is checked against the return. |
| Open | Ask TX's licensing board which licences and permits for NAICS 238220 transfer with the business. | Licences and permits that transfer with a business differ by state and industry; the state's licensing board says which transfer. |
| Open | Contractors are 40% of the workforce: check each against the IRS common-law test. | Workers paid as contractors are checked against the IRS's common-law test; reclassifying them as employees adds payroll cost and can lower earnings. |
| Not applicable | In an asset purchase the company's past liabilities stay with the seller unless the contract takes them on. | When the buyer takes over the company itself, its past liabilities come too, including unpaid sales, payroll and income taxes, so diligence covers the company's filings. |

A rule-by-rule screen of what you entered, not diligence, legal advice or a view on whether to buy.

**Not available:**
- State licence-transfer rules by industry aren't loaded yet; the state's licensing board says which licences transfer.

**Sources**
1. Supplied by the calling AI client or API caller, Oct 5, 2026; used for this request only
2. Source: Acquestor deal-check rules 1.0, effective Oct 1, 2026
3. Computed by Acquestor from the inputs above

Information, not advice. Check it with your lender, CPA or attorney before you rely on it.
Charged: 50 credits.

**All fields**
```json
{"items":[{"id":"customer_concentration","text":"The largest customer is 32% of revenue: check its contract, terms and history.","status":"flagged","stage":"diligence","why":"One customer at 20% of revenue or more is a concentration risk that buyers and lenders ask about.","source":"r1"},{"id":"lease_vs_loan_term","text":"The lease runs to Jun 30, 2031, about 64 months before a 120-month loan from today would end: ask the landlord about an extension and the lender about its lease rule.","status":"flagged","stage":"finance","why":"Lenders compare the lease, counting only renewal options the tenant controls, with the loan term; a lease that ends first can block or reshape the loan.","source":"r1"},{"id":"licence_held_personally","text":"A licence the business needs is in the owner's name: find out whether you need your own before closing.","status":"flagged","stage":"close","why":"A licence held in the owner's own name usually stays with the owner; the buyer may need a licence of their own before closing.","source":"r1"},{"id":"earnings_over_tax_income","text":"Compare SDE with taxable income on the latest return (check_proof_of_cash does this from the documents).","status":"open","stage":"diligence","why":"Earnings 30% or more above taxable income on the latest return draw lender questions; each add-back is checked against the return.","source":"r1"},{"id":"state_licence_gates","text":"Ask TX's licensing board which licences and permits for NAICS 238220 transfer with the business.","status":"open","stage":"close","why":"Licences and permits that transfer with a business differ by state and industry; the state's licensing board says which transfer.","source":"r1"},{"id":"contractor_classification","text":"Contractors are 40% of the workforce: check each against the IRS common-law test.","status":"open","stage":"diligence","why":"Workers paid as contractors are checked against the IRS's common-law test; reclassifying them as employees adds payroll cost and can lower earnings.","source":"r1"},{"id":"entity_liabilities","text":"In an asset purchase the company's past liabilities stay with the seller unless the contract takes them on.","status":"not_applicable","stage":"diligence","why":"When the buyer takes over the company itself, its past liabilities come too, including unpaid sales, payroll and income taxes, so diligence covers the company's filings.","source":"r1"}],"open_count":3,"flagged_count":3}
```

**Gaps**
- licence_gates: State licence-transfer rules by industry aren't loaded yet; the state's licensing board says which licences transfer.

Acquestor doesn't represent buyers or sellers.

Inputs#

The input schema the server lists. Every input is a flat field. Every object is closed with additionalProperties: false.

Inputs

  • deal_idstring
    Granted deal id; its figures fill what the request leaves out. Not saved over MCP.
  • naicsstring
    NAICS code, 2 to 6 digits, for the industry's licence-transfer gates.
  • statestring (matches ^[A-Z]{2}$)
    State the business operates in, for licence-transfer gates.
  • top_customer_sharenumber (at least 0; at most 1)
    Share of revenue from the largest customer, as a decimal (0.25 for 25%).
  • lease_endstring (date)
    Date the premises lease ends, YYYY-MM-DD, compared with the loan term.
  • renewal_options_yearsnumber
    Years of renewal options the tenant holds after lease_end.
  • loan_term_monthsinteger
    Loan term in months, compared with the lease.
  • licences_held_by_ownerboolean
    True when a licence the business needs is held in the owner's own name.
  • contractor_sharenumber (at least 0; at most 1)
    Share of the workforce paid as contractors, as a decimal, for the classification check.
  • sde_over_tax_income_sharenumber
    How far SDE exceeds taxable income, as a decimal (0.3 for 30% above), as check_proof_of_cash returns it.
  • structurestring (one of asset, stock, deemed_asset_338h10, deemed_asset_336e, f_reorganization)
    Deal structure, for the checks that depend on it.

For client developers#

The definition, annotations and token cost

What the host’s model reads:

Checks a deal for rule-based red flags (customer concentration, lease against loan term, licences in the owner's name, SDE above taxable income, contractors, entity liabilities), each flagged, open, done or not applicable with its rule. Use it during diligence on a business the buyer is weighing; for deposits against returns, use check_proof_of_cash. It never says whether to buy.

Runs POST /diligence/red-flags (checkRedFlags)
Who Everyone
Endpoint paths /mcp, /mcp/broker, /mcp/readonly
Scope tools:run
Price 50 credits
Risk read: read-only yes, destructive no, idempotent yes, open-world no
Output Card type checklist. The text is the card in Markdown, with every field the card doesn't show stated under "All fields"; structuredContent is the result envelope without the card.
Output schema Declared: The outputSchema lists the top-level fields of structuredContent and their types, generated from the response schema in the API definition; none is required, so a result with only gaps still validates (API 0.6.0).
Definition cost 459 tokens (o200k_base) for its name, description and input schema, measured on the definition captured from the server, which the docs tests hold to this build's code (2026-11-12)
Eval cases None yet

Generated on 2026-11-12 from the API definition and this tool's card; the definition, result and errors on this page were captured from the server.

Bounds#

A result counts its text and structuredContent together against a default of 6,000 tokens and a hard cap of 25,000. Nulls and internal fields are left out, and structuredContent leaves out the card the text already is.

check_red_flags is a computed tool, so its rows are one answer and are never cut to fit the default: the result is kept whole, and fits the default with ordinary inputs. A result past the hard cap loses the end of its text and its large fields, and names a narrower call.

Errors#

A failed call returns isError: true. The text opens with the stable code, then says what went wrong, whether retrying the same call can succeed, and the request ID; structuredContent is the problem object, and _meta repeats the code and request ID. Each error below was captured from the server; the code links to its problem page.

Code Captured by Next call
invalid_input Calling it as a buyer's AI host on /mcp Call again with lease_end as a date in YYYY-MM-DD form, such as 2031-06-30.
insufficient_scope Calling it as an API key with no scopes on /mcp Reconnect with a key or sign-in that carries tools:run, then call check_red_flags again.
over_max_credits Calling it as a buyer's AI host on /mcp with acquestor-max-credits: 0 Raise or drop the Acquestor-Max-Credits header your host sends, then call check_red_flags again. Nothing was charged.
over_limit Calling it as the buyer's API key with a monthly limit of 1 credit on /mcp Wait for the monthly limit to reset, or use a key or deal grant with a higher monthly limit, then call check_red_flags again. Nothing was charged.
beta_terms_not_accepted Calling it as a member who hasn't accepted the beta agreement on /mcp Give the person the error's accept_url; once they accept the beta agreement there, call check_red_flags again.
insufficient_credits Not captured. The member's balance doesn't cover the call. Add credits on acquestor.com, then call check_red_flags again. Nothing ran and nothing was charged.

Without a credential the server answers HTTP 401 before any tool runs, with a WWW-Authenticate header that points the host at sign-in (unauthorized).

Each error as captured: arguments and text

invalid_input#

Arguments:

json
{
  "lease_end": "06/30/2031"
}

Text:

text
invalid_input: Invalid arguments for tool check_red_flags: data/lease_end must match format "date". Check the tool's input schema for each field's type. Retrying the same call unchanged will fail the same way. Request ID req_00000000000000000000000000000001.

insufficient_scope#

Arguments:

json
{
  "top_customer_share": 0.32,
  "lease_end": "2031-06-30",
  "loan_term_months": 120,
  "licences_held_by_owner": true,
  "contractor_share": 0.4,
  "naics": "238220",
  "state": "TX",
  "structure": "asset"
}

Text:

text
insufficient_scope: This call needs the tools:run scope. Retrying the same call unchanged will fail the same way. Request ID req_00000000000000000000000000000001.

over_max_credits#

Arguments:

json
{
  "top_customer_share": 0.32,
  "lease_end": "2031-06-30",
  "loan_term_months": 120,
  "licences_held_by_owner": true,
  "contractor_share": 0.4,
  "naics": "238220",
  "state": "TX",
  "structure": "asset"
}

Text:

text
over_max_credits: This call costs 50 credits, above your Acquestor-Max-Credits of 0. Nothing ran. Nothing was charged. Retrying the same call unchanged will fail the same way. Request ID req_00000000000000000000000000000001.

over_limit#

Arguments:

json
{
  "top_customer_share": 0.32,
  "lease_end": "2031-06-30",
  "loan_term_months": 120,
  "licences_held_by_owner": true,
  "contractor_share": 0.4,
  "naics": "238220",
  "state": "TX",
  "structure": "asset"
}

Text:

text
over_limit: This key's monthly limit of 1 credits is reached. Nothing ran. Nothing was charged. Retrying the same call unchanged will fail the same way. Request ID req_00000000000000000000000000000001.

beta_terms_not_accepted#

Arguments:

json
{
  "top_customer_share": 0.32,
  "lease_end": "2031-06-30",
  "loan_term_months": 120,
  "licences_held_by_owner": true,
  "contractor_share": 0.4,
  "naics": "238220",
  "state": "TX",
  "structure": "asset"
}

Text:

text
beta_terms_not_accepted: Accept the current Beta Terms and Privacy Notice to continue. Open https://acquestor.com/welcome?from=ai, sign in with this account and agree, then ask again. Retrying the same call unchanged will fail the same way. Request ID req_00000000000000000000000000000001.

Something wrong or missing on this page? Email support@acquestor.com.