Skip to main content
Glama

get_recipe_as_format

Export a Mealie recipe by slug using a named template to get it in a specific format such as JSON, ZIP, or PDF.

Instructions

Get Recipe As Format — Recipe: Exports. Export recipes. [GET /api/recipes/{slug}/exports]

Parameters

template_name: The name of the template to use to use in the exports listed. Template type will automatically be set on the backend. Because of this, it's important that your templates have unique names. See available names and formats in the /api/recipes/exports endpoint. Keywords: get_recipe_as_format, get recipe as format, export recipe, list recipe, list recipes, get recipe, get recipes, search recipe, search recipes, find recipe, find recipes, browse recipe, browse recipes, fetch recipe, fetch recipes, read recipe, read recipes, recipe, recipes, recipe exports, exports, list, get, search, find, browse, fetch, read, read-only, mealie.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYes
template_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.11

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It mentions that 'Template type will automatically be set on the backend' and that template names must be unique, which adds some value, but it omits critical details like required permissions, whether the operation is read-only (implied but not stated), and the response format.

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?

The description is poorly structured: a title-like preface, a one-line summary, an endpoint, a long keyword list, and a single parameter note. The keyword list is unnecessary bloat that distracts from useful information.

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?

For a tool with two required parameters, no annotations, and no output schema, the description is incomplete. It doesn't explain what the export returns, the format of the output, or any side effects. The single sentence about template uniqueness is helpful but insufficient.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden. It explains that 'template_name' refers to a template and that names must be unique, but it does not clarify the 'slug' parameter at all, leaving half of the parameters undocumented.

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

Purpose3/5

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

The description states the action ('Export recipes') and includes the endpoint, but the phrasing 'Get Recipe As Format' is unusual and lacks a clear, direct statement of what the tool returns. It is distinguishable from siblings like get_recipe, but the purpose could be clearer.

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 explicit guidance on when to use this tool versus alternatives such as get_recipe or bulk_export_recipes. The keyword list is not usage guidance; it's keyword stuffing.

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

Deploy Server

Other Tools