Skip to main content
Glama

list_pantry

Pantry items sorted by (estimated) expiry, with days_left.

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

Input Schema

NameRequiredDescriptionDefault
queryNo
storageNo
categoryNo
include_usedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It does disclose two useful behaviors — results are ordered by (estimated) expiry and each item carries a days_left field — but it omits everything else: whether the call is read-only, what 'estimated' expiry means, how include_used changes results, default filter behavior, and result size/pagination. The gaps outweigh the two facts given.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The text is a single front-loaded fragment with zero filler, so nothing is wasted. But it reads as a return-value caption rather than a usable description, and its brevity comes at the cost of the information an agent needs.

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?

A four-parameter tool with no annotations, no output schema, and 0% schema coverage requires a description that explains filtering and return shape. This one supplies only the sort order and one field, leaving the majority of calling decisions undocumented.

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% and the description mentions none of the four parameters (query, storage, category, include_used), so it fails to compensate. Worse, calling the results 'pantry items' while the schema exposes a storage enum of fridge/freezer/pantry creates mild ambiguity about whether non-pantry storage is included.

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 conveys the resource (pantry items) and a key output trait (sorted by estimated expiry, with days_left), which is more than a restatement of the name. However, it never states the verb explicitly ('list/return') and gives no differentiation from closely related siblings such as whats_expiring, which likely also surfaces expiry information. An agent can guess the purpose but not confidently separate it from its neighbours.

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 when-to-use guidance at all: nothing says when to pick list_pantry over whats_expiring or list_shopping, nor any prerequisite or exclusion. The only implicit cue is the word 'pantry', which is insufficient for routing.

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