Skip to main content
Glama

List labels

list_labels
Read-onlyDestructive

On one site of the account, named in site. Every label with how many members wear it, by name. A label lives until delete_label, also while nobody wears it.

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": {
      "site": "<site>"
    },
    "name": "list_labels"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesThe site to work on, as list_sites names it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true alongside destructiveHint=true and openWorldHint=true, which is confusing on its face; the description clarifies the actual behavior as a pure read returning name and count, and adds the lifecycle rule that a label persists after nobody wears it, which an agent would likely get wrong. It adds real value beyond annotations, although it never reconciles why destructiveHint is true.

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?

Three short fragments, front-loaded with site scoping and return content, with no wasted words. However, the telegraphic style ('Every label with how many members wear it, by name') costs clarity compared with a plain sentence, and the lifecycle sentence is somewhat tangential.

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 one-parameter read-only list tool it covers scope and return content, which is nearly sufficient. It omits pagination or result limits, ordering, and zero-result behavior, and with no output schema it never states explicitly that the response is a collection of name/count pairs.

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% and the single parameter is documented as 'The site to work on, as list_sites names it'. The description only reinforces that results are scoped to one site and adds nothing about identifier format beyond the schema. Baseline 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?

Names a specific verb and resource (list labels) plus the scope, which is a single site given in the site parameter, and states the returned content: each label's name and member count. It is distinguishable from delete_label, which it references, but not from add_member_label or other label-related siblings, and the clipped phrasing ('On one site of the account, named in site') needs a re-read.

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?

The mention of delete_label gives implicit contrast, since deletion lives elsewhere, but there is no explicit when-to-use or when-not-to-use guidance, no prerequisites such as permissions, and no note on filtering or pagination.

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