Skip to main content
Glama
zackscriven

ghl-mcp-server-v2

by zackscriven

ghl_project_get_spaces

Read-onlyIdempotent

Retrieve all project spaces accessible to the token, including workspace ID and name, to bootstrap project-management UIs or select a space for folders and lists.

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. Get All Spaces Returns the location workspace (id, name) and every space the token can access. Marketplace example: bootstrap a Projects UI by listing spaces, then create a folder/list under one space. Endpoint: GET /projects/spaces (Version header: v3; source: v3/projects-v3.json) OAuth scopes: projects/workspace.readonly

Input Schema

NameRequiredDescriptionDefault
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

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint/idempotentHint, so the burden is low. The description adds that results are token-scoped ('every space the token can access') and gives the endpoint and OAuth scope, which is useful. The long preamble about RBAC-filtered task batches, lexorank positions and delete cascades describes other endpoints, not this read-only list call, so it contributes no real transparency here.

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?

The actual purpose sentence is buried after a multi-sentence preamble about task hierarchy, recurring tasks, search sorting and delete cascades that has no bearing on a read-only spaces list. This violates front-loading and wastes the reader's attention on irrelevant content.

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 one-parameter read tool with readOnly annotations and no output schema, the description supplies the return shape (workspace id/name plus accessible spaces), endpoint, version and scope — enough to call it correctly. The extraneous preamble is noise rather than a missing piece.

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% and the single locationId parameter is fully documented in the schema (APP channel required, ignored for OAuth/PIT). The description adds nothing about parameters, so the baseline of 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 'Returns the location workspace (id, name) and every space the token can access' states a specific verb and resource, and 'Get All Spaces' distinguishes it from the singular ghl_project_get_space. The preceding paragraph is unrelated boilerplate that does not help identify the tool.

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?

The marketplace example ('bootstrap a Projects UI by listing spaces, then create a folder/list under one space') implies a usage context and sequencing with sibling create tools, but there is no explicit when-to-use/when-not or comparison to ghl_project_get_space.

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