Skip to main content
Glama
zackscriven

ghl-mcp-server-v2

by zackscriven

ghl_project_update_folder

Updates project folder details—name, color, or privacy—and adds private access grants for specified users without revoking existing permissions.

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 Folder Updates folder fields such as name, color, or privacy. color must be a palette swatch. userIds when making the folder private adds grants and does not revoke omitted users — use DELETE /projects/folders/{folderId}/users/{userId}. Setting isPrivate: false makes the folder public; existing direct grants remain but no longer gate access while public. Endpoint: PATCH /projects/folders/{folderId} (Version header: v3; source: v3/projects-v3.json) OAuth scopes: projects/workspace.write

Input Schema

NameRequiredDescriptionDefault
bodyYesPartial update body for a space, folder, or list (not tasks). All fields optional. When setting `isPrivate: true`, send a non-empty `userIds` array (add-only). Revoke with `DELETE .../users/{userId}`. Setting `isPrivate: false` makes the resource public; existing direct grants remain but no longer gate access while public. `icon` and `description` are not accepted on the public API.
folderIdYesFolder 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.9/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true), yet the description adds genuinely non-obvious behavior: OAuth scope projects/workspace.write, the add-only grant semantics, and the fact that existing direct grants persist but stop gating access when the folder is made public. The delete-cascade warning and lexorank note are accurate but largely irrelevant to a folder update, diluting the value slightly.

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 half the text is API-wide boilerplate about task batch-get RBAC filtering, embedded subtasks, lexorank `position`, recurring-task field names, and task search — none of which applies to updating a folder. The tool-specific content is buried after that preamble, so the description is poorly front-loaded for its actual subject.

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-parameter PATCH with full schema coverage and existing annotations, the definition supplies the endpoint, version header, OAuth scope, and privacy side effects — enough to call it correctly. Only a note on what the update returns is missing, and no output schema exists to cover that.

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 nested body already documents `color` (full enum list), `userIds` (add-only), and `isPrivate` verbatim. The description restates the same facts rather than adding new meaning, so this is a baseline-3 case where the schema does the heavy lifting.

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 'Update Folder' section states a specific verb and resource with the exact fields it touches (name, color, privacy) and pins the endpoint to PATCH /projects/folders/{folderId}, which cleanly separates it from ghl_project_update_space and ghl_project_update_list. The hierarchy preamble reinforces where folders sit (spaces -> folders -> lists -> tasks), so an agent can place the operation without opening a 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 explains the key routing decision an agent would otherwise get wrong: `userIds` is add-only on this call, and revocation must go through `DELETE /projects/folders/{folderId}/users/{userId}` (i.e. ghl_project_delete_folder_user). It also clarifies the isPrivate:false path. It stops short of explicitly framing when to prefer this over other folder tools (get/delete), but the context is clear.

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