Skip to main content
Glama

What the user cooked

cooked_history
Read-onlyIdempotent

List what the user cooked and when, newest first, for "what did we cook last week", "when did I last make the lasagna", "what have we been eating". Call it before planning a week so the plan avoids repeating recent dishes and ingredients. Each entry carries the day, the user's note and the recipe summary with its source link. Without since, until or recipe_id it covers the last 30 days.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cooked_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNomax entries, default 50, max 200
sinceNofirst day to include as YYYY-MM-DD; without since, until or recipe_id the last 30 days are returned
untilNolast day to include as YYYY-MM-DD, inclusive
recipe_idNoonly entries for this recipe, for 'when did I last make the lasagna'; lifts the 30-day default

Output Schema

NameRequiredDescriptionDefault
entriesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / entries / items / properties / recipe / properties / based_on_recipe_id
      Added value: +{
      +  "minimum": 0,
      +  "type": [
      +    "null",
      +    "integer"
      +  ]
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / entries / items / properties / cooked_by
      Added value: +{
      +  "type": "string"
      +}
  3. Changed2 schema fields changed
    • addedOutput schema / properties / entries / items / properties / recipe / properties / askrecipes_ratings
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / entries / items / 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 / entries / items / properties / recipe / properties / main_protein
      Added value: +{
      +  "type": "string"
      +}
  5. Changed3 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / entries / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / entries / items / properties / recipe / additionalProperties
      Removed value: -false
  6. Changed1 schema field changed
    • addedOutput schema / properties / entries / items / properties / recipe / properties / scale_class
      Added value: +{
      +  "type": "string"
      +}
  7. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so safety is covered; the description adds real behavioral detail beyond that: newest-first ordering, the contents of each entry, and the implicit 30-day window that recipe_id or an explicit range lifts. It stops short of mentioning the cap on returned entries.

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?

Three front-loaded sentences: purpose and ordering, use cases plus proactive advice, then return shape and the default window. The 30-day default is stated in the prose and again in the since/recipe_id schema fields, a minor redundancy, but there is no filler.

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 four-param read tool with full schema coverage, annotations and an output schema, the description covers ordering, default scope, entry contents and invocation timing. Only the limit cap and its interaction with newest-first ordering are left to the schema, which is acceptable given the output schema exists.

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%, so the schema already documents limit, since, until and recipe_id, including the 30-day default. The description restates the same windowing rule rather than adding new meaning (e.g. timezone of day boundaries or date normalization), so baseline 3 applies.

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 ("List what the user cooked and when, newest first") and distinguishes it from the sibling mutation mark_cooked by framing it as a read/list of past cooks. An agent can tell what it returns without opening the schema.

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 triggers ("what did we cook last week", "when did I last make the lasagna") and a proactive-use rule: call it before planning a week so the plan avoids repeating recent dishes. It does not name a sibling alternative or an explicit when-not-to-use case, which keeps it short of a 5.

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.