Skip to main content
Glama

delete_glossary_term

DestructiveIdempotent

Deletes a term, its definition, and aliases from the workspace glossary so it no longer appears in future context packs; requires workspace:write.

Instructions

Permanently remove a term, with its definition and aliases, from the workspace glossary. The glossary rides in get_workspace_context, so the term drops out of later context packs. Use set_glossary_term to redefine a term instead of deleting it, and list_glossary_terms to see the exact terms. Returns {deleted: true}, or a not-found error when no such term is defined, so a second call fails rather than repeating. Requires workspace:write.

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": {
      "term": "<term>"
    },
    "name": "delete_glossary_term"
  }
}

Input Schema

NameRequiredDescriptionDefault
termYesThe term to delete, matched exactly (case-sensitive) after surrounding whitespace is trimmed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv479.0.2
    • addedInput schema / properties / term / description
      Added value: +"The term to delete, matched exactly (case-sensitive) after surrounding whitespace is trimmed."
  2. First observedv479.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds real context beyond them: the deletion is permanent, it cascades to get_workspace_context so the term disappears from later context packs, it returns {deleted: true}, and a second call fails with not-found rather than silently repeating. The not-found behavior also clarifies what idempotentHint=true means in practice (state unchanged, but the call errors).

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?

Four dense sentences with no filler: purpose first, then the context-pack side effect, then sibling routing, then return/error and auth. Every clause carries information an agent would otherwise lack.

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 single-parameter destructive tool with no output schema, the description covers the return value, failure mode, auth requirement, cascade effect, and alternatives. Nothing needed to call it correctly is missing.

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 coverage is 100% and the schema already documents the single parameter fully, including exact, case-sensitive matching after whitespace trimming. The description adds no parameter-level detail beyond that, so the baseline of 3 applies.

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 (permanently remove) and resource (a glossary term) plus the exact scope of what is removed: the term with its definition and aliases in the workspace glossary. An agent can immediately distinguish this from set_glossary_term and list_glossary_terms.

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?

Explicitly routes the agent to alternatives: use set_glossary_term to redefine rather than delete, and list_glossary_terms to inspect exact terms first. It also states the precondition (workspace:write) and the consequence of a repeat call, leaving no inference needed.

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