Skip to main content
Glama

Lightbringer

Delete a Lightbringer comment

delete_comment
Destructive

Permanently deletes a comment thread on an invention disclosure, a patent draft or a commentable report, or one reply in it. Deleting a thread, or its opening comment, removes the whole thread with its replies and highlight. The web app's rules apply: a thread only by the person who started it, a reply only by its author or when an assistant wrote it, and only where the user's role allows deleting comments. A deletion the rules do not allow returns status refused and changes nothing.

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": {
      "target": "<target>",
      "thread_id": "<thread_id>"
    },
    "name": "delete_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesThe record’s asset type and id, as fetch with include_asset returns them
thread_idYesThe thread identifier
comment_idNoOne reply in the thread; without it, or with the thread's opening comment, the whole thread is deleted

Output Schema

NameRequiredDescriptionDefault
hintNo
errorNo
statusYes
threadIdNo
commentIdNo
unchangedNo
instructionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the destructiveHint=true annotation, the description discloses the actual blast radius: deleting a thread or its opening comment removes all replies plus the highlight. It also adds authorization rules and the refusal outcome, which the annotations cannot express.

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?

Four focused sentences, front-loaded with the destructive effect, then scope, then permissions, then failure mode. Slightly dense with policy detail but every sentence carries information an agent needs.

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 destructive, permission-gated mutation with an output schema and fully documented parameters, the description covers effect, cascade, authorization, and the refused outcome. Nothing an agent needs before calling it 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 description coverage is 100%, and the schema already explains that omitting comment_id or passing the opening comment deletes the whole thread. The description reinforces this but adds no new syntax or format detail beyond the structured fields, so the baseline 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?

The description opens with a specific verb and resource ('Permanently deletes a comment thread') and immediately scopes it to invention disclosures, patent drafts and commentable reports, while distinguishing thread deletion from deleting a single reply. An agent can separate this from add_comment, reply_to_comment or update_comment_thread without opening the 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?

It states the conditions under which deletion is permitted (thread starter, reply author, assistant-authored replies, role permissions) and what happens when those fail ('returns status refused and changes nothing'). It does not name an alternative tool for the cases that are refused, which keeps it below the top mark.

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.