Skip to main content
Glama

fenbs_delete_lesson

Destructive

Delete a lesson by ref. Its number is never reused, and it can be restored with its links and versions. Needs permission to change tasks.

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": {
      "ref": "<ref>"
    },
    "name": "fenbs_delete_lesson"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

The description adds genuinely valuable behavior beyond the annotations: the delete is soft/reversible ("can be restored with its links and versions") and the identifier is retired permanently ("number is never reused"), which materially changes how an agent should reason about destructiveHint=true. It still omits post-conditions such as error behavior for a nonexistent ref or what the call returns.

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, front-loaded sentences with zero filler; the reversibility caveat and permission requirement each earn their place.

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 one-parameter mutation with full annotation coverage, this covers purpose, reversibility, identifier behavior, and a permission prerequisite. Missing only failure/return semantics for a nonexistent ref.

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 0%, so the description must carry the burden for the single `ref` parameter. Saying "by ref" plus "its number is never reused" hints that ref is a numeric identifier, but it never states the format or where the ref comes from, leaving real ambiguity.

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?

Opens with a precise verb+resource ("Delete a lesson by ref") and immediately scopes the operation with "Its number is never reused." It implicitly distinguishes itself from fenbs_restore_lesson by noting the deletion is reversible, though it never names that sibling outright.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides one real prerequisite ("Needs permission to change tasks") and hints that restoration is the alternate path, but gives no explicit when-to-use/when-not guidance or a named alternative for undoing the action.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources