Skip to main content
Glama
zackscriven

ghl-mcp-server-v2

by zackscriven

ghl_project_update_task_comment

Updates a task comment's TipTap body and mentioned user IDs so comment authors can revise content and mentions in project tasks.

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. Update A Comment Updates TipTap body and, when sent, mentionedUserIds — see TipTap documentation. 403 unless the caller is the comment author. Response: { "comment": { … } }. Endpoint: PATCH /projects/tasks/{taskId}/comments/{commentId} (Version header: v3; source: v3/projects-v3.json) OAuth scopes: projects/tasks.comments.write

Input Schema

NameRequiredDescriptionDefault
bodyYesRequest body (schema carried verbatim from the official OpenAPI spec).
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

A3.5/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-destructive, non-idempotent, open-world operation, and the description adds genuinely non-inferable behavior: the author-only 403 auth constraint, the `{ "comment": { … } }` response envelope, the required v3 version header, and the OAuth scope. It does not contradict any annotation. It stops short of stating what happens to `mentionedUserIds` when omitted or whether the old body is replaced wholesale.

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

Conciseness2/5

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

Roughly two-thirds of the text is shared boilerplate irrelevant to updating a comment: space/folder/list hierarchy, lexorank `position`, recurring-task field naming, updatedAt search sorting, and delete cascades. The tool-specific content (auth, response, endpoint, scope) is compressed into two lines at the end rather than front-loaded.

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 4-parameter PATCH with a 100%-covered schema and no output schema, the essential invocation facts are all present: author-only restriction, endpoint and version header, scope, and response envelope. What is missing is partial-vs-full update semantics for the body, which matters for a mutation with destructiveHint=false.

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 and the nested body/mentionedUserIds are all documented in the schema, including examples and the locationId channel caveat. The description echoes the TipTap body and mentionedUserIds semantics but adds no syntax or behavioral detail beyond the schema. Baseline 3 applies.

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?

The operative sentence is specific: 'Update A Comment — Updates TipTap `body` and, when sent, `mentionedUserIds`', and it names the PATCH endpoint with taskId/commentId. It is clearly distinguishable from the create/delete/list comment siblings. The only drag is that the actual purpose is buried beneath a generic API-hierarchy preamble rather than front-loaded.

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?

It gives a real precondition — '403 unless the caller is the comment author' — which tells the agent when the call will fail. However, it never states when to choose this over ghl_project_create_task_comment or ghl_project_delete_task_comment, nor whether omitted fields are preserved or cleared. Usage is implied by the name and endpoint only.

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