Skip to main content
Glama

Upload a private recipe

upload_recipe

Add a recipe the user supplies themselves: pasted in, dictated, a family recipe they want kept, or a web page they point at. For a web page, pass the page's raw HTML or its JSON-LD as markup together with source_url; the server extracts the facts. Each call creates a new recipe that only this user and their household see in searches and saves; it never shows up for anyone else. The recipe is saved straight away: into the cookbook named in cookbook, created on first use, or else the default cookbook; no save_recipe call is needed.

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": "upload_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNorecipe name; may be left empty when markup carries the recipe
noteNothe user's own note on this recipe in that cookbook
yieldNo
markupNofor a recipe from a web page: the page's raw HTML, or just its schema.org/Recipe JSON-LD block, as fetched by the agent; the server extracts name, ingredients, steps, times, nutrition and rating from it, so the other fields can stay empty
cookbookNocookbook to save the recipe into, by name, e.g. 'Family recipes'; created when it does not exist yet; leave empty for the default cookbook
source_urlNothe web page the recipe came from, if any; kept as attribution on the user's copy
descriptionNo
ingredientsNoone ingredient per entry, with quantities, e.g. '2 cups rolled oats'
instructionsNoone step per entry
total_minutesNo

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
cookbookYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / cookbook
      Added value: +{
      +  "description": "cookbook to save the recipe into, by name, e.g. 'Family recipes'; created when it does not exist yet; leave empty for the default cookbook",
      +  "type": "string"
      +}
    • addedInput schema / properties / note
      Added value: +{
      +  "description": "the user's own note on this recipe in that cookbook",
      +  "type": "string"
      +}
    • addedOutput schema / properties / cookbook
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "name"
      -]New value: +[
      +  "id",
      +  "name",
      +  "cookbook"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / source_url / description
      Previous value: -"the web page the recipe came from, if any; kept as attribution on the private copy"New value: +"the web page the recipe came from, if any; kept as attribution on the user's copy"
  3. Changed1 schema field changed
    • removedOutput schema / additionalProperties
      Removed value: -false
  4. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this is a non-readonly, non-destructive, non-idempotent write. The description adds valuable context beyond them: the recipe is scoped privately to the user and household and never surfaces for others, it is persisted immediately, and a named cookbook is created on first use. It does not cover failure modes such as unparseable HTML or markup size limits, which would push this to a 5.

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?

Four sentences, front-loaded with the core action and the web-page path, then the privacy/visibility guarantee, then the immediate-save behavior. Every sentence carries information; slightly dense but 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?

An output schema exists, so return values need no explanation, and the description covers the two main invocation paths (structured fields vs. markup extraction) plus persistence and visibility. Remaining gaps are minor – no guidance on malformed markup or on which sibling handles Cookidoo imports.

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 coverage is 70%, so the schema already documents most fields. The description adds genuine semantics at the schema level – that markup plus source_url triggers server-side fact extraction and lets name and other fields stay empty, and that cookbook is created on demand – matching the baseline expectation rather than exceeding it substantially.

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 ("Add a recipe the user supplies themselves") and enumerates the accepted input modes: pasted, dictated, family recipe, or a pointed-at web page. It explicitly distinguishes itself from save_recipe by noting no save_recipe call is needed, so an agent can separate it from save_recipe and import_cookidoo_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 clear triggering conditions (user-supplied recipe, raw HTML or JSON-LD for a web page, with source_url) and the key exclusion that the save step is automatic. It does not explicitly say when to prefer import_cookidoo_recipe or import_recipes instead, but the user-supplied framing implies that boundary.

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.