Skip to main content
Glama

Make a dilution from stock

make_dilution

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.

Input Schema

NameRequiredDescriptionDefault
gramsYesTotal grams of the finished new stock dilution, not grams of solvent to add or a formula batch size.
solventNo
materialNo
targetPctYes
fromBottleNo
fromDilutionPctNo
deductFromSourceNoWhether to deduct the source grams used from shelf stock. Defaults to true; false records stock without that deduction.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / deductFromSource / description
      Added value: +"Whether to deduct the source grams used from shelf stock. Defaults to true; false records stock without that deduction."
    • addedInput schema / properties / grams / description
      Added value: +"Total grams of the finished new stock dilution, not grams of solvent to add or a formula batch size."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world write, so the safety profile is covered. The description adds real behavioral context — the source bottle's strength drives source and solvent grams, and a target stronger than the source is invalid — but says nothing about what happens to the source bottle itself or failure modes beyond that one constraint.

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?

Three sentences, front-loaded with the triggering condition and followed by the key disambiguation and the core numeric constraint. No filler, though the middle sentence could absorb the constraint more tightly.

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 a seven-parameter mutation tool with low schema coverage and no output schema, the description identifies the tool's role and one hard constraint but omits what solvent/material select, how fromBottle/fromDilutionPct interact, and what the call yields. Adequate to select the tool, thin for invoking it confidently.

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 29%, so the description carries real weight here, and it does explain the targetPct/source-strength relationship that constrains the required inputs. However, five parameters (material, solvent, fromBottle, fromDilutionPct, targetPct) have no schema descriptions, and the description leaves their meaning and units largely to inference.

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 action and resource: recording a dilution made from a bottle the user owns, which produces a new stock bottle drawing on the source bottle's stock. It explicitly separates this from a formula concentration change, though it does not name the sibling tool (e.g., scale_to_concentration) that handles that case.

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?

It gives a clear triggering condition ('when the user has made, or wants to record, a dilution from a bottle they own') and an explicit exclusion ('not a formula concentration change'). It does not name the alternative tool an agent should pick for the excluded case, but the context is unambiguous.

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