Skip to main content
Glama

The Meal Plan Vault

Add pantry item

add_pantry_item

Add an item to the household pantry.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "add_pantry_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
unitNoe.g. "lb", "cup", "can"
notesNo
locationNo
quantityNoe.g. "2", "1 1/2", "0.5"
purchase_dateNoYYYY-MM-DD
expiration_dateNoYYYY-MM-DD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already disclose that this is a non-read-only, non-destructive, non-idempotent, closed-world mutation. The description adds no behavioral context beyond the basic action, such as duplicate handling, defaults for missing fields, or side effects.

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?

The description is a single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity contributes to gaps in guidance and parameter meaning.

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?

For a seven-parameter mutation tool with moderate schema coverage and no output schema, a one-sentence description is incomplete. It leaves important context about field semantics, duplicate behavior, and usage relative to related tools unaddressed.

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 coverage is only 57% across seven parameters, and the description explains none of them. It does not clarify the meaning or expected format of name, unit, quantity, location, notes, purchase_date, or expiration_date beyond what the schema already provides.

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?

The description states a specific verb and resource: adding an item to the household pantry. It is clear enough to distinguish pantry inventory from grocery-list operations, though it does not explicitly name siblings like add_grocery_list_item or update_pantry_item.

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 description implies this tool is used when adding pantry inventory, but it gives no explicit guidance on when to use it versus add_grocery_list_item, update_pantry_item, or remove_pantry_item. There are no prerequisites, exclusions, or duplicate-handling notes.

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