Skip to main content
Glama

Show one of your formulas

get_formula
Read-onlyIdempotent

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.

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": "get_formula"
  }
}

Input Schema

NameRequiredDescriptionDefault
formulaYesThe formula: its id (from list_formulas) or its exact name.
versionNoA version number such as "3", or its id. Omit for the working copy.
checkIfraNo
ifraConcentrationPctNoHow 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).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / ifraConcentrationPct / description
      Previous value: -"How much of the finished product the formula is, for the IFRA check. Default: its target, else 20."New value: +"How 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)."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real context beyond that: the exact returned content, that an IFRA Category 4 and EU allergen check can be attached, and that historical versions are readable. It stops short of describing what happens when the formula or version is not found, or how the IFRA result is shaped.

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?

Front-loaded with the usage trigger, then the output inventory, then the optional check, then the version capability. The middle clause is a dense run-on list, but every element is informative rather than filler.

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?

With no output schema, the enumeration of returned fields is essential and present, and the optional IFRA path is explained. What remains unstated are failure modes (unknown formula name, invalid version id) and the shape of the compliance result, which an agent might need before committing to the check.

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?

Schema coverage is 75%, and the description adds intent-level meaning to two of the four parameters: version ('can read a past version by number or id') and checkIfra (framed as the 'is my formula IFRA compliant' question). The concentration parameter is left entirely to the schema, which documents it well, so the gap is minor.

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 ('see one of their formulas') and immediately enumerates what is shown: every line with material, bottle strength, amount, relative/absolute percent, flags, notes, plus totals, concentration, cost and the note pyramid. This is clearly a single-record fetch, distinguishable from the listing sibling list_formulas named in the schema.

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?

Opens with an explicit trigger ('Use this when the user wants to see one of their formulas') and gives a second trigger for the optional IFRA/EU allergen check ('is my formula IFRA compliant'). It does not explicitly say when to prefer the sibling check_formula for compliance checking, so routing between this and that tool is left partly implicit.

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