Skip to main content
Glama

Ration Kitchen Agent Server

remove_cargo_item

Destructive

Permanently delete a pantry line. Destructive — pass confirm:true. Prefer update_cargo_item or adjust_cargo_item to quantity 0 when the user still wants a restock reminder. Use itemId from list_inventory or search_ingredients.

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": {
      "itemId": "<itemId>",
      "confirm": "<confirm>"
    },
    "name": "remove_cargo_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemIdYes
confirmYesSet true to confirm permanent removal.

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
metaNo
toolYes
errorNo
outcomeNo
warningsNo
requestIdNo
retryableNo
operationIdNo
retryAfterMsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered structurally; the description still adds value by restating permanence and mandating confirm:true as the gate. It does not explain what else is affected (e.g., history or meal-plan references to the removed line), which is the one behavioral gap remaining.

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?

Three short sentences, front-loaded with the destructive action and the confirmation requirement before the softer alternatives and the id source. Every clause carries actionable information with no filler.

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

Completeness5/5

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

For a two-parameter destructive tool with full annotation coverage and an output schema, this defines the action, the safety gate, the softer alternatives, and the id provenance. Nothing an agent needs in order to call it correctly is missing.

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

Parameters4/5

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

Schema coverage is 50% and the description compensates for the weakly documented itemId by naming the two tools that produce a valid id. confirm is reinforced as a mandatory true, though it adds nothing beyond the schema's own "Set true to confirm permanent removal." and never says what happens on false.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Permanently delete a pantry line" gives a specific verb (delete) plus resource (pantry line) and the adverb "permanently" signals irreversibility. It is immediately distinguishable from update_cargo_item, adjust_cargo_item, and the supply-list siblings because it targets a single inventory line by id.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent to alternatives and states the condition that selects them: use update_cargo_item or adjust_cargo_item to quantity 0 when the user still wants a restock reminder. It also tells the agent where to obtain the required itemId (list_inventory or search_ingredients), so both the when and the how are covered.

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