Skip to main content
Glama

delete_comment

Destructive

Deletes a thread and all its messages (cascade). resolve_comment, in contrast, resolves a thread without deleting it. On a thread anchored 'document_range', also removes its mark from the document content (best-effort: a failure of this cleanup never prevents the deletion, and is signaled via markStripNote).

Input Schema

NameRequiredDescriptionDefault
threadIdYesDeletes the whole thread + associated messages (cascade)
expectedProjectIdNoUUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / threadId / description
      Previous value: -"Supprime tout le thread + messages associés (cascade)"New value: +"Deletes the whole thread + associated messages (cascade)"
  2. First observed

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, but the description goes well beyond them: it discloses that the whole thread plus all its messages are destroyed (cascade), that document_range anchors also lose their document mark, and that this cleanup is best-effort with failures surfaced via `markStripNote` rather than blocking deletion. That is precisely the destruction scope and failure-mode context 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, each earning its place: the core action and scope first, the sibling contrast second, the document_range edge case and its non-fatal failure semantics third. Front-loaded and free of filler.

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?

There is no output schema, but the description covers what gets destroyed, the alternative operation, the anchor-specific side effect, and the failure-signaling field (`markStripNote`). Nothing an agent needs in order to invoke this destructive tool 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 description coverage is 100%, so threadId's cascade behavior and expectedProjectId's targeting/access-refusal semantics are already documented in the schema. The description adds no parameter syntax, format, or interaction 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 and resource ('Deletes a thread and all its messages') plus the cascade scope, and explicitly contrasts itself with the sibling resolve_comment. An agent can distinguish it from resolve_comment, move_comment, and reply_comment without opening any schema.

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?

Names the alternative operation (resolve_comment) and states the discriminating condition: it resolves without deleting, this one deletes. That is exactly the when-to-use-this-vs-that guidance an agent needs, with no inference required.

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.