US compliance and books health
v1.0.0US company filing obligations, plus a 25-check bookkeeping diagnostic.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_company_overview Get company overview
Who Median is, what it does, who it is for, how onboarding works, and how to get in touch or book an intro call.
get_pricing Get pricing
Median’s accounting plans, starting prices for tax, Controller and fractional CFO services, and custom quotes for Scale accounting and finance systems.
list_services List services
List Median’s accounting, controller, tax, finance systems, and fractional CFO support through Median, with a summary and page link for each.
list_blog_posts List blog posts
List published articles from the Median blog, newest first. Optionally filter by category or a search term matched against the title.
| Parameter | Type | Description |
|---|---|---|
category | string | Filter to one category slug or name. |
limit | integer | How many posts to return (default 20, max 50). |
search | string | Match against the post title. |
get_blog_post Get blog post
Fetch the full text of one published Median blog post by its slug.
| Parameter | Type | Description |
|---|---|---|
slug * | string | Post slug, e.g. 'how-to-switch-bookkeeping-services'. |
get_confounders Get confounding questions
Refinement step, NOT the place to start: call list_compliance_obligations first, then call this to narrow what is still genuinely open. Returns the facts that flip an answer, such as whether an employer of record is the legal employer. Pass every fact you already know and it returns only what those facts leave unsettled. These are things for YOU to look up in the user's own documents. They are not a questionnaire to send the user.
| Parameter | Type | Description |
|---|---|---|
answered | object | Only for confounders with no matching fact field above (who-paid, prepaid-multi-year). For everything else pass the fact itself, e.g. payroll_model: 'eor', not answered: { 'payroll-model': 'eor' }. |
answers | object | Answers to the yes/no threshold questions this tool asks, keyed by the threshold id shown in the question, e.g. { "foreign-accounts-over-10k": false, "ny-sales-over-500k": false }. Without this the sa… |
company_name | string | Optional, and the only identifying thing this tool records. Median stores it to see which companies use this tool and may follow up. It changes nothing about the answer, so omit it if the user has not… |
contractor_states | array | States where 1099 contractors work. |
employee_states | array | States where W-2 employees work. |
entity_type | string | Legal entity type. |
extensions_filed | object | Whether a tax extension was filed, keyed 'US' for federal and by state code, e.g. { US: true, NY: false }. OMIT a key you are unsure about: no deadline is asserted for an unknown key, because assuming… |
fiscal_year_end | string | MM-DD, e.g. '12-31'. Defaults to 12-31. |
foreign_owned | Whether any non-US person owns 25% or more. Leave unset if genuinely unknown. | |
formation_date | string | ISO date the entity was formed. |
formation_platform | string | Decides whether a bundled first-year registered agent explains a missing fee. |
formation_state | string | Two-letter state of formation, e.g. 'DE'. |
operating_states | array | States where the company operates. |
payroll_model | string | Critical. An employer of record holds state registrations under its own entity, so the answer flips entirely on this. |
payroll_provider | string | The provider's name only, e.g. 'Deel', 'Gusto', 'Rippling'. Not account numbers, not employee details, not anything else. |
presence_type | object | Per-state presence, e.g. { NY: 'virtual-mailbox' }. |
registered_in | object | Whether the company is already registered to do business in a state, e.g. { NY: false }. Drives obligations that only begin at registration. |
revenue_band | string | Gross annual revenue as a band, never an exact figure: 'pre-revenue', 'under-250k', '250k-1m', '1m-5m' or 'over-5m'. Drives revenue-scaled thresholds such as state franchise tax minimums and economic… |
sales_states | array | States with customers. |
sells_saas | Whether the product is SaaS. New York taxes SaaS as prewritten software. | |
tax_year | integer | Tax year under review. Defaults to last calendar year. |
list_compliance_obligations List compliance obligations
START HERE. Given whatever you know about a company, return the federal and state compliance obligations that apply, ordered by urgency with overdue items first, plus the specific questions that unblock the rest. Call it immediately with partial facts rather than interviewing the user first: it is designed for incomplete input, and every fact you are missing comes back as one precise question instead of the dozen generic ones you would otherwise ask. Then answer those and call it again. Defaults to a short actionable view; relay it roughly as written rather than expanding it into an essay, and…
| Parameter | Type | Description |
|---|---|---|
answers | object | Answers to the yes/no threshold questions this tool asks, keyed by the threshold id shown in the question, e.g. { "foreign-accounts-over-10k": false, "ny-sales-over-500k": false }. Without this the sa… |
company_name | string | Optional, and the only identifying thing this tool records. Median stores it to see which companies use this tool and may follow up. It changes nothing about the answer, so omit it if the user has not… |
contractor_states | array | States where 1099 contractors work. |
detail | string | Default 'brief': what applies, when it is due, and the questions, with no evidence or remediation detail. Around a third the length of 'summary' and it is what a founder can actually act on. 'summary'… |
employee_states | array | States where W-2 employees work. |
entity_type | string | Legal entity type. |
extensions_filed | object | Whether a tax extension was filed, keyed 'US' for federal and by state code, e.g. { US: true, NY: false }. OMIT a key you are unsure about: no deadline is asserted for an unknown key, because assuming… |
fiscal_year_end | string | MM-DD, e.g. '12-31'. Defaults to 12-31. |
foreign_owned | Whether any non-US person owns 25% or more. Leave unset if genuinely unknown. | |
formation_date | string | ISO date the entity was formed. |
formation_platform | string | Decides whether a bundled first-year registered agent explains a missing fee. |
formation_state | string | Two-letter state of formation, e.g. 'DE'. |
operating_states | array | States where the company operates. |
payroll_model | string | Critical. An employer of record holds state registrations under its own entity, so the answer flips entirely on this. |
payroll_provider | string | The provider's name only, e.g. 'Deel', 'Gusto', 'Rippling'. Not account numbers, not employee details, not anything else. |
presence_type | object | Per-state presence, e.g. { NY: 'virtual-mailbox' }. |
registered_in | object | Whether the company is already registered to do business in a state, e.g. { NY: false }. Drives obligations that only begin at registration. |
revenue_band | string | Gross annual revenue as a band, never an exact figure: 'pre-revenue', 'under-250k', '250k-1m', '1m-5m' or 'over-5m'. Drives revenue-scaled thresholds such as state franchise tax minimums and economic… |
sales_states | array | States with customers. |
sells_saas | Whether the product is SaaS. New York taxes SaaS as prewritten software. | |
tax_year | integer | Tax year under review. Defaults to last calendar year. |
get_evidence_recipe Get evidence recipe
For one obligation, return exactly how to prove it: which sources settle the question, which are only corroborating, what each state's public registry does and does not expose, and the innocent explanations for missing evidence. Use this before concluding anything is missing.
| Parameter | Type | Description |
|---|---|---|
obligation_id * | string | Obligation id from list_compliance_obligations. |
explain_obligation Explain one obligation
Plain-English detail on a single obligation: what it is, why it exists, the deadline, the cost, the penalty, the exact remediation steps, and the government source.
| Parameter | Type | Description |
|---|---|---|
obligation_id * | string | Obligation id, e.g. 'de-registered-agent'. |
list_books_checks List books health checks
START HERE for a books health check. Given whatever you know about a business, return the bookkeeping checks that apply to it, grouped by dimension, each with where to look, the innocent explanations to rule out first, and what it costs if it is real. Call it immediately with partial facts rather than interviewing the user first: unknown facts keep checks in the list rather than dropping them, so nothing is silently skipped. Cash-basis businesses correctly get a shorter list. This never says whether books are correct, only what to look at.
| Parameter | Type | Description |
|---|---|---|
basis | string | Cash or accrual, printed at the top of most profit and loss reports. This matters more than anything else here: several revenue checks do not apply on a cash basis. |
bills_ahead | boolean | Whether anything is billed ahead of delivery: subscriptions, retainers, annual plans. |
charges_sales_tax | boolean | Whether sales tax is charged anywhere. |
company_name | string | Optional, and the only identifying thing this tool records. Median stores it to see which businesses use this tool and may follow up. It changes nothing about the answer, so omit it if the user has no… |
has_contractors | boolean | Whether 1099 contractors are paid. |
has_raised | boolean | Whether the business has raised on a SAFE, note or priced round, or taken a loan. |
ledger | string | Which ledger the books live in. Visible in the header of any export. |
needs_segment_reporting | boolean | Whether any part of the business needs separate reporting: locations, programs, product lines, more than one entity. |
payroll_model | string | How people are paid. |
processors | array | Payment processors that hold a balance before paying out, e.g. ['stripe','paypal']. Names only. Drives the single most-missed check. |
explain_books_check Explain one books check
Full detail on a single books health check: what it is, exactly where to look in the ledger, every innocent explanation to rule out before concluding anything, what it costs if it is real, what fixing it involves, and whether it is inside what Median does.
| Parameter | Type | Description |
|---|---|---|
check_id * | string | Check id from list_books_checks, e.g. 'rec-processor-balance-unreconciled'. |
score_books_health Score books health
Score a books health check from the statuses you actually evidenced. Returns the weighted score, the band, a per-dimension breakdown and the findings ranked worst first. Two rules a plain average does not give you: a confirmed critical caps the grade, and the band is WITHHELD entirely when too little was evidenced, because a flattering number off three checks is the part people quote. Report the withheld state rather than supplying a band yourself.
| Parameter | Type | Description |
|---|---|---|
results * | array | One entry per check you actually worked. Send check ids and statuses only: never figures, balances, account numbers or names. |
basis | string | Cash or accrual, printed at the top of most profit and loss reports. This matters more than anything else here: several revenue checks do not apply on a cash basis. |
bills_ahead | boolean | Whether anything is billed ahead of delivery: subscriptions, retainers, annual plans. |
charges_sales_tax | boolean | Whether sales tax is charged anywhere. |
company_name | string | Optional, and the only identifying thing this tool records. Median stores it to see which businesses use this tool and may follow up. It changes nothing about the answer, so omit it if the user has no… |
has_contractors | boolean | Whether 1099 contractors are paid. |
has_raised | boolean | Whether the business has raised on a SAFE, note or priced round, or taken a loan. |
ledger | string | Which ledger the books live in. Visible in the header of any export. |
needs_segment_reporting | boolean | Whether any part of the business needs separate reporting: locations, programs, product lines, more than one entity. |
payroll_model | string | How people are paid. |
processors | array | Payment processors that hold a balance before paying out, e.g. ['stripe','paypal']. Names only. Drives the single most-missed check. |