PerfuMate

Perfumery materials, IFRA Category 4, EU allergens, and your formulas and shelf via OAuth.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
97%
Integridad del esquema
84%
Calidad de los nombres
92%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Hallazgos (4)

  • LOWTool 'open_version' description lacks action verben open_version
  • LOWTool 'rename_version' description lacks action verben rename_version
  • LOWTool 'update_material' description lacks action verben update_material
  • LOWTool 'list_batches' description lacks action verben list_batches

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~11,182Tokens (definiciones de herramientas)
~1.5 KBTamaño de respuesta típico
Impacto significativo en la atención (8.74% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "perfumate": {
      "url": "https://perfumate.app/mcp"
    }
  }
}

Puntos de conexión remotos

https://perfumate.app/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (45)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢search_materials(query, limit)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80,
      "description": "A name, synonym, CAS number, family or facet, e.g. \"musk\"."
    },
    "limit": {
      "default": 8,
      "type": "integer",
      "minimum": 1,
      "maximum": 10
    }
  },
  "required": [
    "query"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_material(name)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "description": "Canonical name, synonym or CAS number."
    }
  },
  "required": [
    "name"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢check_formula(formula, lines, concentrationPct)

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. Lines that match no catalog material are listed and not counted. 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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "description": "The formula as text, one line per material, e.g. \"Hedione 4 g\" or \"Ambroxan 10% in DPG 2 g\".",
      "type": "string",
      "maxLength": 20000
    },
    "lines": {
      "maxItems": 200,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "material": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160,
            "description": "Material name as written, e.g. \"Iso E Super\"."
          },
          "amount": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 100000
          },
          "unit": {
            "default": "g",
            "type": "string",
            "enum": [
              "g",
              "mg",
              "kg",
              "%"
            ]
          },
          "dilutionPct": {
            "description": "Strength of the bottle used, e.g. 10 for a 10% dilution. Omit for neat.",
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 100
          }
        },
        "required": [
          "material",
          "amount"
        ]
      }
    },
    "concentrationPct": {
      "default": 20,
      "description": "How much of the finished product the formula is, e.g. 20 for an eau de parfum.",
      "type": "number",
      "minimum": 0.1,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢find_starting_formula(idea, haveMaterials, concentrationPct, batchGrams)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "idea": {
      "description": "What the user wants to make, in their words, e.g. \"fresh citrus cologne\", \"rose\", \"clean laundry musk\".",
      "type": "string",
      "maxLength": 200
    },
    "haveMaterials": {
      "description": "Materials the user already has; accords they can make with them rank first and the missing ones are listed.",
      "maxItems": 60,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 160
      }
    },
    "concentrationPct": {
      "default": 20,
      "description": "How much of the finished product these lines would be, for the IFRA check, e.g. 20 for an eau de parfum.",
      "type": "number",
      "minimum": 0.1,
      "maximum": 100
    },
    "batchGrams": {
      "default": 100,
      "description": "Batch size in grams for the amounts.",
      "type": "number",
      "minimum": 0.1,
      "maximum": 100000
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢my_account

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.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢list_formulas(query, folder, favoritesOnly, kind)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "maxLength": 80
    },
    "folder": {
      "description": "A folder name; \"\" for unfiled.",
      "type": "string",
      "maxLength": 80
    },
    "favoritesOnly": {
      "type": "boolean"
    },
    "kind": {
      "type": "string",
      "enum": [
        "perfume",
        "accord"
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_formula(formula, version, checkIfra, ifraConcentrationPct)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The formula: its id (from list_formulas) or its exact name."
    },
    "version": {
      "description": "A version number such as \"3\", or its id. Omit for the working copy.",
      "type": "string",
      "maxLength": 60
    },
    "checkIfra": {
      "type": "boolean"
    },
    "ifraConcentrationPct": {
      "description": "How much of the finished product the formula is, for the IFRA check. Default: its target, else 20.",
      "type": "number",
      "minimum": 0.1,
      "maximum": 100
    }
  },
  "required": [
    "formula"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢list_versions(formula)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The formula: its id (from list_formulas) or its exact name."
    }
  },
  "required": [
    "formula"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡create_formula(name, description, kind, targetConcentrationPct, folder, ...)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 120
    },
    "description": {
      "type": "string",
      "maxLength": 2000
    },
    "kind": {
      "type": "string",
      "enum": [
        "perfume",
        "accord"
      ]
    },
    "targetConcentrationPct": {
      "type": "number",
      "minimum": 0.01,
      "maximum": 100
    },
    "folder": {
      "type": "string",
      "maxLength": 80
    },
    "lines": {
      "maxItems": 200,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "material": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160,
            "description": "Name, trade name or CAS as written, e.g. \"Iso E Super\" or \"Ambroxan 10% in DPG\"."
          },
          "grams": {
            "description": "Weighed amount in grams. Never send together with percent.",
            "type": "number",
            "minimum": 0,
            "maximum": 100000
          },
          "percent": {
            "description": "Weighed share of the formula, when every line is percent. Never send together with grams. Not the bottle dilution.",
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "dilutionPct": {
            "description": "Strength of the bottle weighed, e.g. 10 for a 10% dilution.",
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 100
          },
          "solvent": {
            "description": "The dilution's solvent, e.g. DPG, IPM, ethanol.",
            "type": "string",
            "maxLength": 40
          },
          "newMaterial": {
            "description": "Only for a material the catalog does not have: create it as the user's own material.",
            "anyOf": [
              {
                "type": "boolean",
                "const": true
              },
              {
                "type": "object",
                "properties": {
                  "family": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "note": {
                    "type": "string",
                    "enum": [
                      "top",
                      "heart",
                      "base",
                      "none"
                    ]
                  },
                  "cas": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "odor": {
                    "type": "string",
                    "maxLength": 500
                  },
                  "natural": {
                    "type": "boolean"
                  }
                }
              }
            ]
          },
          "note": {
            "type": "string",
            "maxLength": 500
          },
          "flag": {
            "type": "string",
            "enum": [
              "too_strong",
              "too_weak",
              "replace"
            ]
          }
        },
        "required": [
          "material"
        ],
        "additionalProperties": false
      }
    },
    "text": {
      "description": "The formula as pasted text, one material per line with an amount.",
      "type": "string",
      "maxLength": 20000
    },
    "file": {
      "description": "A file the user attached in the chat: CSV, TSV, TXT, JSON or Excel (.xlsx).",
      "type": "object",
      "properties": {
        "download_url": {
          "type": "string",
          "format": "uri"
        },
        "file_id": {
          "type": "string"
        },
        "mime_type": {
          "type": "string"
        },
        "file_name": {
          "type": "string"
        }
      },
      "required": [
        "download_url",
        "file_id"
      ]
    },
    "batchGrams": {
      "description": "Batch size when lines are in percent. Default 10 g.",
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 100000
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴edit_formula(formula, operations)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The formula: its id (from list_formulas) or its exact name."
    },
    "operations": {
      "minItems": 1,
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "op": {
            "type": "string",
            "enum": [
              "add",
              "remove",
              "set_amount",
              "set_dilution",
              "swap",
              "set_flag",
              "set_note",
              "reorder",
              "scale"
            ]
          },
          "line": {
            "description": "The line: its material name or line id.",
            "type": "string",
            "maxLength": 200
          },
          "material": {
            "type": "string",
            "maxLength": 160
          },
          "amount": {
            "description": "Amount in the explicit unit; never infer grams from a percentage.",
            "type": "number",
            "minimum": 0,
            "maximum": 100000
          },
          "unit": {
            "description": "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.",
            "type": "string",
            "enum": [
              "g",
              "%",
              "part",
              "drop"
            ]
          },
          "dilutionPct": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 100
          },
          "solvent": {
            "type": "string",
            "maxLength": 40
          },
          "newMaterial": {
            "description": "Only for a material the catalog does not have: create it as the user's own material.",
            "anyOf": [
              {
                "type": "boolean",
                "const": true
              },
              {
                "type": "object",
                "properties": {
                  "family": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "note": {
                    "type": "string",
                    "enum": [
                      "top",
                      "heart",
                      "base",
                      "none"
                    ]
                  },
                  "cas": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "odor": {
                    "type": "string",
                    "maxLength": 500
                  },
                  "natural": {
                    "type": "boolean"
                  }
                }
              }
            ]
          },
          "flag": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "too_strong",
                  "too_weak",
                  "replace"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "note": {
            "type": "string",
            "maxLength": 500
          },
          "lines": {
            "description": "For reorder: lines in their new order.",
            "maxItems": 200,
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 200
            }
          },
          "totalGrams": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 100000
          },
          "factor": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000
          }
        },
        "required": [
          "op"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "formula",
    "operations"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡update_formula(formula, name, description, personalNotes, kind, ...)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The formula: its id (from list_formulas) or its exact name."
    },
    "name": {
      "type": "string",
      "maxLength": 120
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ]
    },
    "personalNotes": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "type": "null"
        }
      ]
    },
    "kind": {
      "type": "string",
      "enum": [
        "perfume",
        "accord"
      ]
    },
    "folder": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 80
        },
        {
          "type": "null"
        }
      ]
    },
    "favorite": {
      "type": "boolean"
    },
    "pinned": {
      "type": "boolean"
    },
    "targetConcentrationPct": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.01,
          "maximum": 100
        },
        {
          "type": "null"
        }
      ]
    },
    "ifraCategory": {
      "type": "string",
      "maxLength": 4
    },
    "bottleSizeMl": {
      "anyOf": [
        {
          "type": "number",
          "exclusiveMinimum": 0,
          "maximum": 100000
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "formula"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
⚪rename_folder(from, to)

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

Esquema de entrada

{
  "type": "object",
  "properties": {
    "from": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    },
    "to": {
      "type": "string",
      "maxLength": 80
    }
  },
  "required": [
    "from",
    "to"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
⚪duplicate_formula(formula, name)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The formula: its id (from list_formulas) or its exact name."
    },
    "name": {
      "type": "string",
      "maxLength": 120
    }
  },
  "required": [
    "formula"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡save_version(formula, note)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The formula: its id (from list_formulas) or its exact name."
    },
    "note": {
      "type": "string",
      "maxLength": 120
    }
  },
  "required": [
    "formula"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
⚪branch_version(formula, version)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The formula: its id (from list_formulas) or its exact name."
    },
    "version": {
      "type": "string",
      "minLength": 1,
      "maxLength": 60
    }
  },
  "required": [
    "formula",
    "version"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡open_version(formula, version)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The formula: its id (from list_formulas) or its exact name."
    },
    "version": {
      "type": "string",
      "minLength": 1,
      "maxLength": 60
    }
  },
  "required": [
    "formula",
    "version"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡rename_version(formula, version, note, number)

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

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The formula: its id (from list_formulas) or its exact name."
    },
    "version": {
      "type": "string",
      "minLength": 1,
      "maxLength": 60
    },
    "note": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 120
        },
        {
          "type": "null"
        }
      ]
    },
    "number": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100000
    }
  },
  "required": [
    "formula",
    "version"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢list_shelf(query, lowOnly)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "maxLength": 80
    },
    "lowOnly": {
      "type": "boolean"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_shelf_material(material)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "material": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The material: name, CAS, or its id from list_shelf."
    }
  },
  "required": [
    "material"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡add_to_shelf(items, text, file)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "items": {
      "maxItems": 300,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "material": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "cas": {
            "type": "string",
            "maxLength": 40
          },
          "dilutionPct": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 100
          },
          "solvent": {
            "type": "string",
            "maxLength": 40
          },
          "stockGrams": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          },
          "pricePerGram": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          },
          "supplier": {
            "type": "string",
            "maxLength": 80
          },
          "lot": {
            "type": "string",
            "maxLength": 80
          },
          "lowStockGrams": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          },
          "newMaterial": {
            "description": "Only for a material the catalog does not have: create it as the user's own material.",
            "anyOf": [
              {
                "type": "boolean",
                "const": true
              },
              {
                "type": "object",
                "properties": {
                  "family": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "note": {
                    "type": "string",
                    "enum": [
                      "top",
                      "heart",
                      "base",
                      "none"
                    ]
                  },
                  "cas": {
                    "type": "string",
                    "maxLength": 40
                  },
                  "odor": {
                    "type": "string",
                    "maxLength": 500
                  },
                  "natural": {
                    "type": "boolean"
                  }
                }
              }
            ]
          }
        },
        "required": [
          "material"
        ]
      }
    },
    "text": {
      "type": "string",
      "maxLength": 100000
    },
    "file": {
      "description": "A list the user attached in the chat: CSV, TSV, TXT or Excel (.xlsx).",
      "type": "object",
      "properties": {
        "download_url": {
          "type": "string",
          "format": "uri"
        },
        "file_id": {
          "type": "string"
        },
        "mime_type": {
          "type": "string"
        },
        "file_name": {
          "type": "string"
        }
      },
      "required": [
        "download_url",
        "file_id"
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡update_bottle(bottle, material, dilutionPct, solvent, countGrams, ...)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "bottle": {
      "description": "The bottle id from list_shelf.",
      "type": "string",
      "maxLength": 60
    },
    "material": {
      "type": "string",
      "maxLength": 160
    },
    "dilutionPct": {
      "description": "With bottle: its new strength. Without bottle: which of the material's bottles to change.",
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 100
    },
    "solvent": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 40
        },
        {
          "type": "null"
        }
      ]
    },
    "countGrams": {
      "description": "What the bottle holds now, weighed.",
      "type": "number",
      "minimum": 0,
      "maximum": 1000000
    },
    "addGrams": {
      "description": "Grams bought (positive) or used (negative).",
      "type": "number",
      "minimum": -1000000,
      "maximum": 1000000
    },
    "reason": {
      "type": "string",
      "maxLength": 200
    },
    "pricePerGram": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0,
          "maximum": 1000000
        },
        {
          "type": "null"
        }
      ]
    },
    "supplier": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 80
        },
        {
          "type": "null"
        }
      ]
    },
    "lot": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 80
        },
        {
          "type": "null"
        }
      ]
    },
    "lowStockGrams": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0,
          "maximum": 1000000
        },
        {
          "type": "null"
        }
      ]
    },
    "notes": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 1000
        },
        {
          "type": "null"
        }
      ]
    },
    "onShelf": {
      "type": "boolean"
    },
    "makeDefault": {
      "type": "boolean"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
⚪make_dilution(material, fromBottle, fromDilutionPct, targetPct, grams, ...)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "material": {
      "type": "string",
      "maxLength": 160
    },
    "fromBottle": {
      "type": "string",
      "maxLength": 60
    },
    "fromDilutionPct": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 100
    },
    "targetPct": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 100
    },
    "grams": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 100000
    },
    "solvent": {
      "type": "string",
      "maxLength": 40
    },
    "deductFromSource": {
      "type": "boolean"
    }
  },
  "required": [
    "targetPct",
    "grams"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡update_material(material, name, cas, personalNotes, odor, ...)

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 or constituent breakdown; name and CAS only for their own materials.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "material": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The material: name, CAS or id."
    },
    "name": {
      "type": "string",
      "maxLength": 160
    },
    "cas": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 40
        },
        {
          "type": "null"
        }
      ]
    },
    "personalNotes": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "type": "null"
        }
      ]
    },
    "odor": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ]
    },
    "families": {
      "maxItems": 8,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 40
      }
    },
    "note": {
      "type": "string",
      "enum": [
        "top",
        "heart",
        "base",
        "none"
      ]
    },
    "tier": {
      "description": "The pyramid band it is filed in; null to derive it from its blotter hours.",
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "top",
            "top_heart",
            "heart",
            "heart_base",
            "base"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "dropsPerGram": {
      "anyOf": [
        {
          "type": "number",
          "exclusiveMinimum": 0,
          "maximum": 1000
        },
        {
          "type": "null"
        }
      ]
    },
    "impact": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10
    },
    "blotterHours": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0,
          "maximum": 10000
        },
        {
          "type": "null"
        }
      ]
    },
    "shelfLifeMonths": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0,
          "maximum": 600
        },
        {
          "type": "null"
        }
      ]
    },
    "synonyms": {
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 160
      }
    },
    "natural": {
      "type": "boolean"
    },
    "flashPointC": {
      "anyOf": [
        {
          "type": "number",
          "minimum": -100,
          "maximum": 500
        },
        {
          "type": "null"
        }
      ]
    },
    "constituents": {
      "maxItems": 300,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 160
          },
          "cas": {
            "type": "string",
            "maxLength": 40
          },
          "percent": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 100
          }
        },
        "required": [
          "cas",
          "percent"
        ]
      }
    }
  },
  "required": [
    "material"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢list_batches(formula)

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

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The formula: its id (from list_formulas) or its exact name."
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
⚪log_batch(formula, version, totalGrams, madeAt, code, ...)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The formula: its id (from list_formulas) or its exact name."
    },
    "version": {
      "type": "string",
      "maxLength": 60
    },
    "totalGrams": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 1000000
    },
    "madeAt": {
      "description": "ISO date, default today.",
      "type": "string",
      "maxLength": 30
    },
    "code": {
      "type": "string",
      "maxLength": 60
    },
    "notes": {
      "type": "string",
      "maxLength": 2000
    },
    "concentrationPct": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 100
    },
    "deductStock": {
      "type": "boolean"
    }
  },
  "required": [
    "formula",
    "totalGrams"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡journal_note(batch, noteId, text, date)

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

Esquema de entrada

{
  "type": "object",
  "properties": {
    "batch": {
      "type": "string",
      "maxLength": 60
    },
    "noteId": {
      "type": "string",
      "maxLength": 60
    },
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000
    },
    "date": {
      "type": "string",
      "maxLength": 30
    }
  },
  "required": [
    "text"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢list_notes(id, query)

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

Esquema de entrada

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 60
    },
    "query": {
      "type": "string",
      "maxLength": 80
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡write_note(id, title, body, append, pinned)

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

Esquema de entrada

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 60
    },
    "title": {
      "type": "string",
      "maxLength": 200
    },
    "body": {
      "type": "string",
      "maxLength": 100000
    },
    "append": {
      "type": "string",
      "maxLength": 20000
    },
    "pinned": {
      "type": "boolean"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢list_shopping(list)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "list": {
      "description": "A list name or id; omit for every list.",
      "type": "string",
      "maxLength": 120
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴shopping_list(add, done, undone, remove, list, ...)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "add": {
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 160
      }
    },
    "done": {
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 200
      }
    },
    "undone": {
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 200
      }
    },
    "remove": {
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 200
      }
    },
    "list": {
      "description": "The list to work in, by name or id. Omit for the default list.",
      "type": "string",
      "maxLength": 120
    },
    "category": {
      "description": "A category for the items added, e.g. \"Naturals\".",
      "type": "string",
      "maxLength": 80
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡set_preferences(currencySymbol, lowStockDefaultGrams)

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

Esquema de entrada

{
  "type": "object",
  "properties": {
    "currencySymbol": {
      "type": "string",
      "maxLength": 4
    },
    "lowStockDefaultGrams": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢delete_items(items)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "items": {
      "minItems": 1,
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "formula",
              "version",
              "material",
              "bottle",
              "batch",
              "note",
              "journal_note"
            ]
          },
          "ref": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "Id or name."
          },
          "formula": {
            "description": "For a version: its formula.",
            "type": "string",
            "maxLength": 200
          },
          "material": {
            "type": "string",
            "maxLength": 160
          },
          "dilutionPct": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 100
          }
        },
        "required": [
          "kind",
          "ref"
        ]
      }
    }
  },
  "required": [
    "items"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴confirm_delete(token, confirmName)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "minLength": 10,
      "maxLength": 20000
    },
    "confirmName": {
      "type": "string",
      "maxLength": 200
    }
  },
  "required": [
    "token"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢list_deleted(kind)

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

Esquema de entrada

{
  "type": "object",
  "properties": {
    "kind": {
      "type": "string",
      "enum": [
        "formula",
        "version",
        "material",
        "bottle",
        "batch",
        "note",
        "journal_note",
        "shopping_item"
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
⚪restore_deleted(items)

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

Esquema de entrada

{
  "type": "object",
  "properties": {
    "items": {
      "minItems": 1,
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "formula",
              "version",
              "material",
              "bottle",
              "batch",
              "note",
              "journal_note",
              "shopping_item"
            ]
          },
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          }
        },
        "required": [
          "kind",
          "id"
        ]
      }
    }
  },
  "required": [
    "items"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡undo_last_change(formula, changeId)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Only changes to this formula: its id or exact name."
    },
    "changeId": {
      "description": "Exact undo changeId. Omit for preview only; use the same ID for retries.",
      "type": "string",
      "pattern": "^\\d{1,20}$"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_scent_profile(formula)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The formula: its id (from list_formulas) or its exact name."
    }
  },
  "required": [
    "formula"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢find_substitutes(formula, line)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The formula: its id (from list_formulas) or its exact name."
    },
    "line": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The line: its material name or line id."
    }
  },
  "required": [
    "formula",
    "line"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢use_substitute(formula, line, members)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The formula: its id (from list_formulas) or its exact name."
    },
    "line": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The line: its material name or line id."
    },
    "members": {
      "minItems": 1,
      "maxItems": 3,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 160
      },
      "description": "The suggestion's member names."
    }
  },
  "required": [
    "formula",
    "line",
    "members"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡rebuild_from_shelf(formula, apply)

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).

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The formula: its id (from list_formulas) or its exact name."
    },
    "apply": {
      "type": "boolean"
    }
  },
  "required": [
    "formula"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡insert_accord(formula, source, grams)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The formula that receives the accord: its id or exact name."
    },
    "source": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The formula to use as the accord: its id or exact name."
    },
    "grams": {
      "type": "number",
      "minimum": 0,
      "maximum": 100000
    }
  },
  "required": [
    "formula",
    "source"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢view_accord(formula, line)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The formula: its id (from list_formulas) or its exact name."
    },
    "line": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The line: its material name or line id."
    }
  },
  "required": [
    "formula",
    "line"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡decompose_accord(formula, line)

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).

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The formula: its id (from list_formulas) or its exact name."
    },
    "line": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The line: its material name or line id."
    }
  },
  "required": [
    "formula",
    "line"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
⚪resync_accord(formula, line)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The formula: its id (from list_formulas) or its exact name."
    },
    "line": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The line: its material name or line id."
    }
  },
  "required": [
    "formula",
    "line"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡scale_to_concentration(formula, concentrationPct, totalGrams)

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. 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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "formula": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The formula: its id (from list_formulas) or its exact name."
    },
    "concentrationPct": {
      "type": "number",
      "minimum": 0.01,
      "maximum": 100
    },
    "totalGrams": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 100000
    }
  },
  "required": [
    "formula",
    "concentrationPct"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada45 herramientas