Skip to main content
Glama
Mealie Mcp

Mealie Mcp

Get foods

mealie_get_foods
Read-onlyIdempotent

Retrieve and search food entries from a Mealie instance with pagination, filtering, and sorting. Browse the food catalog to find ingredients for recipes, meal plans, or shopping lists.

Instructions

Get All

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

Input Schema

NameRequiredDescriptionDefault
pageNo
searchNo
order_byNo
per_pageNo
query_filterNo
accept_languageNo
order_directionNo
pagination_seedNo
order_by_null_positionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.7

TDQS

D1.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is fully covered elsewhere. The description contributes nothing beyond that: no pagination behavior, no filtering semantics, and no note about what the nine parameters do.

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 technically concise but represent under-specification rather than efficiency. There is no front-loaded statement of purpose or scope to anchor the reader.

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

Completeness1/5

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

For a nine-parameter list endpoint with no output schema and no annotations covering parameters, the description should explain paging, sorting, and filtering. It supplies none of that, leaving the definition effectively unusable without guessing.

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

Parameters1/5

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

Schema description coverage is 0% across nine parameters (page, search, order_by, per_page, query_filter, accept_language, order_direction, pagination_seed, order_by_null_position), and the description never mentions any of them. With no coverage in the schema and no compensation in prose, an agent cannot know how to page, sort, or filter.

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?

"Get All" merely restates the name and title without naming the resource (foods) or what kind of result comes back. It does hint at a list operation, but it does not distinguish this tool from siblings such as mealie_get_foods_item_id or mealie_get_explore_groups_group_slug_foods.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no mention of alternatives, and no indication of when this tool should be preferred over the many other food-related siblings. The word "All" is the only hint, and it is too weak to route an agent.

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