Local H5 and e-paper expiry tracker for household items. MCP server for managing food items with expiry dates, locations, and household sharing.
Strong schema definitions with Zod validation and tool annotations present. All 5 tools have clear descriptions (avg 180 chars) and comprehensive input schemas with type constraints. Naming follows verb_noun pattern (list_, get_, create_, update_, delete_). However, output schemas are not documented, LLMs cannot see what fields to expect in responses. Error handling guidance is absent. Parameter descriptions are good but some lack format/constraint details (e.g., date format YYYY-MM-DD stated in description but not enforced in schema). Tool annotations (readOnlyHint, destructiveHint, idempotentHint) are correctly applied.
批量新增 1 到 25 项有效期物品。每项提供 expiresOn,或同时提供 startDate 和 shelfLifeDays;可填写 location;整批校验并在同一事务中执行。
按准确 ID 批量永久删除当前家庭的 1 到 25 项有效期物品。整批校验并在同一事务中执行。
按准确 ID 批量获取当前家庭的 1 到 25 项有效期物品。整批校验;任何 ID 不存在时返回错误。
筛选当前家庭的有效期物品并返回 ID、存放地点、到期日和状态。适用于食品、药品、日用品等全部物品;结果按到期紧急度排序并支持分页。
按准确 ID 批量、部分更新当前家庭的 1 到 25 项有效期物品。参数格式为 items: [{ id, patch }]。 id 必须使用 list_items 或 get_items 返回的准确 ID,并放在 item.id;不要把 id 放进 patch。 patch 表示这一项要修改的字段,至少填写一个字段。只填写确实需要改变的 name、category、quantityText、location、startDate、shelfLifeDays 或 expiresOn;省略的字段保持原值,不要为了补全对象而复制未修改字段。 普通字段示例:{"items":[{"id":12,"patch":{"quantityText":"2 盒","category":"乳品"}}]}。 直接修改到期日示例:{"items":[{"id":12,"patch":{"expiresOn":"2026-07-30"}}]}。 按起始日期和有效天数重新计算到期日示例:{"items":[{"id":12,"patch":{"startDate":"2026-07-20","shelfLifeDays":10,"expiresOn":null}}]};expiresOn: null 用于明确触发重新计算。 如果不修改或不重新计算日期,就不要在 patch 中填写日期字段。整个批次会先完整校验,再在同一事务中执行;任何一项无效时全部不修改。
Output schemas not documented. LLMs cannot see what fields list_items, get_items, create_items, update_items, and delete_items return. This forces agents to guess response structure and risks failed downstream tool chaining.
No error handling guidance. Tools lack descriptions of failure modes (e.g., 'ID not found', 'invalid date format', 'permission denied'). Agents cannot self-correct or know whether to retry.
Date format constraints stated in descriptions but not enforced in Zod schema. 'YYYY-MM-DD' is mentioned in text but no .regex() or .date() validation in schema. LLMs may pass invalid formats like '2026/07/30' or '07-30-2026'.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 69 | 2026-07-28+ | v2 |
Pagination limit (max 100 for list_items) not enforced in description as a hard cap. Description says 'limit: 1-100, default 20' but does not warn that requesting 100 items may be expensive or slow. No guidance on when to use pagination vs. filtering.
Batch operation error handling unclear. create_items, update_items, and delete_items state '整批校验' (batch validation) but do not specify: if one item fails, do all fail? Or do successful items commit? Agents cannot plan recovery.