Skip to main content
Glama

Get ClickUp Teams

clickup_get_teams
Read-onlyIdempotent

Retrieves all ClickUp teams or workspaces the authenticated user can access, returning IDs, names, colors, and avatars for top-level organization lookup.

Instructions

Get all teams/workspaces accessible to the authenticated user.

This tool retrieves the list of teams (also called workspaces) that the user has access to in ClickUp. Each team represents a top-level organizational unit.

Args:

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

Returns: For JSON format: { "teams": [ { "id": "string", // Team ID "name": "string", // Team name "color": "string", // Team color (optional) "avatar": "string" // Team avatar URL (optional) } ] }

Examples:

  • Use when: "What teams do I have access to?"

  • Use when: "List all my workspaces"

  • Don't use when: You need to list spaces or folders (use clickup_get_spaces instead)

Error Handling:

  • Returns "Error: Invalid or missing API token" if authentication fails (401)

  • Returns "Error: Rate limit exceeded" if too many requests (429)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "clickup_get_teams"
  }
}

Input Schema

NameRequiredDescriptionDefault
response_formatNoOutput format: 'markdown' for human-readable or 'json' for machine-readablemarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.6

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description adds genuinely new behavior: authentication failure manifests as a 401 error string and rate limiting as a 429 error string, plus the shape of returned team objects. It stops short of stating pagination or whether the list is ever truncated, which keeps it below a 5.

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

Conciseness4/5

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

Front-loaded summary sentence, then structured Args/Returns/Examples/Error Handling sections, so it scans well. The second sentence partially restates the first, and the inline JSON pseudo-schema is somewhat bulky, but no section is gratuitous given there is no output schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries return-value documentation and does so explicitly per field, including optionality of color and avatar. Combined with error cases and sibling routing, an agent has everything needed to call and interpret this tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the single response_format enum, so the baseline would be 3. The description goes further by tying the format choice to an actual JSON payload layout (teams array with id/name/color/avatar), giving meaning the schema alone does not.

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 and resource ("Get all teams/workspaces accessible to the authenticated user") and clarifies the domain concept by defining a team as a top-level organizational unit. It also distinguishes itself from clickup_get_spaces, so an agent can pick it without inspecting siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives both positive triggers ("What teams do I have access to?", "List all my workspaces") and an explicit exclusion with a named alternative ("Don't use when: You need to list spaces or folders (use clickup_get_spaces instead)"). This is the full when/when-not/alternative pattern.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.