Skip to main content
Glama
recipe-mcp

recipe-mcp

by mnavas

count_to_weight

Converts a number of pieces, such as 2 eggs, into their equivalent weight in grams or another unit, so you can measure ingredients by count and get accurate weights for recipes.

Instructions

Weight of a number of pieces (e.g. 2 eggs -> grams).

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": {
      "item": "<item>",
      "count": "<count>"
    },
    "name": "count_to_weight"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemYes
countYes
weight_unitNog

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing beyond the basic idea. It does not say whether 'item' must be a known ingredient, what happens on an unrecognized item (error vs. default density), or whether the result is an estimate.

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?

A single compact parenthetical with an example: front-loaded, zero padding, and the example does real work. It is a noun fragment rather than a full statement of behavior, which slightly limits clarity.

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?

For a three-parameter tool with no annotations and no output schema, the definition leaves out the item domain, unit options for weight_unit, error behavior, and any mention of what the returned value represents. An agent could not call this correctly for anything but the egg example.

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% across three parameters, so the description must compensate and does not. 'count' and 'weight_unit' are only obliquely implied by 'pieces' and 'grams', and the critical semantics of 'item' (free text? must match list_ingredients?) are undocumented anywhere.

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?

Names the specific conversion (piece count -> weight) and supports it with a concrete example, '2 eggs -> grams', which makes the direction of the conversion unambiguous and distinguishes it from the inverse sibling weight_to_count. It falls short of 5 only because it never names the alternative or states scope boundaries in words.

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 explicit when-to-use or when-not-to-use guidance. The example hints at a cooking context and a direction of conversion, but nothing tells the agent why to pick this over weight_to_count, convert_weight, or item_weight.

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