Skip to main content
Glama
Mealie Mcp

Mealie Mcp

Get units

mealie_get_units
Read-onlyIdempotent

Retrieve a paginated list of measurement units from Mealie, with search, ordering, and filtering options to find the units used in recipe ingredients.

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_units"
  }
}

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, openWorldHint, and non-destructive behavior, so the description only needs to add context such as pagination defaults or ordering behavior. It adds nothing beyond 'Get All', leaving no disclosure of how paging or sorting works.

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 not conciseness but under-specification; there is no structure, no front-loaded scope, and no sentence that could earn its place because nothing is said.

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 9-parameter list endpoint with no output schema and zero schema coverage, the description is completely inadequate. An agent cannot determine valid filter syntax, pagination behavior, or ordering semantics from it.

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?

Nine parameters have 0% schema description coverage, so the description carries the full burden, yet it explains none of them. Page, per_page, search, order_by, order_direction, query_filter, accept_language, pagination_seed, and order_by_null_position are all unexplained.

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 title 'Get units' with no verb specificity about what a unit is or what is returned. It does not distinguish this list endpoint from siblings such as mealie_get_units_item_id or mealie_recipe_units.

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 when to prefer the single-item or recipe-units siblings, and no prerequisites or pagination context. The agent must infer everything from the name.

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