Skip to main content
Glama

remove

Destructive

Delete or unlink a single project item by kind — composition, asset, reference, codebase, site, folder, example or rule — to remove what is no longer needed.

Instructions

Delete or unlink one thing from the project by kind: a composition, asset, reference video, linked codebase, site, library folder, judged example or code rule (lint/.ts). examples: keep (default) or delete the examples judged on a composition, asset or reference. The same as delete_composition, delete_asset, delete_reference, unlink_codebase, delete_site, remove_folder, remove_example, delete_lint_rule.

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

Input Schema

NameRequiredDescriptionDefault
idYesIts name; a reference by its path, a folder by its path, an example or rule by its id
kindYes
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
examplesNokeep
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. Addedv0.1.2

TDQS

A4.1/5.0
Behavior3/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 structured data. The description does add real context beyond that: the 'delete or unlink' distinction signals that some kinds (linked codebase) are detached rather than destroyed, and examples default to keep, which is a meaningful side-effect boundary. It still says nothing about permissions, undo/reversibility, or what happens to dependents of a deleted item.

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?

Front-loaded with the verb and kind list, then the examples modifier, then the sibling equivalence — a sensible ordering for a dispatcher. The final sentence is a long roster of equivalent tool names that partly restates the kind list, but it earns its place as routing information.

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 seven-parameter destructive dispatcher with no output schema, the definition covers what is being removed, the kind taxonomy, and the examples side effect, while annotations handle the destructive/idempotency profile. The remaining gap is outcome information — whether a removal can be undone and what happens to things that referenced the removed item.

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?

Coverage is 71%, so the schema carries most of the load, but the description adds genuine meaning: it spells out what each kind value refers to (reference video, linked codebase, library folder, judged example, lint rule file) and explains the consequence of examples=delete on a composition, asset or reference, which the enum alone does not convey. basis, message, feedback and confidence are left entirely 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 pair (delete or unlink) and resource (one thing in the project), then enumerates every accepted kind including the rule path form lint/<id>.ts. The closing sentence maps it explicitly to the per-kind sibling tools, so an agent can distinguish the dispatcher from delete_composition, remove_folder, and friends 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?

The equivalence sentence tells the agent this is a generic entry point covering the same work as the named per-kind tools, and the examples clause explains the keep/delete decision. What it does not state is when to prefer the dispatcher over the specific tool (or vice versa), so the routing choice is left to inference.

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