Skip to main content
Glama
zackscriven

ghl-mcp-server-v2

by zackscriven

ghl_project_delete_task_comment

DestructiveIdempotent

Deletes a specific comment from a project task using task and comment IDs; only the comment author can remove it.

Instructions

PROJECT MANAGEMENT API — hierarchy is spaces -> folders -> lists -> tasks (+ comments, space statuses, recurring tasks). Task batch-get is RBAC-filtered (inaccessible ids are omitted, not errors) and omits embedded subtasks. position is an opaque server-assigned lexorank string; there is no public reorder endpoint. Recurring tasks use owners/contactIds and rruleOptions.intervalType (task create uses assignees/contactId). Task search supports updatedAt filtering/sorting for incremental sync. The docs do not describe what a delete cascades to — treat every delete as destructive. Delete A Comment Deletes a comment. Deleted comments do not appear in Get Task Comments. Response: { "success": true } (no id). 403 unless the caller is the comment author. Endpoint: DELETE /projects/tasks/{taskId}/comments/{commentId} (Version header: v3; source: v3/projects-v3.json) OAuth scopes: projects/tasks.comments.write

Input Schema

NameRequiredDescriptionDefault
taskIdYesTask id
commentIdYesComment id
locationIdNoLocation id. Required for APP channel (`?locationId=`). Ignored for OAuth/PIT (token location is used). Do not send in path, body, or headers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.0

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare destructiveHint/indexHint, but the description adds authorization semantics (author-only, 403), the exact response payload `{ "success": true }` with no id, and the cascade warning ("the docs do not describe what a delete cascades to — treat every delete as destructive"). That is substantial context beyond the structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The tool-specific content is front-loaded and tight, but the leading paragraph about hierarchy, lexorank position, recurring tasks, and RBAC-filtered batch-get has nothing to do with deleting a comment and bloats the definition.

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 3-param destructive mutation with no output schema, the description covers authorization, the return shape, and cascade risk — everything needed to call it safely. The only gap is that the irrelevant preamble displaces nothing essential, so it is complete but not maximally efficient.

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%, so taskId/commentId/locationId are already documented in the schema. The description restates the path parameters but adds no format or edge-case meaning (e.g., how locationId behaves for APP vs OAuth channels is only in the schema). 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?

States a specific verb+resource ("Delete A Comment") plus the exact endpoint DELETE /projects/tasks/{taskId}/comments/{commentId}. It is unmistakably distinct from siblings ghl_project_update_task_comment, list_task_comments, and create_task_comment.

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?

Gives a concrete precondition ("403 unless the caller is the comment author") and a postcondition (deleted comments no longer appear in Get Task Comments), which tells the agent when this call will fail and how to verify. It doesn't explicitly name the alternative tools, keeping it short of a 5.

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