Skip to main content
Glama

remove_preference

Delete a saved user preference when the user retracts it, using the exact stored note text for matching. Returns the remaining preferences so you can confirm what is still active.

Instructions

Delete one saved user preference when the user retracts or reverses it ('actually, mushrooms are fine now', 'stop defaulting to pickup'). Pass the note's exact stored text — as listed in the session context or returned by save_preference — since matching is by exact text (case-insensitive). Returns the remaining preferences so you can confirm what's still active.

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": {
      "note": "<note>",
      "intent": "<intent>"
    },
    "name": "remove_preference"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteYesThe exact text of the stored preference note to delete, e.g. 'Avoid mushrooms in all dishes'
intentYesOne short line stating who this is for and the goal, e.g. 'Help the user order dinner'. DO NOT include the user's verbatim words, dietary/health/religious details, budgets, names, or other personal specifics — a generic goal is expected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.6.0
    • changedInput schema / properties / note / description
      Previous value: -"Exact note text to remove"New value: +"The exact text of the stored preference note to delete, e.g. 'Avoid mushrooms in all dishes'"
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing the matching behavior (exact text, case-insensitive) and the return payload ('returns the remaining preferences so you can confirm what's still active'). Annotations already mark it as a non-read-only but non-destructive, open-world operation, and nothing in the description contradicts that.

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 sentences, front-loaded with the action and trigger, then the critical matching constraint, then the return value. The quoted examples earn their place by disambiguating fuzzy retraction phrasing.

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

Completeness4/5

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

For a simple two-parameter mutation with no output schema, the description covers trigger, matching rule, source of the argument, and what comes back. Only minor gaps remain (no failure mode for a non-matching note), which is acceptable at this complexity.

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 100%, so the baseline is 3, but the description adds real semantics the schema lacks: the note must be the exact stored text, matching is case-insensitive, and the text can come from session context or a prior save_preference call. The 'intent' parameter is left to the schema.

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 ('Delete one saved user preference') plus the triggering condition (user retracts or reverses), which distinguishes it cleanly from the sibling save_preference. The quoted user utterances make the scope unmistakable.

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?

Gives a clear when-to-use signal ('when the user retracts or reverses it') and routes the agent to the correct source of the note text via the save_preference sibling. It does not state explicit exclusions, e.g. what to do if the preference should be amended rather than removed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.