PerfuMate / Connect your chat / MCP tools

PerfuMate MCP server: tools reference

The PerfuMate MCP server lets ChatGPT, Claude, Gemini and other MCP clients use PerfuMate's catalog, IFRA check and starting formulas, and, once an account is linked, the user's own formulas and shelf. It has 45 tools: 4 need no account, 41 work on a linked account. This page is generated from the server's own tool list.

https://perfumate.app/mcp

Connect

Claude

  1. Open Claude on the web. Go to Customize, then Connectors, then + Add and Add custom connector.
  2. Name it PerfuMate, paste the MCP server URL and review the detected connection settings. Sign in to PerfuMate when asked if you want the chat to work on your own formulas and shelf.
  3. Start a chat. Open its + menu, choose Connectors and enable PerfuMate. Try a catalog question first.

Open Claude with PerfuMate filled in

ChatGPT

  1. Open ChatGPT on the web. Go to Plugins, select +, then Add custom MCP server.
  2. Name it PerfuMate and paste the MCP server URL. Select OAuth for account access, review the connection warning and choose Create as a plugin.
  3. Install the plugin. Start a new chat, type @ and select PerfuMate. Try a catalog question first.

ChatGPT works today as a custom MCP server: a few extra steps on chatgpt.com, on ChatGPT plans that allow it. The one-click listing is not available yet. Claude is the easy way.

Gemini

  1. Open Gemini on the web. Go to Settings, then Connected Apps. If needed, open Personal Intelligence first.
  2. Under Custom apps, choose Add a custom app. Paste the MCP server URL below, select Next and follow the on-screen steps.
  3. In a text chat, type @ and select PerfuMate. Connected custom apps can be used on the web and in the mobile app.

Other MCP clients

Add https://perfumate.app/mcp as a remote MCP server in the client's settings. The public tools work at once; the account tools ask for a PerfuMate sign-in the first time one is called.

Every step with pictures and copy buttons is in the connection guide.

Tools at a glance

4 public tools, all read only. 41 account tools: 14 only read, 25 change data, 2 can remove data.

Public tools, no account

The descriptions below are the ones the assistant reads.

search_materials Search perfumery materials

No account neededReads only

Use this when the user wants to find perfumery materials by scent, family, name or CAS number, for example musks, woods or citrus to put in a formula, or the catalog name of a material they typed loosely. Returns up to 10 catalog materials (aroma chemicals, essential oils, absolutes, bases) with CAS, family, note, impact, scent facets and a page link; a material IFRA prohibits or the EU bans is marked prohibited and ranked lower. For the full detail of one material use get_material; to check a whole formula use check_formula. Not for finished perfumes or shopping advice.

InputTypeNotes
query requiredtextA name, synonym, CAS number, family or facet, e.g. "musk". at most 80 characters.
limitwhole number1 to 10, default 8.

get_material Show a perfumery material

No account neededReads only

Use this when the user asks what one perfumery material smells like, how it is used, how strong or long-lasting it is, or how much of it IFRA allows (its Category 4 fine-fragrance limit, e.g. "how much Iso E Super can I use"). Returns the odour description, family, note, impact, blotter life, synonyms, whether IFRA restricts it and its limit, whether the EU prohibits it, and a link to start a formula with it. The limit is the regulatory ceiling in the finished product, not a recommended dose. Without an exact match it returns the closest catalog names. To check a whole formula use check_formula.

InputTypeNotes
name requiredtextCanonical name, synonym or CAS number. at most 160 characters.

check_formula Check a formula (IFRA and EU allergens)

No account neededReads only

Use this when the user has a perfume or accord formula, pasted or drafted earlier in this conversation, and wants to know whether it is IFRA compliant, how much of the finished product it may be, which line to reduce, or which EU allergens the label must declare. Checks IFRA Category 4 (fine fragrance) at the concentration the user chooses, finds the highest safe concentration and says how far to reduce a line that is over a limit. Give the formula as pasted text (one material per line with an amount) or as structured lines, every line in grams or every line in percent. Amounts are weights: a line in ml or drops cannot be weighed (no density is on file). Whatever is not counted (such a line, a name the catalog does not have, a natural with no breakdown, a dilution's carrier that the catalog does not recognise) is listed in notCounted with its reason; complete is then false, the verdict is never "within limits" and no highest safe concentration is given, while a limit that is exceeded is still reported as exceeded. Does not save anything and does not change the amounts. Returns a link that opens the formula in PerfuMate. For one material's limit use get_material; for a starting recipe use find_starting_formula.

InputTypeNotes
formulatextThe formula as text, one line per material, e.g. "Hedione 4 g" or "Ambroxan 10% in DPG 2 g". at most 20000 characters.
lineslist of objectsat most 200 items.
lines[].materialtextMaterial name as written, e.g. "Iso E Super". at most 160 characters.
lines[].amountnumberat most 100000, above 0.
lines[].unitone of "g", "mg", "kg", "%"default "g".
lines[].dilutionPctnumberStrength of the bottle used, e.g. 10 for a 10% dilution. Omit for neat. at most 100, above 0.
lines[].solventtextThe dilution's carrier, e.g. DPG, IPM, ethanol, benzyl benzoate. Give it when known: a restricted carrier is checked against its own limit. at most 40 characters.
concentrationPctnumberHow much of the finished product the formula is, e.g. 20 for an eau de parfum. 0.1 to 100, default 20.

find_starting_formula Find a starting formula

No account neededReads only

Use this when the user wants to build, create, compose or formulate a perfume, fragrance or accord and needs a starting recipe (a rose, a citrus cologne, a clean musk, an amber), or asks what they could make with materials they list. Matches the idea to PerfuMate's reference accords, the vetted recipes published at perfumate.app/accords, and returns the closest match with its percentages and grams for a batch, already checked against IFRA Category 4 at the concentration given (verdict, highest safe concentration, allergens to declare), plus a link that opens it in PerfuMate and a few alternatives. The ratios are the library's own; nothing is invented, and an idea no accord fits returns the list of available accords instead. Re-check any edited version with check_formula. Not for copying a named commercial perfume. Does not save anything.

InputTypeNotes
ideatextWhat the user wants to make, in their words, e.g. "fresh citrus cologne", "rose", "clean laundry musk". at most 200 characters.
haveMaterialslist of textMaterials the user already has; accords they can make with them rank first and the missing ones are listed. at most 60 items.
concentrationPctnumberHow much of the finished product these lines would be, for the IFRA check, e.g. 20 for an eau de parfum. 0.1 to 100, default 20.
batchGramsnumberBatch size in grams for the amounts. 0.1 to 100000, default 100.

Account tools

These act on the linked user's own bench with that user's own sign-in, and every change reaches the user's PerfuMate apps. They need PerfuMate Unlimited or an AI Studio plan.

my_account Your PerfuMate account

Needs a linked accountReads only

Use this when the user asks about their PerfuMate account or how big their bench is. Returns the linked account's plan ("unlimited" or "ai_studio") and its counts of formulas, shelf materials and notebooks; says so when the bench has not synced from the app yet.

No inputs.

list_formulas List your formulas

Needs a linked accountReads only

Use this when the user asks what formulas they have, wants to find one by name, folder or favourite, or before you read or change a formula (it returns the ids the other tools use). Lists the formulas on the user's PerfuMate bench, pinned first then most recently edited, with folders. Locked formulas show their name only.

InputTypeNotes
querytextat most 80 characters.
foldertextA folder name; "" for unfiled. Filtering by folder requires PerfuMate Unlimited. at most 80 characters.
favoritesOnlytrue or false
kindone of "perfume", "accord"

get_formula Show one of your formulas

Needs a linked accountReads only

Use this when the user wants to see one of their formulas: every line with material, bottle strength, amount, relative and absolute percent, flags and notes, plus totals, concentration, cost and the note pyramid. Optionally adds an IFRA Category 4 and EU allergen check of it ("is my formula IFRA compliant"). Can read a past version by number or id.

InputTypeNotes
formula requiredtextThe formula: its id (from list_formulas) or its exact name. at most 200 characters.
versiontextA version number such as "3", or its id. Omit for the working copy. at most 60 characters.
checkIfratrue or false
ifraConcentrationPctnumberHow much of the finished product the formula is, for the IFRA check. Default: the IFRA basis saved on the formula, else its own percentages as written (100). 0.1 to 100.

list_versions List a formula's versions

Needs a linked accountReads only

Use this when the user asks about a formula's history: its version tree with notes and parents, which version is the working copy and which have batches.

InputTypeNotes
formula requiredtextThe formula: its id (from list_formulas) or its exact name. at most 200 characters.

create_formula Create a formula on your bench

Needs a linked accountChanges data

Use this when the user wants a new formula on their PerfuMate bench, empty or with lines they give (structured, pasted text or an attached file), for example after building one together in this chat. Lines are matched to the catalog and the user's own materials; if any line does not match, nothing is saved and the unmatched names come back with suggestions. Bottles the user does not own are added off the shelf, as an import does. To only check a formula without saving it use check_formula.

InputTypeNotes
nametextat most 120 characters.
descriptiontextat most 2000 characters.
kindone of "perfume", "accord"
targetConcentrationPctnumber0.01 to 100.
foldertextRequires PerfuMate Unlimited, including an empty folder name. at most 80 characters.
lineslist of objectsat most 200 items.
lines[].materialtextName, trade name or CAS as written, e.g. "Iso E Super" or "Ambroxan 10% in DPG". at most 160 characters.
lines[].gramsnumberWeighed amount in grams. Never send together with percent. 0 to 100000.
lines[].percentnumberWeighed share of the formula, when every line is percent. Never send together with grams. Not the bottle dilution. 0 to 100.
lines[].dilutionPctnumberStrength of the bottle weighed, e.g. 10 for a 10% dilution. at most 100, above 0.
lines[].solventtextThe dilution's solvent, e.g. DPG, IPM, ethanol. at most 40 characters.
lines[].newMaterialtrue, or objectOnly for a material the catalog does not have: create it as the user's own material.
lines[].newMaterial.familytextat most 40 characters.
lines[].newMaterial.noteone of "top", "heart", "base", "none"
lines[].newMaterial.castextat most 40 characters.
lines[].newMaterial.odortextat most 500 characters.
lines[].newMaterial.naturaltrue or false
lines[].notetextat most 500 characters.
lines[].flagone of "too_strong", "too_weak", "replace"
texttextThe formula as pasted text, one material per line with an amount. at most 20000 characters.
fileobjectA file the user attached in the chat: CSV, TSV, TXT, JSON or Excel (.xlsx).
file.download_urlURL
file.file_idtext
file.mime_typetext
file.file_nametext
batchGramsnumberBatch size when lines are in percent. Default 10 g. at most 100000, above 0.

edit_formula Edit a formula's lines

Needs a linked accountChanges data

Use this when the user wants to change a formula on their bench: add or remove a material, set an amount or a bottle strength, swap a material, flag or note a line, reorder, or scale the whole formula. Changes the working copy in place, as one hand edit in the editor does. No version is made; undo_last_change reverses the change, save_version keeps a version when the user asks. Only when a batch was made from the working copy does the first change start one new working version (the result says so). A formula open in the app updates within seconds. Lines are named by material or id. For add/set_amount always specify unit: g is a weighed amount; % is the final weighed share of the whole formula (including solvent, not the pure aromatic relative/absolute percent). Other weighed lines are held fixed; several % targets are solved together. Never copy relativePct or absolutePct as grams. Read get_formula first and use weighedPct for this kind of percentage edit. Whole-formula scale changes weight while preserving the recipe ratios; use scale_to_concentration to change finished concentration. Adding a specified solvent amount preserves existing ingredient amounts and increases the total weight.

InputTypeNotes
formula requiredtextThe formula: its id (from list_formulas) or its exact name. at most 200 characters.
operations requiredlist of objectsat least 1 item, at most 100 items.
operations[].op requiredone of "add", "remove", "set_amount", "set_dilution", "swap", "set_flag", "set_note", "reorder", "scale"
operations[].linetextThe line: its material name or line id. at most 200 characters.
operations[].materialtextat most 160 characters.
operations[].amountnumberAmount in the explicit unit; never infer grams from a percentage. 0 to 100000.
operations[].unitone of "g", "%", "part", "drop"For add/set_amount: g or % for a weighed formula, part/drop only for a line already in that native unit. Legacy omission keeps its native unit, never percent.
operations[].dilutionPctnumberStrength of the stock bottle used by this line, not the finished formula concentration. This does not make a physical stock dilution. at most 100, above 0.
operations[].solventtextat most 40 characters.
operations[].newMaterialtrue, or objectOnly for a material the catalog does not have: create it as the user's own material.
operations[].newMaterial.familytextat most 40 characters.
operations[].newMaterial.noteone of "top", "heart", "base", "none"
operations[].newMaterial.castextat most 40 characters.
operations[].newMaterial.odortextat most 500 characters.
operations[].newMaterial.naturaltrue or false
operations[].flagone of "too_strong", "too_weak", "replace"null clears it.
operations[].notetextat most 500 characters.
operations[].lineslist of textFor reorder: lines in their new order. at most 200 items.
operations[].totalGramsnumberFor scale: the explicitly requested final total weight in grams, preserving recipe ratios. Not a concentration percentage. at most 100000, above 0.
operations[].factornumberFor scale: the explicitly requested multiplier of all weighed amounts, not a concentration percentage. at most 1000, above 0.

update_formula Rename, describe or file a formula

Needs a linked accountChanges data

Use this when the user wants to rename a formula or change its description, bench notes, kind (perfume or accord), folder, favourite star, pin, target concentration, IFRA category or bottle size.

InputTypeNotes
formula requiredtextThe formula: its id (from list_formulas) or its exact name. at most 200 characters.
nametextat most 120 characters.
descriptiontextat most 2000 characters, null clears it.
personalNotestextat most 5000 characters, null clears it.
kindone of "perfume", "accord"
foldertextRequires PerfuMate Unlimited, including clearing or unfiling. at most 80 characters, null clears it.
favoritetrue or false
pinnedtrue or false
targetConcentrationPctnumberSaved target only. This does not change ingredient amounts, actual concentration or shelf stock. Use scale_to_concentration to recompose the recipe. 0.01 to 100, null clears it.
ifraCategorytextat most 4 characters.
bottleSizeMlnumberat most 100000, above 0, null clears it.

rename_folder Rename a formula folder

Needs a linked accountChanges data

Use this when the user wants to rename a formula folder: every formula filed in it moves (an empty name unfiles them). Requires PerfuMate Unlimited.

InputTypeNotes
from requiredtextat most 80 characters.
to requiredtextat most 80 characters.

duplicate_formula Duplicate a formula

Needs a linked accountChanges data

Use this when the user wants a copy of a formula to try changes on: an independent copy of its working copy with the same bottles, named "<name> copy" unless named.

InputTypeNotes
formula requiredtextThe formula: its id (from list_formulas) or its exact name. at most 200 characters.
nametextat most 120 characters.

save_version Save a version to the tree

Needs a linked accountChanges data

Use this when the user wants to keep the current state of a formula as a named version in its evolution tree and carry on editing on a fresh copy.

InputTypeNotes
formula requiredtextThe formula: its id (from list_formulas) or its exact name. at most 200 characters.
notetextat most 120 characters.

branch_version Branch from a version

Needs a linked accountChanges data

Use this when the user wants to start a new line of work from a past version; the old working copy stays in the tree.

InputTypeNotes
formula requiredtextThe formula: its id (from list_formulas) or its exact name. at most 200 characters.
version requiredtextat most 60 characters.

open_version Edit a past version in place

Needs a linked accountChanges data

Use this when the user wants to go back and edit a past version directly, without cloning it. Refused for a version a batch was made from.

InputTypeNotes
formula requiredtextThe formula: its id (from list_formulas) or its exact name. at most 200 characters.
version requiredtextat most 60 characters.

rename_version Rename or renumber a version

Needs a linked accountChanges data

Use this when the user wants to change a version's note or the number it carries.

InputTypeNotes
formula requiredtextThe formula: its id (from list_formulas) or its exact name. at most 200 characters.
version requiredtextat most 60 characters.
notetextat most 120 characters, null clears it.
numberwhole number1 to 100000.

list_shelf List your shelf

Needs a linked accountReads only

Use this when the user asks which materials they own, what is in stock or running low, or as the first step to suggest what they can make with their shelf. Lists the materials on the user's shelf, each with its bottles: strength, solvent, stock, price, supplier, lot and running low.

InputTypeNotes
querytextat most 80 characters.
lowOnlytrue or false

get_shelf_material Show one of your materials

Needs a linked accountReads only

Use this when the user asks about one material they own: their notes, its bottles with recent stock movements, and the formulas that use it.

InputTypeNotes
material requiredtextThe material: name, CAS, or its id from list_shelf. at most 200 characters.

add_to_shelf Add materials to your shelf

Needs a linked accountChanges data

Use this when the user says they have bought or own materials and wants them on their shelf. Adds catalog materials by name or CAS, or their own new ones; each item can carry the bottle strength, solvent, stock in grams, price per gram, supplier and lot. Without a strength, a catalog material gets its usual working dilution (in DPG unless a solvent is given), else neat. A list can also come as pasted text or an attached file: one material per line, or a table whose header row names the columns. Names that match nothing come back with suggestions.

InputTypeNotes
itemslist of objectsat most 300 items.
items[].materialtextat most 160 characters.
items[].castextat most 40 characters.
items[].dilutionPctnumberat most 100, above 0.
items[].solventtextat most 40 characters.
items[].stockGramsnumber0 to 1000000.
items[].pricePerGramnumber0 to 1000000.
items[].suppliertextat most 80 characters.
items[].lottextat most 80 characters.
items[].lowStockGramsnumber0 to 1000000.
items[].newMaterialtrue, or objectOnly for a material the catalog does not have: create it as the user's own material.
items[].newMaterial.familytextat most 40 characters.
items[].newMaterial.noteone of "top", "heart", "base", "none"
items[].newMaterial.castextat most 40 characters.
items[].newMaterial.odortextat most 500 characters.
items[].newMaterial.naturaltrue or false
texttextat most 100000 characters.
fileobjectA list the user attached in the chat: CSV, TSV, TXT or Excel (.xlsx).
file.download_urlURL
file.file_idtext
file.mime_typetext
file.file_nametext

update_bottle Update a bottle

Needs a linked accountChanges data

Use this when the user wants to record stock for a bottle (a weighed count, or grams bought or used, through the stock ledger) or change its price per gram, supplier, lot, low-stock warning, strength, solvent or notes, take it on or off the shelf, or make it the preferred bottle.

InputTypeNotes
bottletextThe bottle id from list_shelf. at most 60 characters.
materialtextat most 160 characters.
dilutionPctnumberWith bottle: its new strength. Without bottle: which of the material's bottles to change. at most 100, above 0.
solventtextat most 40 characters, null clears it.
countGramsnumberWhat the bottle holds now, weighed. 0 to 1000000.
addGramsnumberGrams bought (positive) or used (negative). -1000000 to 1000000.
reasontextat most 200 characters.
pricePerGramnumber0 to 1000000, null clears it.
suppliertextat most 80 characters, null clears it.
lottextat most 80 characters, null clears it.
lowStockGramsnumber0 to 1000000, null clears it.
notestextat most 1000 characters, null clears it.
onShelftrue or false
makeDefaulttrue or false

make_dilution Make a dilution from stock

Needs a linked accountChanges data

Use this when the user has made, or wants to record, a dilution from a bottle they own; the material used is taken from the source bottle's stock. This makes a stock bottle, not a formula concentration change. The source bottle's existing strength determines the source and solvent grams; the target cannot be stronger than the source.

InputTypeNotes
materialtextat most 160 characters.
fromBottletextat most 60 characters.
fromDilutionPctnumberat most 100, above 0.
targetPct requirednumberat most 100, above 0.
grams requirednumberTotal grams of the finished new stock dilution, not grams of solvent to add or a formula batch size. at most 100000, above 0.
solventtextat most 40 characters.
deductFromSourcetrue or falseWhether to deduct the source grams used from shelf stock. Defaults to true; false records stock without that deduction.

update_material Edit a material

Needs a linked accountChanges data

Use this when the user wants to change a material on their bench: their notes, odour description, families, note, impact, blotter hours, shelf life, synonyms, flash point, supplier IFRA limit or constituent breakdown; name and CAS only for their own materials.

InputTypeNotes
material requiredtextThe material: name, CAS or id. at most 200 characters.
nametextat most 160 characters.
castextat most 40 characters, null clears it.
personalNotestextat most 5000 characters, null clears it.
odortextat most 2000 characters, null clears it.
familieslist of textat most 8 items.
noteone of "top", "heart", "base", "none"
tierone of "top", "top_heart", "heart", "heart_base", "base"The pyramid band it is filed in; null to derive it from its blotter hours. null clears it.
dropsPerGramnumberat most 1000, above 0, null clears it.
impactwhole number1 to 10.
blotterHoursnumber0 to 10000, null clears it.
shelfLifeMonthsnumber0 to 600, null clears it.
synonymslist of textat most 50 items.
naturaltrue or false
flashPointCnumber-100 to 500, null clears it.
supplierIfraLimitobjectThe supplier IFRA limit for this entry only; null removes it. It is not an IFRA Standard and never loosens one. null clears it.
supplierIfraLimit.cat4PctnumberThe Category 4 (fine fragrance) maximum from the supplier's IFRA certificate, as a % of the finished product; null if it states no restriction (recorded, never clears anything). at most 100, above 0, null clears it.
supplierIfraLimit.suppliertextat most 80 characters.
supplierIfraLimit.issuedtextCertificate date, YYYY-MM-DD. at most 10 characters.
supplierIfraLimit.docReftextIssuer, title and document ID. at most 200 characters.
supplierIfraLimit.notetextat most 500 characters.
constituentslist of objectsat most 300 items.
constituents[].nametextat most 160 characters.
constituents[].castextat most 40 characters.
constituents[].percentnumberat most 100, above 0.

list_batches List your batches

Needs a linked accountReads only

Use this when the user asks about batches they have made, all or one formula's, with their maceration journal and days resting.

InputTypeNotes
formulatextThe formula: its id (from list_formulas) or its exact name. at most 200 characters.

log_batch Log a batch

Needs a linked accountChanges data

Use this when the user has made a batch of a formula and wants it recorded: total weight, date, label and notes, optionally at a weaker strength, and optionally deducting what it used from stock. Works from the working copy or a version.

InputTypeNotes
formula requiredtextThe formula: its id (from list_formulas) or its exact name. at most 200 characters.
versiontextat most 60 characters.
totalGrams requirednumberat most 1000000, above 0.
madeAttextISO date, default today. at most 30 characters.
codetextat most 60 characters.
notestextat most 2000 characters.
concentrationPctnumberat most 100, above 0.
deductStocktrue or false

journal_note Write in a batch's journal

Needs a linked accountChanges data

Use this when the user wants to add a dated line to a batch's maceration journal, or correct one.

InputTypeNotes
batchtextat most 60 characters.
noteIdtextat most 60 characters.
text requiredtextat most 2000 characters.
datetextat most 30 characters.

list_notes Read your notebooks

Needs a linked accountReads only

Use this when the user asks to read their PerfuMate notebooks: titles and previews, or one notebook in full by id.

InputTypeNotes
idtextat most 60 characters.
querytextat most 80 characters.

write_note Write in a notebook

Needs a linked accountChanges data

Use this when the user wants to create a notebook or change one: its title, body, appended text or pin.

InputTypeNotes
idtextat most 60 characters.
titletextat most 200 characters.
bodytextat most 100000 characters.
appendtextat most 20000 characters.
pinnedtrue or false

list_shopping Your shopping cart

Needs a linked accountReads only

Use this when the user asks what they need to buy: the Shopping cart's lists and their items (with list and category), and the materials running low. Optionally one list only.

InputTypeNotes
listtextA list name or id; omit for every list. at most 120 characters.

shopping_list Change your shopping cart

Needs a linked accountCan remove data

Use this when the user wants to add materials or free text to a Shopping cart list (the default list unless one is named; a new name makes that list), tick items as received or back to needed, or remove them.

InputTypeNotes
addlist of textat most 100 items.
donelist of textat most 100 items.
undonelist of textat most 100 items.
removelist of textat most 100 items.
listtextThe list to work in, by name or id. Omit for the default list. at most 120 characters.
categorytextA category for the items added, e.g. "Naturals". at most 80 characters.

set_preferences Change account preferences

Needs a linked accountChanges data

Use this when the user wants to change the account's currency symbol or its default low-stock warning (grams; 0 turns it off).

InputTypeNotes
currencySymboltextat most 4 characters.
lowStockDefaultGramsnumber0 to 1000000.

delete_items Prepare a deletion (step 1 of 2)

Needs a linked accountReads only

Use this when the user asks to delete a formula, version, material, bottle, batch or note. It is step 1 of 2 and deletes NOTHING: it shows exactly what would be removed, with any protection, and returns a confirmation token valid for 10 minutes. Show the list to the user; only after they agree, call confirm_delete. Locked formulas cannot be deleted here.

InputTypeNotes
items requiredlist of objectsat least 1 item, at most 50 items.
items[].kind requiredone of "formula", "version", "material", "bottle", "batch", "note", "journal_note"
items[].ref requiredtextId or name. at most 200 characters.
items[].formulatextFor a version: its formula. at most 200 characters.
items[].materialtextat most 160 characters.
items[].dilutionPctnumberat most 100, above 0.

confirm_delete Delete (step 2 of 2)

Needs a linked accountCan remove data

Use this only after the user has said yes to the list delete_items showed. Deletes exactly that list, with its token. If the list included a protected item, confirmName must be the formula's name as the user typed it. Items stay restorable for 30 days.

InputTypeNotes
token requiredtextat least 10 characters, at most 20000 characters.
confirmNametextat most 200 characters.

list_deleted Recently deleted

Needs a linked accountReads only

Use this when the user wants to see what they deleted in the last 30 days and can still restore.

InputTypeNotes
kindone of "formula", "version", "material", "bottle", "batch", "note", "journal_note", "shopping_item"

restore_deleted Restore deleted items

Needs a linked accountChanges data

Use this when the user wants something back from Recently deleted (deleted in the last 30 days).

InputTypeNotes
items requiredlist of objectsat least 1 item, at most 50 items.
items[].kind requiredone of "formula", "version", "material", "bottle", "batch", "note", "journal_note", "shopping_item"
items[].id requiredtextat most 200 characters.

undo_last_change Undo the last change

Needs a linked accountChanges data

Use this when the user wants to take back the last change made from the chat, to one formula or the last of any, from any chat. Pass the exact changeId from a write result or this tool's preview. Without changeId this only previews the latest change and changes nothing. Reuse the SAME changeId after an error or retry: a completed undo is idempotent and never steps farther back. Only preview/select another ID when the user asks for another step (20 changes per formula,30 days). A concurrent edit aborts the whole restore; newer app work is not overwritten.

InputTypeNotes
formulatextOnly changes to this formula: its id or exact name. at most 200 characters.
changeIdtextExact undo changeId. Omit for preview only; use the same ID for retries. matches /^\d{1,20}$/.

get_scent_profile Scent profile of a formula

Needs a linked accountReads only

Use this when the user asks what a formula of theirs will smell like, how it evolves or how long it lasts, by PerfuMate's own scent model, exactly as the app's scent profile sheet shows it: families and sub-notes by weight and by perceived impact, the drydown at 0, 1, 4, 8 and 24 hours, the wear line (projection and longevity, e.g. "Bold · moderate wear") with its confidence, the genre, and the five-part note pyramid. Accords count by what they hold.

InputTypeNotes
formula requiredtextThe formula: its id (from list_formulas) or its exact name. at most 200 characters.

find_substitutes Find a stand-in on your shelf

Needs a linked accountReads only

Use this when the user lacks a material in a formula, or asks what they could use instead from the materials they own: the app's Find on shelf for one line, with single bottles and two- or three-bottle blends from the shelf that can play that material's part, best first, with a match percent and what each carries or misses. Never offers an IFRA-prohibited material. Changes nothing; use_substitute swaps one in.

InputTypeNotes
formula requiredtextThe formula: its id (from list_formulas) or its exact name. at most 200 characters.
line requiredtextThe line: its material name or line id. at most 200 characters.

use_substitute Swap in a stand-in

Needs a linked accountChanges data

Use this when the user picks one of find_substitutes' suggestions: replaces the line with it (pass its member names), in place, with the app's own amounts, the same smell carried through each bottle's dilution, merged into a line that already holds that bottle.

InputTypeNotes
formula requiredtextThe formula: its id (from list_formulas) or its exact name. at most 200 characters.
line requiredtextThe line: its material name or line id. at most 200 characters.
members requiredlist of textThe suggestion's member names. at least 1 item, at most 3 items.

rebuild_from_shelf Rebuild with materials you own

Needs a linked accountChanges data

Use this when the user asks what they can make with the materials they own, or wants a formula rebuilt using only their shelf: the app's Replace with materials I own, showing how the formula can stand entirely on the shelf (what stays, what a stand-in replaces, what has to go). Without apply it only shows the plan; with apply: true it rewrites the working copy in place (undo_last_change takes it back).

InputTypeNotes
formula requiredtextThe formula: its id (from list_formulas) or its exact name. at most 200 characters.
applytrue or false

insert_accord Use a formula as an accord

Needs a linked accountChanges data

Use this when the user wants to use one of their saved formulas as a single ingredient inside another, as the app's accords do: a virtual material carrying the flattened composition (so IFRA, allergens, cost and the scent profile see what is inside) on a bottle at the accord's own aromatic strength. Optionally at an amount in grams.

InputTypeNotes
formula requiredtextThe formula that receives the accord: its id or exact name. at most 200 characters.
source requiredtextThe formula to use as the accord: its id or exact name. at most 200 characters.
gramsnumber0 to 100000.

view_accord Show what an accord holds

Needs a linked accountReads only

Use this when the user asks what is inside an accord line of a formula: its materials at the dose it is used in, each with its share of the accord, read live from its source formula, and whether it can be decomposed.

InputTypeNotes
formula requiredtextThe formula: its id (from list_formulas) or its exact name. at most 200 characters.
line requiredtextThe line: its material name or line id. at most 200 characters.

decompose_accord Decompose an accord

Needs a linked accountChanges data

Use this when the user wants an accord line replaced by the materials it holds, at the same dose, in place (undo_last_change takes it back).

InputTypeNotes
formula requiredtextThe formula: its id (from list_formulas) or its exact name. at most 200 characters.
line requiredtextThe line: its material name or line id. at most 200 characters.

resync_accord Re-sync an accord

Needs a linked accountChanges data

Use this when the source formula of an accord has changed and the user wants the accord line to follow: re-reads its composition, families and price as it is now, as the app's Re-sync does.

InputTypeNotes
formula requiredtextThe formula: its id (from list_formulas) or its exact name. at most 200 characters.
line requiredtextThe line: its material name or line id. at most 200 characters.

scale_to_concentration Scale to a concentration

Needs a linked accountChanges data

Use this when the user wants to change a formula's concentration (for example from an eau de parfum to an eau de toilette) or its finished weight: the app's Scale sheet. A concentration-only request keeps the existing weighed total weight: omit totalGrams. Recompose the recipe, rather than physically adding solvent to an existing mixture. The concentrate scales and the finishing alcohol makes up the rest, added from the catalog's perfumer's ethanol when there is none. Capped at the concentrate's own strength. In place.

InputTypeNotes
formula requiredtextThe formula: its id (from list_formulas) or its exact name. at most 200 characters.
concentrationPct requirednumberTarget aromatic percentage of the finished formula, accounting for the strengths of its stock bottles. 20 means 20%, not 0.2 or 20 grams. 0.01 to 100.
totalGramsnumberFinal total weight in grams, only when the user explicitly requested it. Omit to keep the current weighed total. Never infer it by dividing existing grams by the concentration. at most 100000, above 0.