Skip to main content
Glama

Make a recipe for a target formula

solve_target
Read-onlyIdempotent

Makes a glaze recipe, in percent, from the materials given whose unity formula comes as near a target as they allow (Solve for a target in the Glazecalc app). The target is a unity formula (moles; the fluxes are scaled to add up to 1) or an oxide analysis (percent by weight of the fired glaze), with potash and soda apart. Give the materials by their library names, or onHand for the materials on the person’s shelf (with a token or connected app that may read it). closeness says how near each oxide comes: close (within 0.02, or 5% of a large amount such as silica’s), off, or far (more than three times that), with a verdict (close, fair or poor) and a summary; unreachable names the target’s oxides nothing given supplies. Raw clay is held to 20% of the batch where that costs the match little (capped and allowMore say more). Test any recipe before using it.

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": {
      "target": "<target>"
    },
    "name": "solve_target"
  }
}

Input Schema

NameRequiredDescriptionDefault
firingNoThe firing, as a cone or a temperature. Leave it out when it is not known. From cone 12 up (about 1320 °C) no published glaze limits reach, so the limits are not checked there; the cone check judges cone 06 to 10 only.
onHandNoMake it from the materials on the person’s shelf, as well as any named: needs a token or connected app that may read it.
targetYesThe unity formula or oxide analysis to aim for.
mustUseNoMaterials given that must be in the recipe.
languageNoThe language for any sentences in the answer, as a BCP 47 tag such as "en", "de" or "ja". Languages Glazecalc does not offer are answered in English.
allowMoreNoMaterials whose suggested cap to lift, as report.capped names them: raw clay is held to 20% of the batch (or the recipe's own share) where that costs the match little.
materialsNoThe library names of the materials to make it from, at most 500 with any on hand. Use search_materials to find the names.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / materials / description
      Previous value: -"The library names of the materials to make it from. Use search_materials to find the names."New value: +"The library names of the materials to make it from, at most 500 with any on hand. Use search_materials to find the names."
    • changedInput schema / properties / materials / maxItems
      Previous value: -100New value: +500
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (readOnly/idempotent/non-destructive), it discloses the closeness tolerances (0.02 or 5% of a large amount, far at three times that), the verdict and summary fields, the unreachable field for oxides nothing supplies, the raw-clay cap of 20% with the allowMore escape hatch, and that limits are unchecked above cone 12 with the cone check covering only 06–10. That is real behavioral context an agent could not get from the structured fields.

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?

The purpose is front-loaded in the first sentence and nearly every clause carries new information. The prose is dense and occasionally run-on, so the cap rules and closeness vocabulary take effort to parse, but little is padding.

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

Completeness5/5

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

For a seven-parameter tool with a nested target object, no output schema and a non-trivial solver, the description covers input form, output vocabulary (closeness, verdict, summary, unreachable), edge cases (firing limits not checked above cone 12) and follow-up advice. An agent could call it correctly and interpret the result from this text alone.

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 already 100%, so the baseline is 3; the description goes further by clarifying that the target's potash and soda are kept apart and by explaining the default cap on raw clay and how allowMore lifts it. It adds less for mustUse, language and materials, which the schema already documents.

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 concrete verb and resource – making a glaze recipe in percent from given materials to match a target unity formula or oxide analysis – which is far more specific than the title. It does not, however, explicitly distinguish itself from similar-sounding siblings such as match_from_materials or match_with_what_i_have, leaving the agent to infer the difference.

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 tells the agent how to supply materials (library names, or onHand with a token), points to search_materials for names, and advises testing any recipe before use. It stops short of naming alternatives or stating when another matching tool should be preferred.

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.