Skip to main content
Glama

List the organization's labels

list_labels
Read-onlyIdempotent

The organization's label catalogue: every label a shipment can carry, each with an id such as "lbl_12", its name and color. Use it for "which labels do we have"; the labels a given shipment carries are in get_shipment. q finds labels by how a person would say them ("urgent" finds "🔥 Urgent"). Newest first and limited to limit entries.

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
qNoWords of a label's name, in any case, without emoji or punctuation.
limitNoHow many results to return, 1 to 100.
starting_afterNoPaging cursor: the id of the last result of the previous page. Only when has_more was true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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, destructiveHint=false and closed-world scope, so safety is covered. The description adds genuinely new behavior: results come 'newest first' and are capped at `limit`. It stops short of describing the paging response (has_more/next cursor) beyond what the schema's starting_after field implies.

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?

Three tight sentences: what the resource is and its fields, when to use it versus the sibling, then matching and ordering behavior. Front-loaded with the purpose and zero filler.

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 3-param, no-output-schema list tool this covers purpose, alternative, matching semantics, ordering and page size. The only gap is that the response envelope (has_more, cursor) is only implied via the schema's starting_after description rather than stated in the description.

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?

With 100% schema coverage the baseline is 3, but the description earns more by explaining how `q` actually matches: emoji- and punctuation-insensitive matching on 'how a person would say them', illustrated with '"urgent" finds "🔥 Urgent"'. That clarifies the semantics beyond the schema's terse 'words of a label's name' wording.

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 concrete resource and scope — 'the organization's label catalogue: every label a shipment can carry' — and enumerates what each entry contains (id such as "lbl_12", name, color). It also explicitly separates itself from get_shipment, which returns the labels a specific shipment carries.

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 an explicit selection rule in the user's own words — 'Use it for "which labels do we have"' — and names the alternative (get_shipment) for the other case. Nothing about when to pick this tool is left to inference.

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