Skip to main content
Glama

joiva_list_pantry

Read-onlyIdempotent

What the signed-in user currently has at home, per storage location, with quantity and (where the food is resolved) its nutrients. expiringWithinDays filters for items close to or past their best-before date. Every food carries brand and certifications (bio, demeter, bioland, naturland, fairtrade; null = none known), which tell products of different makers apart.

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

Input Schema

NameRequiredDescriptionDefault
locationNoOnly one storage location
expiringWithinDaysNoOnly items whose best-before is within n days (or already passed)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive behavior, so the description need not restate safety. It adds meaningful context beyond that: scope is the signed-in user's own items, results are grouped per storage location, expiringWithinDays includes already-expired items, and certifications use null to mean 'none known'. Pagination/ordering behavior is not described, but the added detail is substantial.

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

Conciseness4/5

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

Three sentences, front-loaded with the core scope before filter and data-detail notes; no filler. The certifications parenthetical is slightly dense but earns its place by explaining the brand/certification data returned.

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?

With no output schema, the description carries return-value explanation and does so adequately: quantity, nutrients, brand, certifications, and per-location grouping. Remaining gaps (ordering, pagination, empty-state behavior) are minor for a small read-only list tool with two optional filters.

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

Parameters3/5

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

Both parameters already have full schema coverage (100%), including the enum for location and the 0-365 bounds for expiringWithinDays, so the baseline is 3. The description clarifies that expiringWithinDays includes items 'past' their best-before date, a small but real addition; the location parameter's semantics are not elaborated beyond the schema.

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 ('What the signed-in user currently has at home, per storage location, with quantity and ... nutrients'), which is immediately actionable. It does not explicitly name sibling tools like joiva_list_shopping or joiva_search_foods to sharpen the boundary, but the pantry-inventory scope is unambiguous.

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?

Usage is implied by the phrase describing the user's current home inventory and the note that expiringWithinDays filters for items near/past their best-before date. However, there is no explicit when-to-use vs alternatives (e.g., list_shopping for shopping items, search_foods for catalog lookup), and no stated prerequisites.

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