Developers

save_to_deal

Save to deal · Live · Saving is free; the run is charged at the price of the tool it runs. See all MCP tools.

A deal tool: it works only on the one deal its grant names. The deal’s owner turns on outside AI access on acquestor.com and picks the host.

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
{
  "id": "00000000-0000-4000-8000-000000000002",
  "deal_id": "00000000-0000-4000-8000-000000000001",
  "operation_id": "computeSbaCeiling",
  "label": "Ceiling at the asking price",
  "created_at": "2026-10-05T15:02:11.000Z",
  "result": {
    "data": {
      "cash_flow_for_debt": {
        "value": 170000,
        "unit": "USD",
        "source": "c1"
      },
      "interest_rate": {
        "value": 0.1,
        "unit": "rate",
        "source": "c1"
      },
      "annual_debt_service": {
        "value": 136000,
        "unit": "USD",
        "source": "c1"
      },
      "max_loan": {
        "value": 857607,
        "unit": "USD",
        "source": "c1"
      },
      "max_price": {
        "value": 952896,
        "unit": "USD",
        "source": "c1"
      },
      "price_to_sde": {
        "value": 3.66,
        "unit": "x",
        "source": "c1"
      },
      "grid": [
        {
          "manager_salary": {
            "value": 60000,
            "unit": "USD",
            "source": "c1"
          },
          "interest_rate": {
            "value": 0.1,
            "unit": "rate",
            "source": "c1"
          },
          "coverage": {
            "value": 1.25,
            "unit": "x",
            "source": "c1"
          },
          "price_to_sde": {
            "value": 4.1,
            "unit": "x",
            "source": "c1"
          },
          "max_price": {
            "value": 1065002,
            "unit": "USD",
            "source": "c1"
          }
        },
        {
          "manager_salary": {
            "value": 60000,
            "unit": "USD",
            "source": "c1"
          },
          "interest_rate": {
            "value": 0.0925,
            "unit": "rate",
            "source": "c1"
          },
          "coverage": {
            "value": 1.25,
            "unit": "x",
            "source": "c1"
          },
          "price_to_sde": {
            "value": 4.23,
            "unit": "x",
            "source": "c1"
          },
          "max_price": {
            "value": 1099256,
            "unit": "USD",
            "source": "c1"
          }
        },
        {
          "manager_salary": {
            "value": 60000,
            "unit": "USD",
            "source": "c1"
          },
          "interest_rate": {
            "value": 0.085,
            "unit": "rate",
            "source": "c1"
          },
          "coverage": {
            "value": 1.25,
            "unit": "x",
            "source": "c1"
          },
          "price_to_sde": {
            "value": 4.37,
            "unit": "x",
            "source": "c1"
          },
          "max_price": {
            "value": 1135137,
            "unit": "USD",
            "source": "c1"
          }
        },
        {
          "manager_salary": {
            "value": 80000,
            "unit": "USD",
            "source": "c1"
          },
          "interest_rate": {
            "value": 0.1,
            "unit": "rate",
            "source": "c1"
          },
          "coverage": {
            "value": 1.25,
            "unit": "x",
            "source": "c1"
          },
          "price_to_sde": {
            "value": 3.66,
            "unit": "x",
            "source": "c1"
          },
          "max_price": {
            "value": 952896,
            "unit": "USD",
            "source": "c1"
          }
        },
        {
          "manager_salary": {
            "value": 80000,
            "unit": "USD",
            "source": "c1"
          },
          "interest_rate": {
            "value": 0.0925,
            "unit": "rate",
            "source": "c1"
          },
          "coverage": {
            "value": 1.25,
            "unit": "x",
            "source": "c1"
          },
          "price_to_sde": {
            "value": 3.78,
            "unit": "x",
            "source": "c1"
          },
          "max_price": {
            "value": 983545,
            "unit": "USD",
            "source": "c1"
          }
        },
        {
          "manager_salary": {
            "value": 80000,
            "unit": "USD",
            "source": "c1"
          },
          "interest_rate": {
            "value": 0.085,
            "unit": "rate",
            "source": "c1"
          },
          "coverage": {
            "value": 1.25,
            "unit": "x",
            "source": "c1"
          },
          "price_to_sde": {
            "value": 3.91,
            "unit": "x",
            "source": "c1"
          },
          "max_price": {
            "value": 1015649,
            "unit": "USD",
            "source": "c1"
          }
        },
        {
          "manager_salary": {
            "value": 100000,
            "unit": "USD",
            "source": "c1"
          },
          "interest_rate": {
            "value": 0.1,
            "unit": "rate",
            "source": "c1"
          },
          "coverage": {
            "value": 1.25,
            "unit": "x",
            "source": "c1"
          },
          "price_to_sde": {
            "value": 3.23,
            "unit": "x",
            "source": "c1"
          },
          "max_price": {
            "value": 840791,
            "unit": "USD",
            "source": "c1"
          }
        },
        {
          "manager_salary": {
            "value": 100000,
            "unit": "USD",
            "source": "c1"
          },
          "interest_rate": {
            "value": 0.0925,
            "unit": "rate",
            "source": "c1"
          },
          "coverage": {
            "value": 1.25,
            "unit": "x",
            "source": "c1"
          },
          "price_to_sde": {
            "value": 3.34,
            "unit": "x",
            "source": "c1"
          },
          "max_price": {
            "value": 867834,
            "unit": "USD",
            "source": "c1"
          }
        },
        {
          "manager_salary": {
            "value": 100000,
            "unit": "USD",
            "source": "c1"
          },
          "interest_rate": {
            "value": 0.085,
            "unit": "rate",
            "source": "c1"
          },
          "coverage": {
            "value": 1.25,
            "unit": "x",
            "source": "c1"
          },
          "price_to_sde": {
            "value": 3.45,
            "unit": "x",
            "source": "c1"
          },
          "max_price": {
            "value": 896161,
            "unit": "USD",
            "source": "c1"
          }
        }
      ],
      "flags": {
        "qoe_required": false,
        "internal_valuation_path": false,
        "loan_capped_at_program_max": false
      },
      "gap_to_asking": {
        "value": -162896,
        "unit": "USD",
        "source": "c1"
      },
      "bridge_needed": {
        "value": 0,
        "unit": "USD",
        "source": "c1"
      }
    },
    "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": "sba-sop-50-10-8.1",
        "name": "SOP 50 10 8.1, Lender and Development Company Loan Programs",
        "publisher": "U.S. Small Business Administration",
        "dataset": "SOP 50 10 8.1",
        "basis": "rule",
        "route": "served_directly",
        "licence_status": "cleared",
        "as_of": "2026-10-01",
        "effective_from": "2026-10-01",
        "url": "https://legacy.sba.gov/document/information-notice-5000-882227-issuance-technical-updates-sop-50-10-81",
        "line": "Source: SBA SOP 50 10 8.1, effective Oct 1, 2026"
      },
      {
        "id": "s1",
        "source_id": "frb-h15-prime",
        "name": "H.15 Selected Interest Rates: bank prime loan rate",
        "publisher": "Board of Governors of the Federal Reserve System",
        "dataset": "H.15 bank prime loan rate",
        "basis": "public_record",
        "route": "served_directly",
        "licence_status": "cleared",
        "as_of": "2026-10-02",
        "url": "https://www.federalreserve.gov/releases/h15/",
        "line": "Source: Federal Reserve, H.15 bank prime loan rate, as of Oct 2, 2026",
        "retrieved_at": "2026-10-05"
      },
      {
        "id": "r2",
        "source_id": "sba-notice-5000-875051",
        "name": "Procedural Notice 5000-875051, 7(a) maximum interest rates",
        "publisher": "U.S. Small Business Administration",
        "dataset": "Procedural Notice 5000-875051",
        "basis": "rule",
        "route": "served_directly",
        "licence_status": "cleared",
        "as_of": "2026-03-01",
        "effective_from": "2026-03-01",
        "url": "https://www.sba.gov/document/procedural-notice-5000-875051-7a-alternative-base-rate-options",
        "line": "Source: SBA Procedural Notice 5000-875051, effective Mar 1, 2026"
      }
    ],
    "gaps": [],
    "disclaimer": "informational",
    "computation": {
      "id": "c1",
      "method": "sba_ceiling",
      "method_version": "1.0.0",
      "computed_at": "2026-10-05T15:02:11.000Z",
      "rule_sets": [
        "sba-sop-50-10-8.1@2026-09-25",
        "sba-rate-caps@2026-03-01"
      ],
      "inputs": {
        "sde": {
          "value": 260000,
          "unit": "USD",
          "source": "u1"
        },
        "manager_salary": {
          "value": 80000,
          "unit": "USD",
          "source": "u1"
        },
        "capex_reserve": {
          "value": 10000,
          "unit": "USD",
          "source": "u1"
        },
        "prime_rate": {
          "value": 0.07,
          "unit": "rate",
          "source": "s1",
          "as_of": "2026-10-02"
        },
        "coverage": {
          "value": 1.25,
          "unit": "x",
          "source": "r1"
        },
        "term_months": {
          "value": 120,
          "unit": "months",
          "source": "r1"
        },
        "equity_injection_share": {
          "value": 0.1,
          "unit": "share",
          "source": "r1"
        },
        "asking_price": {
          "value": 790000,
          "unit": "USD",
          "source": "u1"
        },
        "max_spread": {
          "value": 0.03,
          "unit": "rate",
          "source": "r2"
        }
      }
    },
    "run_id": "00000000-0000-4000-8000-000000000002",
    "charge": {
      "credits": 5,
      "price_class": "quick_tool",
      "balance_after": 850
    }
  }
}
The arguments it was called with

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

json
{
  "deal_id": "00000000-0000-4000-8000-000000000001",
  "operation_id": "computeSbaCeiling",
  "label": "Ceiling at the asking price",
  "request": {
    "sde": 260000,
    "manager_salary": 80000,
    "capex_reserve": 10000,
    "asking_price": 790000
  }
}
The text the host reads
markdown
Saved to deal 00000000-0000-4000-8000-000000000001 as run 00000000-0000-4000-8000-000000000002 (computeSbaCeiling, 2026-10-05T15:02:11.000Z).

**SBA price ceiling: $953,000[5]**
At 10.00% and 1.25x coverage, 10 years

The highest price an SBA 7(a)-financed buyer can pay at 1.25x coverage with 10% down.

Highest SBA loan: $858,000[5] · Price to SDE: 3.66x[5]

**Inputs:** SDE $260,000[1] (supplied by the caller) · manager salary $80,000[1] (supplied by the caller) · capex reserve $10,000[1] (supplied by the caller) · rate 10.00%, the SBA cap: prime 7.00% (Federal Reserve, H.15 bank prime loan rate, as of Oct 2, 2026) plus 3.00%[4] (SBA maximum rate under Procedural Notice 5000-875051, effective Mar 1, 2026) · coverage 1.25x[2] (SBA SOP 50 10 8.1, effective Oct 1, 2026) · term 10-year[2] (SBA SOP 50 10 8.1, effective Oct 1, 2026) · equity 10%[2] (SBA SOP 50 10 8.1, effective Oct 1, 2026) · asking price $790,000[1] (supplied by the caller)

Asking is $163,000 below the ceiling.

**What moves it:** each $20,000 of salary moves the ceiling about $112,000.

**Not a valuation.** A price above this needs a seller note or more buyer cash.

**Sources**
1. Supplied by the calling AI client or API caller, Oct 5, 2026; used for this request only
2. Source: SBA SOP 50 10 8.1, effective Oct 1, 2026
3. Source: Federal Reserve, H.15 bank prime loan rate, as of Oct 2, 2026
4. Source: SBA Procedural Notice 5000-875051, effective Mar 1, 2026
5. Computed by Acquestor from the inputs above

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

**All fields** (a figure with no marker cites c1)
```json
{"cash_flow_for_debt":"170000 USD","interest_rate":"0.1 rate","annual_debt_service":"136000 USD","max_loan":"857607 USD","max_price":"952896 USD","price_to_sde":"3.66 x","grid":[{"manager_salary":"60000 USD","interest_rate":"0.1 rate","coverage":"1.25 x","price_to_sde":"4.1 x","max_price":"1065002 USD"},{"manager_salary":"60000 USD","interest_rate":"0.0925 rate","coverage":"1.25 x","price_to_sde":"4.23 x","max_price":"1099256 USD"},{"manager_salary":"60000 USD","interest_rate":"0.085 rate","coverage":"1.25 x","price_to_sde":"4.37 x","max_price":"1135137 USD"},{"manager_salary":"80000 USD","interest_rate":"0.1 rate","coverage":"1.25 x","price_to_sde":"3.66 x","max_price":"952896 USD"},{"manager_salary":"80000 USD","interest_rate":"0.0925 rate","coverage":"1.25 x","price_to_sde":"3.78 x","max_price":"983545 USD"},{"manager_salary":"80000 USD","interest_rate":"0.085 rate","coverage":"1.25 x","price_to_sde":"3.91 x","max_price":"1015649 USD"},{"manager_salary":"100000 USD","interest_rate":"0.1 rate","coverage":"1.25 x","price_to_sde":"3.23 x","max_price":"840791 USD"},{"manager_salary":"100000 USD","interest_rate":"0.0925 rate","coverage":"1.25 x","price_to_sde":"3.34 x","max_price":"867834 USD"},{"manager_salary":"100000 USD","interest_rate":"0.085 rate","coverage":"1.25 x","price_to_sde":"3.45 x","max_price":"896161 USD"}],"flags":{"qoe_required":false,"internal_valuation_path":false,"loan_capped_at_program_max":false},"gap_to_asking":"-162896 USD","bridge_needed":"0 USD"}
```

Acquestor doesn't represent buyers or sellers.

Inputs#

The input schema the server lists. Nested: request (their fields are listed below the input that holds them). Open, taking any fields: request.

Inputs

  • deal_idstringrequired
    Deal id from list_deals.
  • operation_idstring (one of getRates, getMarketSalary, getMarketStats, findSbaLenders, computeSbaCeiling, stressTestDeal, buildCapitalStack, computeAfterTax, compareOffers, computeProofOfCash, getSiteRisk, reviewAddbacks, checkRedFlags, checkSellerReadiness, checkSbaEligibility, getCompsSummary, searchComps)required
    Computed operation to run.
  • requestobjectrequired
    Its inputs, with objects such as seller_note nested.
  • labelstring
    Name for the saved run.

For client developers#

The definition, annotations and token cost

What the host’s model reads:

Runs one computed operation and saves the result to the granted deal. Use it to keep a result, since computed tools here never save; to read runs, use list_deals with the deal_id. It works only on the one deal its owner granted this client on acquestor.com.

Runs POST /deals/{deal_id}/runs (saveRun), POST /value/sba-ceiling (computeSbaCeiling), POST /finance/stress-test (stressTestDeal), POST /finance/capital-stack (buildCapitalStack), POST /offer/after-tax (computeAfterTax), POST /offer/compare (compareOffers), POST /diligence/proof-of-cash (computeProofOfCash), GET /explore/rates (getRates), GET /value/market-salary (getMarketSalary), GET /finance/lenders (findSbaLenders)
Who Buyers, Sellers, Brokers
Endpoint paths /mcp, /mcp/broker
Scope deals:write
Price Saving is free; the run is charged at the price of the tool it runs.
Risk reversible write: read-only no, destructive no, idempotent no, open-world no
Output The text names the deal and the saved run, then gives the result as the tool it ran gives it; structuredContent is the saved run, with that result as an envelope without its 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 241 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.

save_to_deal returns one record or the outcome of one write. A list inside it is cut only when that brings the result inside the default, and the result then says what it left out; anything still over the cap loses the end of its text and names a narrower call.

No cut result is captured for this tool.

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
deal_access_off Calling it as a buyer's AI host on /mcp Ask the deal's owner to turn on outside AI access for this deal on acquestor.com and pick this host; each deal needs its own grant.
missing_input Calling it as a buyer's AI host on /mcp Call save_to_deal again with every field missing names. Acquestor never fills a required input with a default it can't source.
insufficient_scope Calling it as an API key with no scopes on /mcp Reconnect with a key or sign-in that carries deals:write, then call save_to_deal 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 save_to_deal 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 save_to_deal again.
tool_moved Calling it as a buyer's AI host on /mcp/readonly Refresh the tool list and call the tool the error names, on the endpoint path it names.
over_limit Not captured. The call would pass the monthly credit limit of the API key or deal grant it runs under. Wait for the monthly limit to reset, or use a key or deal grant with a higher monthly limit, then call save_to_deal again. Nothing was charged.
insufficient_credits Not captured. The member's balance doesn't cover the call. Add credits on acquestor.com, then call save_to_deal 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

deal_access_off#

Arguments:

json
{
  "deal_id": "00000000-0000-4000-8000-000000000001",
  "operation_id": "computeSbaCeiling",
  "request": {
    "sde": 260000,
    "manager_salary": 80000,
    "capex_reserve": 10000
  }
}

Text:

text
deal_access_off: This client holds a grant for a different deal. Another deal needs another grant. Retrying the same call unchanged will fail the same way. Request ID req_00000000000000000000000000000001.

missing_input#

Arguments:

json
{}

Text:

text
missing_input: The call needs deal_id, operation_id, request; Acquestor never fills a required input with a default it can't source. Missing: deal_id, operation_id, request. Retrying the same call unchanged will fail the same way. Request ID req_00000000000000000000000000000001.

insufficient_scope#

Arguments:

json
{
  "deal_id": "00000000-0000-4000-8000-000000000001",
  "operation_id": "computeSbaCeiling",
  "label": "Ceiling at the asking price",
  "request": {
    "sde": 260000,
    "manager_salary": 80000,
    "capex_reserve": 10000,
    "asking_price": 790000
  }
}

Text:

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

over_max_credits#

Arguments:

json
{
  "deal_id": "00000000-0000-4000-8000-000000000001",
  "operation_id": "computeSbaCeiling",
  "label": "Ceiling at the asking price",
  "request": {
    "sde": 260000,
    "manager_salary": 80000,
    "capex_reserve": 10000,
    "asking_price": 790000
  }
}

Text:

text
over_max_credits: This call costs 5 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.

beta_terms_not_accepted#

Arguments:

json
{
  "deal_id": "00000000-0000-4000-8000-000000000001",
  "operation_id": "computeSbaCeiling",
  "label": "Ceiling at the asking price",
  "request": {
    "sde": 260000,
    "manager_salary": 80000,
    "capex_reserve": 10000,
    "asking_price": 790000
  }
}

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.

tool_moved#

Arguments:

json
{
  "deal_id": "00000000-0000-4000-8000-000000000001",
  "operation_id": "computeSbaCeiling",
  "label": "Ceiling at the asking price",
  "request": {
    "sde": 260000,
    "manager_salary": 80000,
    "capex_reserve": 10000,
    "asking_price": 790000
  }
}

Text:

text
tool_moved: /mcp/readonly serves read-only tools, and save_to_deal saves or sends. Add the /mcp or /mcp/broker endpoint path to call it. 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.