Skip to main content
Glama

Chop it: meal planning, recipes, pantry and shopping

Delete a saved week

delete_saved_week
Destructive

Permanently deletes one of the user's Saved Weeks by savedWeekId; irreversible, so it suits an explicit request that names the week. expectedTitle is the week's current title as list_saved_weeks shows it; a mismatch, or a week that is currently This Week, is refused and nothing is deleted. Requires a linked Chop it account.

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": {
      "savedWeekId": "<savedWeekId>",
      "expectedTitle": "<expectedTitle>"
    },
    "name": "delete_saved_week"
  }
}

Input Schema

NameRequiredDescriptionDefault
savedWeekIdYes
expectedTitleYes

Output Schema

NameRequiredDescriptionDefault
statusYes
savedWeekIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description goes well beyond them: permanence, that a refusal deletes nothing, the This Week exclusion, and the account-link prerequisite. These are exactly the failure modes an agent needs before invoking a destructive call.

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?

One dense sentence-chain that front-loads the destructive, irreversible nature before the preconditions. Every clause adds information; nothing is boilerplate.

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 an output schema, everything an agent needs is present: the identifier, the title guard, the refusal semantics, irreversibility, and the account prerequisite. Return values are correctly left to the output schema.

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 0%, so the description carries the load, and it does: expectedTitle is explained as an optimistic-concurrency guard matched against the title shown by list_saved_weeks. savedWeekId is only named, not characterized beyond being the identifier, though the schema supplies its uuid format.

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?

States a specific verb and resource plus the key ('Permanently deletes one of the user's Saved Weeks by savedWeekId'), which is enough to separate it from delete_recipe and the other saved-week siblings without opening a schema.

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

Usage Guidelines4/5

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

'Suits an explicit request that names the week' gives a clear condition for calling it, and the refusal cases (title mismatch, week is currently This Week) act as guardrails. It stops short of naming a concrete alternative for ambiguous cases, so it does not quite reach the explicit when/when-not/alternative tier.

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