Skip to main content
Glama

FreeDailyPro Calculators

scale_recipe

Read-onlyIdempotent

Recipe scaler

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": {
      "ingredients": "<ingredients>",
      "originalServings": "<originalServings>",
      "targetServings": "<targetServings>"
    },
    "name": "scale_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
ingredientsYesIngredients as [{name, amount, unit}], for example [{"name":"flour","amount":200,"unit":"g"}].
targetServingsYesServings you want, for example 6.
originalServingsYesServings the recipe makes now, for example 4.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / ingredients / description
      Added value: +"Ingredients as [{name, amount, unit}], for example [{\"name\":\"flour\",\"amount\":200,\"unit\":\"g\"}]."
    • removedInput schema / properties / ingredients / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / ingredients / items / properties / amount / description
      Added value: +"An amount as a plain number, for example: 1500."
    • addedInput schema / properties / ingredients / items / properties / name / description
      Added value: +"A name or label, for example: Jane Smith."
    • addedInput schema / properties / ingredients / items / properties / unit / description
      Added value: +"Unit as text."
    • addedInput schema / properties / originalServings / description
      Added value: +"Servings the recipe makes now, for example 4."
    • addedInput schema / properties / targetServings / description
      Added value: +"Servings you want, for example 6."
  2. First observed

TDQS

C2.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds nothing on top of that: it does not explain how scaling is computed, what happens to units, whether amounts are rounded, or what the caller receives.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two words are not concise so much as under-specified; there is no structure, no front-loaded explanation of the operation, and nothing that earns its place because nothing is said at all.

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?

A transformation tool with three required parameters and no output schema should tell the agent what it returns (a scaled ingredient list) and how units/rounding are handled, since no output schema exists to carry that information. None of that is present.

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?

Schema description coverage is 100%, with each of the three parameters documented and exemplified in the schema itself, so the baseline of 3 applies. The description contributes no additional parameter meaning beyond that.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Recipe scaler" merely restates the tool name scale_recipe; it names a resource but supplies no verb phrase describing the operation (e.g., 'multiplies ingredient amounts by targetServings/originalServings'). An agent learns nothing beyond the name itself.

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 guidance on when to use this tool, no preconditions (both servings values must be positive, ingredients must be non-empty), and no routing to or away from any alternative tool. Usage is only inferable from the name.

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