Skip to main content
Glama

Labels

list_labels
Read-onlyIdempotent

List the organization's labels (gig types, task tags, contact tags and the like) with their groups, colors and the kinds of item each can go on. Pass entity_type to see only the labels that apply to that kind of item. Archived labels are left out unless include_archived is true. Any organization member can read them.

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
entity_typeNofilter to labels that apply to this kind of item; omit to list labels for every kind
organization_idNoorganization to act in, an id from get_me; omit to use your active organization
include_archivedNotrue also lists archived labels

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNothe API response { status (HTTP status), data: { groups [{ id, name, description, selection_mode, applies_to, system_key, sort_order, archived, and 1 more field }], labels [{ id, group_id, name, description, color, applies_to, sort_order, archived, and 2 more fields }] } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety bar is met. The description adds what annotations cannot: archived labels are excluded by default, and any organization member can read them, which resolves access-scope questions before the call.

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 with the resource and its payload, then the filtering rule, then the default behavior, then permissions. Every sentence carries information; only slight redundancy between 'the kinds of item each can go on' and the later entity_type sentence.

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?

With an output schema present, return values need not be explained, and the description covers the default-exclusion rule and read permissions. A three-parameter read tool with full schema coverage is essentially complete; only pagination or volume expectations are unaddressed, and those may not apply.

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 all three parameters are already documented, so the schema carries the load. The description reinforces entity_type's filtering behavior and the archived default but adds no format or enumeration detail beyond the schema, making baseline 3 correct.

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 ('List the organization's labels') and immediately qualifies the resource with parenthetical examples (gig types, task tags, contact tags) plus the fields returned (groups, colors, applicable item kinds). An agent knows exactly what this returns without opening the schema.

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?

Gives concrete filtering guidance: 'Pass entity_type to see only the labels that apply to that kind of item' and clarifies the archived default. No alternatives are named, but no plausible sibling competes for this resource, so the absence of routing guidance is minor.

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.