Skip to main content
Glama

Mark a recipe as cooked

mark_cooked
Destructive

Record that the user cooked a recipe, for "we made that tonight", "cooked the curry yesterday", "the lasagna was a hit". One entry per time it was cooked, with the day and an optional note on how it went. Pass date when the user names a day other than today. The recipe need not be saved. Pass rating when the user gave a verdict in stars or words, so the cook and the rating land in one call. Returns the entry plus how many times and when this recipe was last cooked.

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": {
      "id": "<id>"
    },
    "name": "mark_cooked"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesrecipe id that was cooked
dateNothe day it was cooked as YYYY-MM-DD in the user's calendar, e.g. yesterday's date for 'we made it last night'; empty means today
noteNowhat the user said about how it went, e.g. 'kids loved it, double the sauce next time'; at most 200 characters
ratingNothe user's stars for the recipe, 1 to 5, when they gave a verdict: 'it was a hit' is 5, 'fine' is 3, 'never again' is 1; replaces their earlier rating of this recipe; leave out when they said nothing about how it was

Output Schema

NameRequiredDescriptionDefault
entryYes
last_cookedNo
times_cookedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / entry / properties / recipe / properties / based_on_recipe_id
      Added value: +{
      +  "minimum": 0,
      +  "type": [
      +    "null",
      +    "integer"
      +  ]
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / entry / properties / cooked_by
      Added value: +{
      +  "type": "string"
      +}
  3. Changed3 schema fields changed
    • addedInput schema / properties / rating
      Added value: +{
      +  "description": "the user's stars for the recipe, 1 to 5, when they gave a verdict: 'it was a hit' is 5, 'fine' is 3, 'never again' is 1; replaces their earlier rating of this recipe; leave out when they said nothing about how it was",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / entry / properties / recipe / properties / askrecipes_ratings
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / entry / properties / recipe / properties / my_rating
      Added value: +{
      +  "properties": {
      +    "note": {
      +      "type": "string"
      +    },
      +    "stars": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "stars"
      +  ],
      +  "type": [
      +    "null",
      +    "object"
      +  ]
      +}
  4. Changed1 schema field changed
    • addedOutput schema / properties / entry / properties / recipe / properties / main_protein
      Added value: +{
      +  "type": "string"
      +}
  5. Changed3 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / entry / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / entry / properties / recipe / additionalProperties
      Removed value: -false
  6. Changed1 schema field changed
    • addedOutput schema / properties / entry / properties / recipe / properties / scale_class
      Added value: +{
      +  "type": "string"
      +}
  7. Added

TDQS

A4.7/5.0
Behavior5/5

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

Adds real context beyond the annotations: 'One entry per time it was cooked' explains the non-idempotent behavior, and 'replaces their earlier rating of this recipe' explains exactly what the destructiveHint overwrites. It also notes that the recipe need not be saved, which is not derivable from the schema.

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?

Opens with the core action, then trigger examples, then per-parameter decision rules in the order an agent would need them. Dense but every sentence carries operational information; no filler.

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

Completeness5/5

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

For a 4-parameter mutation with full schema coverage, an output schema, and annotations, nothing needed to call it correctly is missing. The description even adds the rating-overwrite semantic that annotations flag only abstractly via destructiveHint.

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 coverage is 100%, so baseline is 3, but the description adds decision rules: pass date only when the user names a day other than today, pass rating only when a verdict was given so cook and rating land in one call. That directly helps an agent decide whether to include optional params.

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?

States a specific verb and resource: "Record that the user cooked a recipe," with concrete trigger utterances. It also clarifies scope against the obvious confusion ('The recipe need not be saved'), so an agent can tell this apart from save_recipe or rate_recipe without opening schemas.

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

Usage Guidelines4/5

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

Gives explicit when-to-use triggers ('we made that tonight', 'cooked the curry yesterday') and conditional guidance for date, note, and rating. It does not name alternative siblings (e.g. rate_recipe for a bare verdict, cooked_history for reading) or state when not to use it, leaving that inference to the caller.

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.