Skip to main content
Glama

list_teams

Read-only

List child teams under a specified team, or set teamId to 0 to retrieve top-level teams.

Instructions

List child teams under a team. Use teamId=0 for top-level teams.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "spaceId": "<spaceId>"
    },
    "name": "list_teams"
  }
}

Input Schema

NameRequiredDescriptionDefault
teamIdNo0
pageNumNo
spaceIdYesSpace ID, usually starts with spc.
pageSizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds that results are hierarchical children, but says nothing about pagination defaults, result ordering, or what an empty team looks like.

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

Conciseness5/5

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

Two short sentences, no redundant restatement of the name, and the most decision-relevant fact (top-level via teamId=0) is placed immediately after the purpose statement.

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

Completeness3/5

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

For a simple read-only list tool with no output schema this is close to sufficient, but the lack of any pagination guidance and the undocumented pageNum/pageSize parameters leave a real gap for an agent constructing calls.

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 only 25%, with only spaceId documented in the schema, so the sentence does real work by explaining that teamId=0 means top-level. However, pageNum and pageSize remain unexplained in both schema and description, leaving half the surface undocumented.

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 description states a specific verb and resource: 'List child teams under a team.' An agent can distinguish this from sibling team tools such as create_a_team or delete_a_team by the read/list framing, though it does not explicitly name a sibling to contrast with.

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 one conditional usage rule — use teamId=0 for top-level teams — which is genuinely helpful for selecting the right call. It does not say when to prefer this over other team-enumeration approaches or what happens when spaceId is provided without teamId.

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