Skip to main content
Glama

Rename, describe or file a formula

update_formula

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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "formula": "<formula>"
    },
    "name": "update_formula"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
nameNo
folderNoRequires PerfuMate Unlimited, including clearing or unfiling.
pinnedNo
formulaYesThe formula: its id (from list_formulas) or its exact name.
favoriteNo
descriptionNo
bottleSizeMlNo
ifraCategoryNo
personalNotesNo
targetConcentrationPctNoSaved target only. This does not change ingredient amounts, actual concentration or shelf stock. Use scale_to_concentration to recompose the recipe.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / folder / description
      Added value: +"Requires PerfuMate Unlimited, including clearing or unfiling."
  2. Changed1 schema field changed
    • addedInput schema / properties / targetConcentrationPct / description
      Added value: +"Saved target only. This does not change ingredient amounts, actual concentration or shelf stock. Use scale_to_concentration to recompose the recipe."
  3. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the safety profile is largely covered. The description adds nothing beyond that: it does not mention the PerfuMate Unlimited requirement for folder changes (that fact lives only in the schema), does not state that unlisted fields remain untouched, and does not mention whether a licence or ownership check applies.

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

Conciseness4/5

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

A single front-loaded sentence opens with the usage trigger and then lists fields, with no filler or repetition. The enumeration runs long but every item corresponds to a real parameter, so nothing is wasted.

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

Completeness3/5

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

For an 11-parameter mutation tool with no output schema and thin annotation coverage, the description covers intent and field inventory but omits partial-update semantics, the licensing constraint on folder, the confirmation/undo path (undo_last_change, confirm_delete exist as siblings), and any disambiguation from edit_formula. Adequate but with clear gaps for a tool of this complexity.

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

Parameters4/5

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

With only 27% schema description coverage, the description carries most of the burden and does so reasonably: 'bench notes' maps to personalNotes, 'favourite star' to favorite, 'pin' to pinned, 'kind (perfume or accord)' clarifies the enum, and 'bottle size'/'IFRA category'/'target concentration' map to their parameters. It does not explain the 'formula' identifier itself or any value formats, but it meaningfully names all ten mutable fields.

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

Purpose4/5

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

The description states a specific resource (a formula) and enumerates exactly which attributes get changed (name, description, notes, kind, folder, star, pin, concentration, IFRA category, bottle size), so an agent can tell this is a metadata-mutation tool. It never explicitly frames the operation as an 'update' versus a rename, and it does not differentiate itself from the sibling 'edit_formula', which is the most likely confusion point.

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

Usage Guidelines4/5

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

The trigger is explicit — 'Use this when the user wants to rename a formula or change its description...' — giving the agent a clear intent-to-tool mapping. It stops short of exclusions: nothing tells the agent to prefer 'scale_to_concentration' for recomposition or to choose between this and 'edit_formula'.

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