Skip to main content
Glama

Delete a lesson that is simply wrong

domain_forget

Deletes a stored domain lesson that is wrong or obsolete. Use it to clear flatly incorrect notes; for uncertain cases, report failure instead to keep the evidence trail.

Instructions

Remove a lesson entirely. Prefer domain_report({ outcome: "failed" }) when you are unsure — that preserves the evidence trail. Delete only what is flatly wrong or obsolete.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe lesson id to delete.
urlYesThe URL or domain.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose the key consequence: deletion removes the lesson entirely while domain_report preserves the evidence trail. That is real behavioral context beyond the schema. It stops short of stating irreversibility, permission requirements, or what happens if the id/url pair does not match, so it is not complete.

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 action and followed by the alternate-path rule. No filler, and every sentence changes how an agent would behave.

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 two-parameter destructive tool with no annotations and no output schema, the description covers the action, the safer alternative, and the destruction consequence, which is most of what an agent needs. Missing are irreversibility/confirmation expectations and any failure behavior.

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 both id and url documented in the schema, so the baseline applies. The description adds no meaning about how url and id relate (e.g., whether the url scopes the lesson) or what happens on a mismatch.

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?

"Remove a lesson entirely" gives a specific verb plus resource, and the description explicitly names domain_report as the alternative path, so an agent can separate the delete case from the report case. The only remaining ambiguity is what a "lesson" is relative to a "procedure", which is not addressed.

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?

Explicit routing guidance: prefer domain_report({ outcome: "failed" }) when unsure, delete only when the lesson is flatly wrong or obsolete. Both the when-to-use and the when-not-to-use condition are stated, along with the named alternative.

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