Skip to main content
Glama

List labels

list_labels
Read-onlyIdempotent

The labels of the space, with their ids, names and colors.

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": "list_labels"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoItems per page, 1 to 100 (25 when omitted)
cursorNonextCursor of the previous page, to read the next one

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed world, so the safety profile is fully covered elsewhere. The description adds only the shape of the returned data (ids, names, colors), which is useful given there is no output schema, but it says nothing about pagination behavior or whether the list is space-scoped versus user-scoped beyond the phrase 'of the space'.

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?

A single short clause with zero filler, front-loading the resource and the returned fields. It is a sentence fragment rather than a complete statement, but nothing in it is wasted.

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 simple read-only list tool with fully documented parameters and complete annotations, the definition covers the essentials, and the mention of returned fields compensates for the missing output schema. The only real gap is the absence of any usage context, which is scored separately.

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%, with limit (1-100, default 25) and cursor (nextCursor for the next page) both documented in the schema. The description adds no parameter meaning of its own, 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 description names the specific resource ('labels of the space') and the fields returned (ids, names, colors), which is enough to distinguish it from mutation siblings such as set_file_label. It stops short of an explicit verb and never differentiates itself from other list_* tools, so it is clear but not maximally sharp.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: no mention of when an agent should fetch labels (e.g., before calling set_file_label to resolve a label id) and no named alternative. The reader must infer the tool's role entirely from the name and the sibling list.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources