Skip to main content
Glama

The Meal Plan Vault

List pantry items

list_pantry_items
Read-only

List what the household has on hand, optionally filtered by name, storage location, or how soon it expires. Each item has days_until_expiry (negative once expired) and expiry_status (expired, soon within 3 days, fresh). With expiring_within_days the soonest to expire come first. Results are paginated by offset: next_offset is the following page's offset and has_more is false on the last page.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
searchNo
locationNo
expiring_within_daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description carries most of the burden and does so well: it defines days_until_expiry sign behavior, enumerates expiry_status values with the 3-day 'soon' threshold, and explains that expiring_within_days changes ordering to soonest-first. Pagination semantics (next_offset, has_more) are also disclosed. It does not mention default page size or any rate/limit behavior, keeping it just short of 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with the core action and filters before moving to return-field semantics and then pagination. Every clause carries information the agent cannot get from the schema or annotations, with 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 five-parameter read tool with no output schema, the description covers the important gaps: result field meanings, sort behavior, and pagination contract. The only omissions are limit behavior and search matching rules, which are minor for a listing tool whose safety profile is already covered by annotations.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate, and it does for four of five parameters: search maps to name matching, location to storage location, expiring_within_days to both filtering and sort order, and offset to paging via next_offset. The limit parameter is never mentioned, and search matching semantics (substring vs exact) remain unstated.

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

Purpose4/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 household has on hand') plus the three filter axes, which cleanly separates it from the grocery-list siblings that deal with items to buy rather than items owned. It stops short of naming any sibling explicitly, so differentiation is inferred from the resource rather than stated.

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

Usage Guidelines3/5

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

The phrase 'optionally filtered by name, storage location, or how soon it expires' tells the agent how to narrow results, which is useful context. There is no explicit when-to-use/when-not guidance and no pointer to alternatives such as the grocery-list or recipe listing tools, so the agent must infer the boundary itself.

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.

Resources