Skip to main content
Glama
recipe-mcp

recipe-mcp

by mnavas

convert_volume

Convert volume measurements between units such as milliliters, liters, cups, tablespoons, teaspoons, and fluid ounces. Supports US, metric, and imperial spoon/cup variants for recipe scaling.

Instructions

Convert a volume between volume units (ml, l, cup, tbsp, tsp, fl oz, ...).

Spoon/cup units are US by default; use *_metric or *_imperial for variants.

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": {
      "value": "<value>",
      "from_unit": "<from_unit>",
      "to_unit": "<to_unit>"
    },
    "name": "convert_volume"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYes
to_unitYes
from_unitYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the US-default convention, but says nothing about whether the operation is a pure calculation, how incompatible units are handled, whether output is rounded, or whether unit strings are case-sensitive — all material for correct invocation.

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?

Two short sentences, both front-loaded with the useful information — the unit list first, the naming convention second. There is no filler or redundant restatement of the tool name.

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?

For a simple three-parameter calculator this covers the essentials: what converts, which units are valid, and the default variant convention. The remaining gap is the return contract (a bare number? a string with units?) and rounding behavior, which matters because no output schema exists to document it.

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 description coverage is 0%, so the description must compensate, and it largely does: it supplies the accepted unit vocabulary and the *_metric/*_imperial suffix convention that maps directly onto from_unit and to_unit. It adds nothing about the numeric 'value' parameter (e.g. negatives, precision) or the expected output unit, which keeps it from a 5.

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 verb and resource ('Convert a volume between volume units') and enumerates representative units (ml, l, cup, tbsp, tsp, fl oz), which clearly separates it from convert_temperature and convert_weight. It stops short of explicitly naming siblings or contrasting with volume_to_weight, which converts across dimensions rather than within them.

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

Usage Guidelines3/5

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

It does provide actionable guidance on unit naming: US spoon/cup units are the default and *_metric/*_imperial should be used for variants. However, there is no statement of when to prefer this tool over weight-based conversions (volume_to_weight, weight_to_volume) or count_to_weight, so routing guidance is only partially covered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.