Skip to main content
Glama

joiva_remove_pantry_item

DestructiveIdempotent

Remove a pantry item entirely (wrong entry, or gone).

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": {
      "pantryItemId": "<pantryItemId>"
    },
    "name": "joiva_remove_pantry_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoDefault: 'used'
pantryItemIdYesId of the pantry item

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / pantryItemId / description
      Previous value: -"Id aus joiva_list_pantry"New value: +"Id of the pantry item"
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds the notion of full removal ("entirely"), but says nothing about permanence/reversibility or whether the removal is recorded in history — relevant given the sibling consume tool that presumably logs intake.

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?

A single eight-word sentence with the action front-loaded and the qualifying parenthetical placed after it. No filler, no repetition of the tool name or annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, two-parameter tool with annotations covering safety and a fully documented schema, the essentials are present. What is missing is the relationship to joiva_consume_pantry_item and the meaning of the "used" reason default, which leave genuine ambiguity about side effects on pantry history.

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?

Schema description coverage is 100%, so the schema already documents pantryItemId and the reason enum, making 3 the baseline. The description adds no meaning beyond the schema, and notably does not explain why a "remove entirely" tool defaults reason to "used", which is the one piece of semantic clarification an agent would actually need here.

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?

"Remove a pantry item entirely" gives a specific verb and resource, and "entirely" implicitly separates it from joiva_consume_pantry_item and joiva_update_pantry_item. It stops short of naming those siblings, so the distinction still requires the agent to infer it.

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 parenthetical "(wrong entry, or gone)" supplies two concrete triggering situations, which is more than nothing. However, it gives no guidance on when to use joiva_consume_pantry_item or joiva_update_pantry_item instead, which is the main routing decision an agent faces with this sibling set.

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