Skip to main content
Glama
recipe-mcp

recipe-mcp

by mnavas

weight_to_volume

Convert a given weight of an ingredient into its volume, such as 10 g salt to ml, by specifying the ingredient name, value, and optional units.

Instructions

Volume occupied by a given weight of an ingredient (e.g. 10 g salt -> ml).

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": {
      "ingredient": "<ingredient>",
      "value": "<value>"
    },
    "name": "weight_to_volume"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYes
ingredientYes
volume_unitNoml
weight_unitNog

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Since there are no annotations, the description must carry the burden of behavioral traits. It correctly implies that ingredient data is necessary for calculation, but it fails to disclose critical behavioral traits like ingredient lookup failures or rate limiting.

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?

The definition is perfectly concise, using a single sentence to explain the entire function. Every part of the sentence contributes to defining the tool's specific capability and purpose.

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 low-complexity conversion tool with no output schema, the definition is highly complete regarding its function. It adequately informs the agent of the required input structure and output type (volume).

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?

While the schema coverage is 0%, the description effectively uses the example ('10 g salt -> ml') to define the operational semantics of the required parameters. This grounding helps the agent understand how the ingredient, value, and unit parameters should interact during execution.

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?

The description explicitly states the conversion function: Volume occupied by a given weight, clearly distinguishing it as a weight-to-volume utility. The inclusion of the example ('10 g salt -> ml') solidifies the direction of the conversion and the type of resource processed.

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?

The definition provides no guidance on when this specific tool should be preferred over alternatives like 'volume_to_weight' or 'convert_volume'. It defines the action but not the context of its application relative to other available sibling tools.

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