Skip to main content
Glama

Bakers Math

Lookup ingredient weight

lookup_ingredient_weight
Read-onlyIdempotent

Convert cups or spoons of a named ingredient to grams using the Bakers Math weight chart.

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": {
      "name": "<name>",
      "amount": "<amount>",
      "unit": "<unit>"
    },
    "name": "lookup_ingredient_weight"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
unitYes
amountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false, and destructiveHint=false, so the safety profile is fully covered. The description adds the useful fact that values come from the Bakers Math weight chart, i.e. a fixed lookup table rather than a computed conversion. It omits what happens for an ingredient or unit not in that chart, which is the main behavioral unknown for a lookup tool.

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?

A single front-loaded sentence with no redundant restatement of the title or name. Nothing needs to be cut; the brevity issue here is coverage, not verbosity.

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

Completeness2/5

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

Three required parameters at 0% schema coverage plus no output schema means the definition carries the whole load, and it does not say what the gram value looks like on return or how unknown ingredients/units are handled. For a lookup with an enumerated-but-undocumented unit string, an agent has too little to call it confidently on the first try.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry all parameter meaning, and it only partially does: "named ingredient" maps to name, "cups or spoons" gestures at unit, and amount is only implied. It never states the accepted unit vocabulary (cup, tbsp, tsp, abbreviations?), the expected amount format, or whether units are case-sensitive — gaps that will cause failed calls given a bare string parameter.

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?

"Convert cups or spoons of a named ingredient to grams" states a specific verb, a constrained input space, and the destination unit, which is more precise than a generic unit converter like convert_unit. It does not name any sibling explicitly, so the agent must infer that ingredient-specific weights are this tool's domain rather than convert_unit's.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no alternative tool is named, even though convert_unit, convert_recipe_units, and scale_recipe all touch unit conversion. The phrase "using the Bakers Math weight chart" hints at the domain (baking ingredient weights) but does not tell an agent when this is the correct call.

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