Skip to main content
Glama
zackscriven

ghl-mcp-server-v2

by zackscriven

ghl_project_set_task_home_list

Idempotent

Move a task's home list to a different list. Returns success, or 409 if the task already belongs to the destination list or is not on the current home list.

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. Move Task Moves the task’s home list to another list. Response: { "success": true }. 409 has two causes and one status: the task is already on the destination list (including as an additional list), or it is not on the current home list. If it is already an additional member of the destination, DELETE /projects/lists/{listId}/tasks/{taskId} on that list, then call Move Task. There is no separate error code for the two causes. Endpoint: PUT /projects/tasks/{taskId}/home-list (Version header: v3; source: v3/projects-v3.json) OAuth scopes: projects/tasks.write

Input Schema

NameRequiredDescriptionDefault
bodyYesRequest body (schema carried verbatim from the official OpenAPI spec).
taskIdYesTask 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.8/5.0
Behavior4/5

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

Goes well beyond the annotations: discloses the success payload shape, documents that 409 conflates two distinct causes with no separate error code, and warns that deletes in this API should be treated as destructive. The annotations (idempotentHint=true, destructiveHint=false) are consistent with a move operation. It does not say whether the move requires write scope beyond the listed OAuth scope, but the scope line covers that.

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 roughly half the description is an API-wide preamble about batch-get RBAC, lexorank position, recurring task fields, and search sorting that has nothing to do with moving a task. Useful as cached context for the family, wasteful bolted onto this single tool.

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 mutation with a 100%-covered schema and no output schema, the description supplies the response body, the two 409 causes and their workaround, the endpoint and version header, and the OAuth scope. The only gap is what happens to the task's other list memberships during the move.

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%, including the nested body.listId ('Destination home list ID') and the locationId channel note, so the schema does the heavy lifting. The description adds no parameter-level detail such as whether listId must belong to the same space/folder, so baseline 3 is right.

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 tool-specific section states a specific verb and resource: "Moves the task's home list to another list." The surrounding text explains the difference between a home list and additional list membership, which implicitly separates this from add_list_task/remove_list_task, though those siblings are never named explicitly.

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?

The 409 section gives concrete operational guidance: if the task is already an additional member of the destination, call DELETE /projects/lists/{listId}/tasks/{taskId} first and then retry. That is real when/when-not guidance. It stops short of explicitly contrasting with ghl_project_add_list_task for the 'add a second list' case.

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