Skip to main content
Glama

remove_example

Destructive

Delete a judged example whose mark no longer holds, removing it from lists and case checks used for distillation; the change is committed and can be restored.

Instructions

Delete a judged example (a good or bad mark) whose judgement no longer holds: it leaves list_examples and the cases distill and check_examples read. The deletion is a commit: restore brings it back.

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": {
      "id": "<id>"
    },
    "name": "remove_example"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesExample id from list_examples
basisNoWhat you read and followed to make this change, as refs from search or lookup: rule:<lint or taste rule>, taste, feedback:<id> (earlier feedback this follows; what it answers goes in feedback), commit:<id> (an earlier change it builds on), asset:, template:, skill:… The person sees them under the change, so they know why it is this way. Name only what shaped it.
messageNoOne line saying why, kept with the change in the history
feedbackNoIds of the feedback this change answers (notes and marks from list_notes, list_examples or the conversation). When the person keeps the change it joins the record of that feedback, and when they then mark the feedback resolved it is the fix; when they take it back, the feedback opens again.
confidenceNoHow sure you are this change is what the person wants. high: they asked for exactly this, or you measured it against a reference. medium: you inferred it from the taste, a rule or earlier feedback. low: you are guessing, or it changes something they did not ask about. The person's threshold decides which changes stand by themselves and which wait for them to keep; say it honestly on every change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.2
    • addedInput schema / properties / confidence
      Added value: +{
      +  "description": "How sure you are this change is what the person wants. high: they asked for exactly this, or you measured it against a reference. medium: you inferred it from the taste, a rule or earlier feedback. low: you are guessing, or it changes something they did not ask about. The person's threshold decides which changes stand by themselves and which wait for them to keep; say it honestly on every change.",
      +  "enum": [
      +    "high",
      +    "medium",
      +    "low"
      +  ]
      +}
    • addedInput schema / properties / id / description
      Added value: +"Example id from list_examples"
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the downstream consequences (the example disappears from `list_examples` and from what `cases`, `distill`, and `check_examples` read) and, critically, that the deletion is a commit that `restore` can reverse. That recoverability detail materially changes how an agent should weigh a destructiveHint=true operation and is not available from any structured field.

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?

Three compact clauses: what it deletes, what it affects, and that it is reversible — the highest-value facts are front-loaded with no filler. The phrasing "the cases distill and check_examples read" is slightly compressed and takes a second read.

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 5-parameter destructive mutation with no output schema, the description covers the two things the schema cannot: blast radius and reversibility. Remaining gaps are minor — behavior when the id is unknown or already removed, and any permission prerequisites — but the essential decision inputs are present.

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%, with `id`, `basis`, `message`, `feedback`, and `confidence` all self-documented in detail, so the schema carries parameter meaning. The description adds nothing parameter-specific (it does not mention basis, message, feedback, or confidence), so the baseline 3 is appropriate.

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?

States a specific verb and resource — "Delete a judged example (a good or bad mark)" — and defines what an example is, which disambiguates it from the plain `remove` and `remove_folder` siblings. It also names the dependent surfaces (`list_examples`, `cases`, `distill`, `check_examples`), so the agent knows what kind of object is being deleted. It stops short of an explicit contrast with the generic `remove` tool.

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?

Supplies a concrete selection condition: delete when the judgement "no longer holds," which tells the agent this tool is for obsolete marks rather than arbitrary cleanup. There are no explicit exclusions or named alternatives (e.g., when to use `remove` or `remove_folder` instead), so it is clear context without full routing guidance.

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

Deploy Server

Other Tools