Skip to main content
Glama
recipe-mcp

recipe-mcp

by mnavas

weight_to_count

Convert an ingredient weight into an estimated piece count for recipes, such as turning 250 g of potatoes into about 1.5 pieces.

Instructions

How many pieces a weight corresponds to (e.g. 250 g potato -> ~1.5).

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>",
      "value": "<value>"
    },
    "name": "weight_to_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemYes
valueYes
weight_unitNog

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

The '~1.5' example usefully signals that results may be approximate rather than exact. With no annotations, however, the description does not disclose other relevant behavior such as whether item-specific reference weights are used, how unknown items are handled, or whether the operation is read-only.

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 single sentence is compact, front-loaded with the tool's purpose, and immediately followed by a useful example. No wording is wasted.

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

Completeness3/5

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

For a simple three-parameter conversion, the purpose and example are enough to support a basic invocation using the schema's required fields and default unit. The lack of parameter documentation, supported-unit details, and item-specific estimation behavior leaves noticeable gaps, especially without an output schema.

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

Parameters3/5

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

Despite 0% schema description coverage, the example implicitly explains all three arguments: 'potato' is the item, '250' is the value, and 'g' is the weight unit. It does not document supported unit strings, item naming expectations, or valid value ranges.

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 clearly states the conversion direction: determining how many pieces correspond to a given weight. The potato example makes the result concrete, although the description does not explicitly distinguish the tool from inverse or general conversion siblings.

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?

Usage is implied for situations where a known ingredient weight must be expressed as a piece count. There is no explicit guidance on when to prefer this tool over count_to_weight or convert_weight, nor any exclusions or prerequisites.

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