Deal Desk connector: tool reference

Every tool the connector at https://dealdesk.hunthive.app/mcp offers. Overview, setup and permissions: Deal Desk connector.

Classes

No tool buys, bids, reserves, checks out, adds to a cart, messages a seller, signs in to a store or takes payment. Account deletion is not a tool: a person does it themselves on My account.

All tools

ToolTitleClassPermission
get_agent_guideGet the shopper guideReadwishlist:read
get_preferencesGet preferencesReadwishlist:read
set_store_prefSet a store preferenceWritesettings:write
set_preferencesSet preferencesWritesettings:write
accept_source_riskAccept a source risk noticeSensitive writesettings:write
list_wishlistsList wishlistsReadwishlist:read
get_wishlistGet a wishlistReadwishlist:read
get_itemGet an itemReadwishlist:read
add_wishlist_itemAdd a wishlist itemWritewishlist:write
update_wishlist_itemUpdate a wishlist itemWritewishlist:write
mark_purchasedMark an item purchasedWritewishlist:write
propose_candidatesPropose candidate modelsWritewishlist:write
choose_candidateChoose a candidate modelWritewishlist:write
reject_candidateSet a candidate asideWritewishlist:write
add_offer_linkAdd an offer linkWritewishlist:write
start_runStart a check runWritewishlist:write
get_due_checksGet due checksWritewishlist:read
record_observationRecord a priceWritewishlist:write
invalidate_observationInvalidate a recorded priceWritewishlist:write
report_coverageReport store coverageWritewishlist:write
finish_runFinish a check runWritewishlist:write
get_price_historyGet price historyReadwishlist:read
compare_offersCompare offersReadwishlist:read
set_alert_ruleSet a target priceWritealerts:write
list_alertsList alertsReadwishlist:read
ack_alertAcknowledge an alertWritealerts:write
snooze_alertSnooze an alertWritealerts:write
release_held_priceRelease a held priceSensitive writealerts:write
get_digestGet the digestReadwishlist:read
import_sheet_csvImport a kit sheet tabWritewishlist:write
export_csvExport as CSVReadwishlist:read
record_dealRecord a dealWritewishlist:write
find_dealsFind dealsReadwishlist:read
match_deals_to_listMatch deals to my listReadwishlist:read
start_sale_scanStart a sale scanWritewishlist:write
finish_sale_scanFinish a sale scanWritewishlist:write
nominate_hot_dealNominate a hot dealSensitive writewishlist:write
create_householdCreate a householdSensitive writesettings:write
invite_to_householdInvite to householdSensitive writesettings:write
join_householdJoin a householdSensitive writesettings:write
leave_householdLeave householdSensitive writesettings:write
add_ntfy_channelAdd a phone push channel (ntfy)Sensitive writesettings:write
add_telegram_channelAdd a Telegram channelSensitive writesettings:write
send_test_alertSend a test alertSensitive writealerts:write
verify_channelVerify a phone channelSensitive writesettings:write
list_channelsList phone alert channelsReadwishlist:read
disable_channelTurn off a phone channelSensitive writesettings:write

How every tool behaves

Refusal codes

CodeMeaning
invalidAn input is missing, has the wrong type, is out of range, or is not a field the tool declares.
not_foundNo row with that id among this person's own rows. Another person's id gives the same answer.
store_offThe store is not switched on for this person, or is closed to assistants.
amazon_neverAmazon prices are never read or stored. The link is kept for the person to open.
needs_risk_consentThe source needs the person to accept its risk notice first (accept_source_risk).
stale_timeThe time the page was read is more than 2 hours before the call.
duplicateThe idempotency_key was already used for a different request, or the record already exists.
over_limitA cap was reached: rows in one import, channels of one kind, or wrong verification codes.
listing_pageThe link is a search or listing page, not one exact product page.
not_verifiedThe deal's price was not read on its product page, so it cannot be nominated.
already_in_householdThe person is already in a household.
invite_invalidThe invitation code is wrong, used or expired.
not_ownerOnly the household owner can do this.
not_set_upTelegram alerts are not set up on this server. Use ntfy.

Before any tool runs: a missing or expired sign-in is HTTP 401 with a WWW-Authenticate header; a tool outside the connection's permissions is refused with insufficient_scope; too many calls is HTTP 429; a body over the size limit is HTTP 413.

Limits

Each tool

get_agent_guide: Get the shopper guide

Class: Read. Permission: wishlist:read, "See your wish lists, items, prices, price history and alerts".

Returns the shopper protocol, evidence rules, this person's stores (on, off, preferred, avoid, memberships), excluded brands and pickup area: the rules the other Deal Desk tools expect an assistant to follow.

Inputs: none.

Returns: guide (the shopper rules as text), this_person (stores, pickup area and radius, season budget, excluded brands), the Facebook Marketplace risk notice, and the connection's label.

Side effects: None.

Refusals: invalid.

get_preferences: Get preferences

Class: Read. Permission: wishlist:read, "See your wish lists, items, prices, price history and alerts".

The person's store choices, pickup area and radius, season budget and alert preferences.

Inputs: none.

Returns: profile, alerts (quiet hours, daily digest, alert cap) and stores.

Side effects: None.

Refusals: invalid.

set_store_pref: Set a store preference

Class: Write. Permission: settings:write, "Change your store and alert settings".

Turn one store on or off for assistant checks, mark it preferred, neutral or avoid, record a membership, or add a store by web domain. Cannot switch on a store the platform has off; Amazon can never be switched on.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
source_keyOptional textA store key from get_agent_guide, or site:other together with custom_domain.
custom_domainOptional textBare domain such as example.com. Only with site:other.
custom_labelOptional text
assistant_checksOptional boolean
preferenceOptional one of preferred, neutral, avoid
has_membershipOptional boolean

Returns: store: the store row as it now stands.

Side effects: Changes one store setting for this person. Adding a store by web domain creates that store entry for them.

Refusals: invalid, duplicate, not_found, store_off, amazon_never.

set_preferences: Set preferences

Class: Write. Permission: settings:write, "Change your store and alert settings".

Set the person's pickup area label, pickup radius in miles, season budget, quiet hours, daily digest on or off, and the most alerts per day. Only the fields sent change. Send null to clear pickup_area_label, season_budget, max_alerts_per_day, or both quiet-hours times together. Quiet hours are 24-hour HH:MM times in an IANA time zone such as America/New_York. Phone and Telegram alerts are set up with their own tools, not here. Unknown fields are refused.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
pickup_area_labelOptional string, or null to clear, up to 120 characters
pickup_radius_milesOptional whole number, 1 to 100
season_budgetOptional number, or null to clear, 0 or more
quiet_hours_startOptional string, or null to clearHH:MM, 24-hour.
quiet_hours_endOptional string, or null to clearHH:MM, 24-hour.
quiet_hours_tzOptional textIANA time zone, e.g. America/New_York.
daily_digestOptional boolean
max_alerts_per_dayOptional integer, or null to clear, 1 to 100

Returns: preferences (the values now saved) and changed (the fields that changed).

Side effects: Changes the person's pickup area label, radius, budget, quiet hours, digest and alert cap. Only the fields sent change.

Refusals: invalid, duplicate.

accept_source_risk: Accept a source risk notice

Class: Sensitive write (Records a consent on the person's behalf.). Permission: settings:write, "Change your store and alert settings".

Record that the person read and accepted the risk notice for a login-walled source (Facebook Marketplace). Call only after showing the person the notice text returned by get_agent_guide and receiving a clear yes in this conversation. Never call in an unattended run.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
source_keyRequired text
person_confirmedRequired must be true

Returns: accepted: the source key.

Side effects: Records, with the time and the connection, that the person accepted the risk notice for a login-walled source. From then on that source may be switched on for them.

Refusals: invalid, duplicate, store_off.

list_wishlists: List wishlists

Class: Read. Permission: wishlist:read, "See your wish lists, items, prices, price history and alerts".

The person's own wish lists, oldest first, each with its id, name and number of active items.

InputTypeMeaning
limitOptional whole number
cursorOptional text

Returns: wishlists: id, name and number of active items for each.

Side effects: None.

Refusals: invalid.

get_wishlist: Get a wishlist

Class: Read. Permission: wishlist:read, "See your wish lists, items, prices, price history and alerts".

One list with its items, each item's status, target, chosen model and next check time.

InputTypeMeaning
wishlist_idRequired text
statusOptional text
limitOptional whole number
cursorOptional text

Returns: wishlist and items (status, target, chosen model, next check time).

Side effects: None.

Refusals: invalid, not_found.

get_item: Get an item

Class: Read. Permission: wishlist:read, "See your wish lists, items, prices, price history and alerts".

One item in full: need, constraints, brands, budget, research shortlist, offers with comparison fields, alert rules, latest recorded price per offer and latest coverage per store.

InputTypeMeaning
item_idRequired text

Returns: item, research (shortlist), offers, alert_rules and latest_coverage.

Side effects: None.

Refusals: invalid, not_found.

add_wishlist_item: Add a wishlist item

Class: Write. Permission: wishlist:write, "Add and change items, store links and prices you record".

Add an item from the person's words. Goes on their first list when no wishlist_id is given. Nothing is watched until a model is chosen.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
wishlist_idOptional text
nameRequired text
needOptional text
must_havesOptional list of text
dislikesOptional list of text
preferred_brandsOptional list of text
excluded_brandsOptional list of text
conditions_allowedOptional list of one of new, used, refurbished, open_box
budget_maxOptional number
used_price_capOptional number
needed_byOptional text
priorityOptional whole number, 1 to 5
quantityOptional whole number, 1 or more
recipient_aliasOptional text
choice_groupOptional text
min_warranty_monthsOptional whole number
min_return_daysOptional whole number
pickup_radius_override_milesOptional whole number

Returns: item: the new item.

Side effects: Adds one item to the person's list.

Refusals: invalid, duplicate, not_found.

update_wishlist_item: Update a wishlist item

Class: Write. Permission: wishlist:write, "Add and change items, store links and prices you record".

Change fields of one of the person's own items: name, need, priority, quantity, target price (the item-price target, same as set_alert_rule), status (needs_input, needs_evidence, watching, matched, dropped; use mark_purchased for a purchase), notes, next_action, recipient alias, used-price cap, budget, needed-by date, choose-one group, or check interval in hours. Only the fields sent change; the previous values are returned in before. Unknown fields are refused. Send at least one field.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
item_idRequired text
nameOptional text, up to 240 characters
needOptional text
priorityOptional whole number, 1 to 5
quantityOptional whole number, 1 or more
target_priceOptional number, 0 or more
statusOptional one of needs_input, needs_evidence, watching, matched, dropped
notesOptional text, up to 2000 characters
next_actionOptional text
recipient_aliasOptional text
used_price_capOptional number, 0 or more
budget_maxOptional number, 0 or more
needed_byOptional text
choice_groupOptional text
check_interval_hoursOptional whole number, 1 to 8760

Returns: item (after), changed (field names) and before (the previous values).

Side effects: Changes fields of one item. A target price sent here also sets the item's alert rule.

Refusals: invalid, duplicate, not_found.

mark_purchased: Mark an item purchased

Class: Write. Permission: wishlist:write, "Add and change items, store links and prices you record".

The person bought it. Closes the item and its open alerts. Deal Desk never buys anything.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
item_idRequired text
offer_idOptional text
price_paidOptional number

Returns: purchased (item name) and alerts_closed (a count).

Side effects: Closes the item and its open alerts. Deal Desk buys nothing: this only records that the person bought it.

Refusals: invalid, duplicate, not_found.

propose_candidates: Propose candidate models

Class: Write. Permission: wishlist:write, "Add and change items, store links and prices you record".

Save a research shortlist of up to 5 exact models for an item. Each needs why it fits and at least one source link that was read. No price needed.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
item_idRequired text
candidatesRequired list of object, at most 5

Returns: candidates: the saved shortlist.

Side effects: Saves up to 5 researched models for an item.

Refusals: invalid, duplicate, not_found.

choose_candidate: Choose a candidate model

Class: Write. Permission: wishlist:write, "Add and change items, store links and prices you record".

The person picked this model. One chosen model per item: choosing another un-chooses the first.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
candidate_idRequired text

Returns: chosen: candidate id, brand, product name and model number.

Side effects: Marks one model as chosen for its item and un-chooses any other.

Refusals: invalid, duplicate, not_found.

reject_candidate: Set a candidate aside

Class: Write. Permission: wishlist:write, "Add and change items, store links and prices you record".

Set a candidate aside, with the person's reason if they gave one.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
candidate_idRequired text
reasonOptional text

Returns: candidate: the candidate as it now stands.

Side effects: Sets one candidate aside, with the reason.

Refusals: invalid, duplicate, not_found.

Class: Write. Permission: wishlist:write, "Add and change items, store links and prices you record".

Attach one exact product page to the chosen model. Search-result pages are refused. Tracking and affiliate tags are stripped. An Amazon link is stored as a link-out and is never checked. A used listing is private to the person.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
item_idRequired text
urlRequired text
retailerRequired text
sellerOptional text
conditionOptional one of new, used, refurbished, open_box, unknown
warranty_monthsOptional whole number
warranty_noteOptional text
return_window_daysOptional whole number
return_policy_urlOptional text
ratingOptional number
review_countOptional whole number
review_takeawayOptional text
member_priceOptional boolean
promo_codeOptional text
promo_ends_atOptional text
tested_under_loadOptional boolean
pickup_distance_miOptional number

Returns: offer, already_existed, and link_out_only (true when the store does not allow assistants to read it).

Side effects: Attaches one product page to an item. Tracking and affiliate tags are removed from the link before it is saved.

Refusals: invalid, duplicate, not_found.

start_run: Start a check run

Class: Write. Permission: wishlist:write, "Add and change items, store links and prices you record".

Open a run. Returns run_id to send with every price and coverage record in this run.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
modeRequired one of attended, unattended

Returns: run_id and started_at.

Side effects: Opens a run record.

Refusals: invalid, duplicate.

get_due_checks: Get due checks

Class: Write. Permission: wishlist:read, "See your wish lists, items, prices, price history and alerts".

Items due for a check, each with its offers and the stores this person allows. Takes a lease on each returned item (default 30 minutes) so another assistant does not check it at the same time.

InputTypeMeaning
limitOptional whole number, 1 to 25
lease_minutesOptional whole number, 1 to 120

Returns: items due for a check (each with its offers) and stores (which ones this person allows).

Side effects: Takes a lease on each returned item (30 minutes by default) so that another assistant does not check it at the same time. This is why the tool is classed as a Write although it returns data. finish_run releases the leases.

Refusals: invalid.

record_observation: Record a price

Class: Write. Permission: wishlist:write, "Add and change items, store links and prices you record".

Record what one product page showed just now. state=observed needs the page link and means the price was read on the page in this run. Use advertised_future for an upcoming ad, lead for anything not read on the page. Refused when the store is off for this person, for Amazon, or when observed_at is more than 2 hours old. Returns any alert it opened.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
run_idOptional text
offer_idRequired text
observed_atRequired time (ISO 8601)
stateRequired one of observed, advertised_future, lead, blocked
priceOptional number
ref_priceOptional number
ref_price_typeOptional one of list, was
shippingOptional number
taxOptional number
feesOptional number
repairsOptional number
in_stockOptional booleanLeave out when the page did not say.
evidence_urlOptional text
evidence_excerptOptional text, up to 500 characters

Returns: observation (the recorded price) and alerts (any alert it opened).

Side effects: Saves one price read. If the price meets the person's alert rule it opens an alert; if the person has a verified phone channel, the alert text is then sent to that channel (ntfy or Telegram), within their quiet hours and daily cap. A price that looks like a mistake is held and nothing is sent until the person confirms it.

Refusals: invalid, duplicate, not_found, amazon_never, store_off, stale_time, needs_risk_consent.

invalidate_observation: Invalidate a recorded price

Class: Write. Permission: wishlist:write, "Add and change items, store links and prices you record".

Mark a recorded price as wrong, with the reason. The row is kept. To correct it, invalidate and record a new one.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
observation_idRequired text
reasonRequired text

Returns: observation and alerts_closed (a count).

Side effects: Marks one recorded price as wrong and closes alerts that rested on it. The row is kept.

Refusals: invalid, duplicate, not_found.

report_coverage: Report store coverage

Class: Write. Permission: wishlist:write, "Add and change items, store links and prices you record".

Say what happened at each store for an item in this run: checked, no_hit (page read, item absent), stale, blocked (site refused), rate_limited (try later) or policy_skip (store off for this person).

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
run_idRequired text
item_idRequired text
resultsRequired list of object

Returns: recorded: the number of store results saved.

Side effects: Saves what happened at each store for an item in this run.

Refusals: invalid, duplicate, not_found.

finish_run: Finish a check run

Class: Write. Permission: wishlist:write, "Add and change items, store links and prices you record".

Close the run and release its leases. Returns the run summary: hits, held prices, gaps.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
run_idRequired text

Returns: run_id and summary (hits, held prices, gaps).

Side effects: Closes the run and releases its leases.

Refusals: invalid, duplicate, not_found.

get_price_history: Get price history

Class: Read. Permission: wishlist:read, "See your wish lists, items, prices, price history and alerts".

The person's own recorded prices for an item or offer, newest first, including invalidated ones marked as such.

InputTypeMeaning
item_idOptional text
offer_idOptional text
limitOptional whole number
cursorOptional text

Returns: prices: the person's recorded prices, newest first, invalidated ones marked.

Side effects: None.

Refusals: invalid, not_found.

compare_offers: Compare offers

Class: Read. Permission: wishlist:read, "See your wish lists, items, prices, price history and alerts".

One table for an item: each offer's latest observed price, known total, stock, warranty, return window, rating, how old the price is, and which fields are unknown.

InputTypeMeaning
item_idRequired text

Returns: item (name) and offers: latest price, shipping, tax, known_total, stock, warranty, return window, rating, price_read_at, and the list of unknown fields.

Side effects: None.

Refusals: invalid, not_found.

set_alert_rule: Set a target price

Class: Write. Permission: alerts:write, "Set price alerts, and acknowledge or snooze them".

Set the target for an item: a price, and whether it applies to the item price or the known all-in total. Refused for excluded brands.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
item_idRequired text
target_priceRequired number
basisOptional one of item_price, known_total

Returns: rule: the alert rule as saved.

Side effects: Sets or replaces the target price for an item.

Refusals: invalid, duplicate, not_found.

list_alerts: List alerts

Class: Read. Permission: wishlist:read, "See your wish lists, items, prices, price history and alerts".

Open alerts and prices held for confirmation, each with the page link, price, time read and store.

InputTypeMeaning
include_heldOptional boolean
limitOptional whole number
cursorOptional text

Returns: alerts: open alerts and held prices, each with page link, price, time read and store.

Side effects: None.

Refusals: invalid.

ack_alert: Acknowledge an alert

Class: Write. Permission: alerts:write, "Set price alerts, and acknowledge or snooze them".

The person has been told. Stops the alert being repeated.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
alert_idRequired text

Returns: acknowledged: the alert id.

Side effects: Marks an alert as told, so it is not repeated.

Refusals: invalid, duplicate, not_found.

snooze_alert: Snooze an alert

Class: Write. Permission: alerts:write, "Set price alerts, and acknowledge or snooze them".

Hide an alert until a time the person chose.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
alert_idRequired text
untilRequired time (ISO 8601)

Returns: snoozed_until.

Side effects: Hides an alert until the time given.

Refusals: invalid, duplicate, not_found.

release_held_price: Release a held price

Class: Sensitive write (Sends an alert message, and needs the person's confirmation in a live conversation.). Permission: alerts:write, "Set price alerts, and acknowledge or snooze them".

The person confirmed a price that was held as a possible mistake. Sends the alert. Only in a live conversation with the person.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
alert_idRequired text
person_confirmedRequired must be true

Returns: released: the alert id.

Side effects: Releases a price that was held as a possible mistake and queues its alert, which is then sent to the person's verified phone channel if they have one.

Refusals: invalid, duplicate, not_found.

get_digest: Get the digest

Class: Read. Permission: wishlist:read, "See your wish lists, items, prices, price history and alerts".

What changed since a time, per list: new prices read on the product page (observed), latest observed prices at or under the item-price target, prices held for confirmation, items with no check in their due window, and open alerts. Every price carries the store, the time it was read and its evidence state. since defaults to 24 hours ago. With nothing to report, it says so plainly.

InputTypeMeaning
sinceOptional time (ISO 8601)

Returns: since, lists (new prices, prices at or under target, held prices, overdue checks, open alerts), nothing_to_report and a one-sentence summary.

Side effects: None.

Refusals: invalid.

import_sheet_csv: Import a kit sheet tab

Class: Write. Permission: wishlist:write, "Add and change items, store links and prices you record".

Import one tab of the Deal Desk kit workbook (kit/Deal-Desk-Kit-Template.xlsx), saved as CSV with its header row. Wishlist first, then Offers. Dry run by default: returns every row as new, duplicate, conflict or skipped (with the reason) without writing. Send commit=true to write. Columns are matched by the kit's header names; extra columns are kept with the row. Wishlist uses: Wish ID (required), Item / need (required), Priority (1-5), Status, Next action, Target item $, Used cap all-in $, Qty, Choose-one group, Need by (YYYY-MM-DD or M/D/YYYY), Must-have requirements (split on ;), Recipient alias. Offers uses: Offer ID (required), Wish ID (required, a wish imported earlier), Retailer (required), Source URL (required, an exact product page; search pages refused), Seller, Channel, Condition, Exact variant / bundle, Item price $, Shipping $, Tax $, Fees $, Repairs / missing parts $, Availability, Observed at (original), Reference price $, Warranty, Return policy, Review takeaway + source. An offer for a wish with no chosen model sets the model from Exact variant / bundle (or the wish name). A price is stored only with its Observed at time, as historical_import: it is history, never alerts, and Amazon prices are never stored. Formula columns (Known all-in $, All-in total $, Cost completeness, Advertised saving, Comparison gate) are ignored. Importing the same file again writes nothing: rows already imported are duplicates; a Wish ID or Offer ID imported before with different values is a conflict and is not written.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
tab_nameRequired one of Wishlist, Offers
csvRequired text, up to 1000000 characters
wishlist_idOptional textWishlist tab only. The list to add wishes to; the person's first list when left out.
commitOptional boolean

Returns: tab, committed, counts and rows (each new, duplicate, conflict or skipped, with the reason); batch_id when rows were written.

Side effects: Dry run by default: writes nothing. With commit=true it adds the new wishes or offers. Imported prices are stored as history and never open an alert. Amazon prices are never stored.

Refusals: invalid, duplicate, over_limit, not_found.

export_csv: Export as CSV

Class: Read. Permission: wishlist:read, "See your wish lists, items, prices, price history and alerts".

The person's own rows as CSV text (RFC 4180, header row first) for Google Sheets or Excel. wishlist: one row per item with its list. offers: one row per offer with its list, item and latest observed price (store, time read, evidence state). price_history: every recorded price, invalidated ones marked. coverage: store coverage per item and run. Unknown values are empty cells, never 0. Text that starts with = + - or @ is prefixed with ' so a spreadsheet does not run it as a formula. At most 5000 rows; truncated says when more exist.

InputTypeMeaning
whatRequired one of wishlist, offers, price_history, coverage

Returns: what, rows (a count), truncated and csv (the text).

Side effects: None. At most 5000 rows.

Refusals: invalid.

record_deal: Record a deal

Class: Write. Permission: wishlist:write, "Add and change items, store links and prices you record".

Record one product on sale, exactly as its page showed it. product_url must be the exact product page (search and listing pages are refused). Refused for Amazon, eBay, and stores this person has not switched on. Send price_basis product_page only when you opened the product page and read the price there; sale_page_tile when you only saw it on a sale listing. Record every condition the page showed. Returns the deal with the database's discount and a reality check against this person's own recorded prices.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
run_idOptional textFrom start_sale_scan, when recorded during a sale scan.
product_urlRequired text
titleRequired text, up to 300 characters
brandOptional text, up to 120 characters
modelOptional text, up to 120 characters
skuOptional text, up to 120 characters
categoryRequired one of tv_audio, computers, phones, gaming, cameras, smart_home, appliances, kitchen, home, furniture, tools, outdoor, farm_ranch, automotive, clothing, beauty_health, toys, baby, sports_fitness, pets, grocery, gift_cards, other
sale_priceRequired number, 0.01 or more
store_regular_priceOptional number, 0.01 or moreThe store's own was or regular price, only if the page showed one.
store_regular_price_labelOptional one of was, regular, list, compare_atThe word the store used for that price. Required with store_regular_price.
price_basisRequired one of product_page, sale_page_tile
stateOptional one of observed, advertised_future, leadobserved = read on the page now; advertised_future = an upcoming price; lead = not read on a store page.
in_stockOptional booleanLeave out when the page did not say.
conditionsOptional list of one of member_only, in_store_only, online_only, coupon_required, limited_quantity, rebate, bundle, trade_in
coupon_codeOptional text, up to 60 characters
conditions_noteOptional text, up to 500 charactersAny other condition in the store's words, such as a purchase limit.
starts_atOptional time (ISO 8601)Only if the page showed it.
ends_atOptional time (ISO 8601)Only if the page showed it.
read_atRequired time (ISO 8601)
sale_eventOptional one of black_friday_2026, cyber_monday_2026, holiday_2026
currencyOptional text
wishlist_item_idOptional textOptional: the person's own list item this deal is for.

Returns: deal: the saved deal with the computed discount and a reality check against the person's own recorded prices.

Side effects: Saves one deal, visible to the person and their household. Nothing is published.

Refusals: invalid, duplicate, amazon_never, store_off, needs_risk_consent, listing_page, stale_time, not_found.

find_deals: Find deals

Class: Read. Permission: wishlist:read, "See your wish lists, items, prices, price history and alerts".

Live deals this person or their household recorded, ranked: verified first, then discount, then a match to this person's list, then how recently it was read. Ended deals and deals not re-read within the store's limit are hidden. Every deal carries its conditions and its reality check.

InputTypeMeaning
scopeOptional one of household, mine
storeOptional textA store key such as site:target, or a web domain.
categoryOptional text
sale_eventOptional text
min_discount_pctOptional number, 0 to 100
max_priceOptional number, 0 or more
verified_onlyOptional boolean
exclude_conditionsOptional list of one of member_only, in_store_only, online_only, coupon_required, limited_quantity, rebate, bundle, trade_in
limitOptional whole number, 1 to 100

Returns: deals (ranked, each with conditions, reality check and any list match) and the ranking rule in words.

Side effects: None.

Refusals: invalid.

match_deals_to_list: Match deals to my list

Class: Read. Permission: wishlist:read, "See your wish lists, items, prices, price history and alerts".

Live deals that fit this person's list items, each with the reason: linked (recorded for that item), model (same model or SKU), brand_and_name (same brand and every word of the item's name), or category.

InputTypeMeaning
item_idOptional textOne item; leave out for every active item.
categoryOptional textWith item_id: the item's deal category, when it has none stored.
verified_onlyOptional boolean

Returns: items: list items with the live deals that fit and the reason for each match.

Side effects: None.

Refusals: invalid, not_found.

start_sale_scan: Start a sale scan

Class: Write. Permission: wishlist:write, "Add and change items, store links and prices you record".

Open a run for reading store sale pages. Returns run_id, the stores this person has switched on (only those may be read) and the current sale events. Send run_id with every record_deal in this scan.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
modeRequired one of attended, unattended
storesOptional list of textOptional store keys or domains to limit this scan to.

Returns: run_id, started_at, stores_to_read, any stores not switched on, and current sale events.

Side effects: Opens a run record.

Refusals: invalid, duplicate.

finish_sale_scan: Finish a sale scan

Class: Write. Permission: wishlist:write, "Add and change items, store links and prices you record".

Close a sale scan and say what happened at each store's sale page: checked (read), no_hit (read, nothing that fits), stale, blocked (site refused), rate_limited (try later) or policy_skip (store off for this person). Returns the run summary.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
run_idRequired text
pagesRequired list of object, at most 60

Returns: run_id and summary.

Side effects: Closes the scan and saves what happened at each store's sale page.

Refusals: invalid, duplicate, not_found, amazon_never, store_off.

nominate_hot_deal: Nominate a hot deal

Class: Sensitive write (Puts deal facts forward for use outside the person's account, and needs the person's agreement.). Permission: wishlist:write, "Add and change items, store links and prices you record".

Put forward a verified, live deal as a candidate for HuntHive's public deal review. Only deals read on their product page qualify. The nomination sent on carries the product, store, prices as read and conditions, and nothing about the person or household. HuntHive decides whether any price is shown publicly. Only with the person's agreement.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
deal_idRequired text
reasonRequired text, up to 500 charactersWhy it is a hot deal. Kept private; not exported.

Returns: nomination (id and export status), export (the exact fields that would be passed on) and a note.

Side effects: Saves a nomination: a candidate for HuntHive's public deal review. It carries the product, store, prices as read and conditions, and nothing about the person or household. HuntHive decides whether any price is shown.

Refusals: invalid, duplicate, not_found, not_verified.

create_household: Create a household

Class: Sensitive write (Changes who can see the person's data.). Permission: settings:write, "Change your store and alert settings".

Start a household with this person as its owner. Household members see each other's deals and lists; only the person who made a record changes it. A person is in at most one household.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
nameRequired text, up to 80 characters

Returns: household: id, name and role (owner).

Side effects: Starts a household owned by this person. Members of a household see each other's deals and lists.

Refusals: invalid, duplicate, already_in_household.

invite_to_household: Invite to household

Class: Sensitive write (Creates a code that gives another person access to shared data.). Permission: settings:write, "Change your store and alert settings".

The household owner gets a one-time code to give to one person. The code works once and expires in 48 hours. Show it only to the owner.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.

Returns: code, expires_at, single_use and a sentence to tell the person.

Side effects: Creates a one-time invitation code (48 hours). Whoever uses it joins the household and sees its deals and lists.

Refusals: invalid, duplicate, not_found, not_owner.

join_household: Join a household

Class: Sensitive write (Changes who can see the person's data.). Permission: settings:write, "Change your store and alert settings".

Join a household with the one-time code its owner gave this person. Refused when the person is already in a household.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
codeRequired text, up to 80 characters

Returns: household: id, name, role (member) and members.

Side effects: Adds this person to a household. Their deals and lists become visible to its members, and the members' to them.

Refusals: invalid, duplicate, already_in_household, invite_invalid.

leave_household: Leave household

Class: Sensitive write (Changes who can see the person's data, and needs the person's confirmation.). Permission: settings:write, "Change your store and alert settings".

Leave the household. This person's deals and lists stop being shared with it, and theirs with this person. Nothing is deleted. If the owner leaves, the longest-standing member becomes owner. Only after the person confirms.

InputTypeMeaning
idempotency_keyRequired textA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
person_confirmedRequired must be true

Returns: left (household name), members_remaining and ownership_passed_on.

Side effects: Removes this person from the household and ends the sharing both ways. No rows are removed. If the owner leaves, the longest-standing member becomes owner.

Refusals: invalid, duplicate, not_found.

add_ntfy_channel: Add a phone push channel (ntfy)

Class: Sensitive write (Sets up a place outside Deal Desk where alert messages will be sent.). Permission: settings:write, "Change your store and alert settings".

Create a phone push channel through the free ntfy app (no account). Returns a long random topic and the steps to subscribe. The channel receives nothing but its verification message until verify_channel succeeds.

InputTypeMeaning
idempotency_keyRequired text, up to 120 charactersA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
labelOptional text, up to 60 charactersA name the person recognises, e.g. 'My phone'.

Returns: channel and subscribe (server, topic, web link and steps for the person).

Side effects: Creates a phone push channel with a long random topic. It receives nothing but its verification message until verify_channel succeeds. At most 5 channels of each kind.

Refusals: invalid, duplicate, over_limit.

add_telegram_channel: Add a Telegram channel

Class: Sensitive write (Sets up a place outside Deal Desk where alert messages will be sent.). Permission: settings:write, "Change your store and alert settings".

Create a Telegram channel. Returns a one-time code (30 minutes) and a link; the person sends /start <code> to the Deal Desk bot from a private chat and the bot answers 'Connected'. Refused with not_set_up until the owner has set up the bot.

InputTypeMeaning
idempotency_keyRequired text, up to 120 charactersA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
labelOptional text, up to 60 characters

Returns: channel, code, expires_at, a link to open and steps for the person.

Side effects: Creates a Telegram channel that switches on only when the person sends the one-time code (30 minutes) to the bot from their own chat. At most 5 channels of each kind.

Refusals: invalid, duplicate, not_set_up, over_limit.

send_test_alert: Send a test alert

Class: Sensitive write (Sends a message outside Deal Desk.). Permission: alerts:write, "Set price alerts, and acknowledge or snooze them".

Send a message to one of the person's channels. For an unverified ntfy channel this is the verification message with a code (valid 24 hours); for a verified channel it is a plain test. Returns sent true or false with the reason.

InputTypeMeaning
idempotency_keyRequired text, up to 120 charactersA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
channel_idRequired text, up to 64 characters

Returns: channel_id, purpose, sent (true or false, with the reason), and when a code was sent, when it expires.

Side effects: Sends one message to the person's channel through ntfy or Telegram: the verification code for an unverified ntfy channel, a plain test otherwise.

Refusals: invalid, duplicate, not_found, not_set_up.

verify_channel: Verify a phone channel

Class: Sensitive write (Switches on sending of alert messages to a phone channel.). Permission: settings:write, "Change your store and alert settings".

Switch an ntfy channel on with the code the person read from the verification message. A wrong code returns verified false and counts one of 5 tries.

InputTypeMeaning
idempotency_keyRequired text, up to 120 charactersA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
channel_idRequired text, up to 64 characters
codeRequired text, up to 32 characters

Returns: channel_id and verified; on a wrong code, a message and tries_left.

Side effects: Switches an ntfy channel on, so alerts start going to it. A wrong code counts one of 5 tries.

Refusals: invalid, duplicate, not_found, over_limit.

list_channels: List phone alert channels

Class: Read. Permission: wishlist:read, "See your wish lists, items, prices, price history and alerts".

The person's phone alert channels: kind, label, on or off, verified, last message sent, and whether Telegram is available on this server.

Inputs: none.

Returns: channels (kind, label, on or off, verified, last message sent) and telegram_available.

Side effects: None.

Refusals: invalid.

disable_channel: Turn off a phone channel

Class: Sensitive write (Stops the person's alerts from reaching them on that channel.). Permission: settings:write, "Change your store and alert settings".

Switch a channel off. Messages still queued for it are cancelled. Nothing is deleted.

InputTypeMeaning
idempotency_keyRequired text, up to 120 charactersA fresh value for each new request. Sending the same value again returns the first result and writes nothing.
channel_idRequired text, up to 64 characters

Returns: disabled (channel id) and queued_sends_cancelled (a count).

Side effects: Switches a channel off and cancels messages still queued for it. No rows are removed.

Refusals: invalid, duplicate, not_found.