Skip to main content
Glama

List workspace labels

list_workspace_labels
Read-only

List labels applied to workspaces the current user can access, sorted alphabetically. Set include_contact_details to use unredacted names for workspace label filtering.

Instructions

Labels applied to the workspaces the current user can access, sorted alphabetically (as documented). A label containing an email, phone number, postcode or NI number is redacted unless include_contact_details is set; use the unredacted name for list_workspaces' label filter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
include_contact_detailsNoInclude email addresses, event locations and the links into a client's view of a request, and stop redacting emails, phone numbers, postcodes and NI numbers from names, labels and other free text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, openWorld), yet the description adds meaningful behavior: the fields subject to masking (email, phone, postcode, NI number) and the toggle that disables it. Sorting is a minor addition. Pagination/return format is not addressed.

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?

Two sentences, front-loaded with what is listed and the redaction caveat. The parenthetical '(as documented)' is slightly redundant filler, but overall the text is tight and well-ordered.

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

Completeness5/5

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

For a simple read-only, single-optional-parameter list tool with full annotation coverage and no output schema, the description supplies everything needed: scope, ordering, redaction behavior and the param's downstream use. Nothing material is missing.

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?

Schema coverage is 100%, so the schema already documents include_contact_details, making 3 the baseline. The description goes further by tying the parameter's effect to downstream use (the unredacted name for list_workspaces' label filter), adding meaning beyond the schema text.

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 a specific resource (labels) and scopes it precisely to workspaces the current user can access, plus states ordering. It is clear what the tool returns, though it does not explicitly contrast its purpose against sibling list tools like list_workspaces.

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?

It gives clear operational context: redaction applies unless include_contact_details is set, and the result's unredacted name should feed list_workspaces' label filter. It lacks an explicit 'use this instead of X when Y' framing, but the workflow guidance is concrete.

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