Skip to main content
Glama

Create a formula on your bench

create_formula

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.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_formula"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoA file the user attached in the chat: CSV, TSV, TXT, JSON or Excel (.xlsx).
kindNo
nameNo
textNoThe formula as pasted text, one material per line with an amount.
linesNo
folderNoRequires PerfuMate Unlimited, including an empty folder name.
batchGramsNoBatch size when lines are in percent. Default 10 g.
descriptionNo
targetConcentrationPctNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / folder / description
      Added value: +"Requires PerfuMate Unlimited, including an empty folder name."
  2. Changed3 schema fields changed
    • addedInput schema / properties / lines / items / additionalProperties
      Added value: +false
    • changedInput schema / properties / lines / items / properties / grams / description
      Previous value: -"Amount in grams."New value: +"Weighed amount in grams. Never send together with percent."
    • changedInput schema / properties / lines / items / properties / percent / description
      Previous value: -"Share of the formula, when every line is given in percent."New value: +"Weighed share of the formula, when every line is percent. Never send together with grams. Not the bottle dilution."
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, and the description adds real behavior the annotations cannot express: all-or-nothing matching ('if any line does not match, nothing is saved'), the error payload shape ('unmatched names come back with suggestions'), and an unadvertised side effect ('Bottles the user does not own are added off the shelf, as an import does'). It stops short of describing the success response, which matters because there is no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three dense sentences, front-loaded with the trigger and input modes, followed by failure semantics, side effects and the alternative. Every sentence carries distinct information; no restatement of the name or title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter, nested-object creation tool with no output schema, the description covers the highest-risk behaviors: atomic failure, catalog matching, off-shelf side effects, and the validate-only alternative. The remaining gap is what a successful call returns (new formula identifier, saved line count), which an agent must discover empirically.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 44% across 9 parameters, so the description has to compensate and does so partially: it reveals that lines, text and file are alternative input channels rather than things to combine, which the schema never states. It says nothing about kind, name, folder, batchGrams, targetConcentrationPct or description, so the baseline 3 is warranted.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('wants a new formula on their PerfuMate bench') and immediately scopes the possible inputs (empty, structured lines, pasted text, attached file). It explicitly separates itself from the sibling check_formula, so an agent can route without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit when-to-use trigger ('when the user wants a new formula... for example after building one together in this chat') and an explicit when-not-to-use with the alternative named ('To only check a formula without saving it use check_formula'). Nothing is left to inference about the create-vs-validate choice.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources