Skip to main content
Glama

list_labels

Read-only

The tenant's labels (free tags for people and organisations, several per record) with how often each is used. Optional: entity (contacts|accounts) to count only there.

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
entityNocontacts | accounts

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description adds genuine domain semantics beyond that – labels are free-form tags, several can apply per record (i.e. not exclusive), and usage frequency is returned. It stays silent on ordering and whether zero-use labels are included, which is the remaining behavioral gap.

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 tight sentences: the return shape is front-loaded and the parameter is handled second. The "(contacts|accounts)" restates schema content verbatim, a small redundancy.

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 one-optional-parameter read tool with no output schema, the description carries the essential burden by explaining what a label is and that usage counts come back. Minor omissions (sorting, inclusion of unused labels) keep it short of complete.

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 the single enum value set is already documented, so the baseline applies. The phrase "to count only there" does add one useful nuance – that the filter scopes the counting, not necessarily the label list – but it is terse enough to leave that still somewhat ambiguous.

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 tenant's labels ... with how often each is used" names the resource and the exact payload (labels plus usage counts) in one clause, so an agent knows this is a read-listing tool for tenant label definitions. It does not explicitly rule out the similarly named label sibling, so differentiation is by implication only.

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?

Usage is implied rather than stated: an agent can infer this is the discovery step before applying labels, and the second sentence explains what the optional filter does to the result. There is no explicit when-to-use/when-not guidance and no named alternative for the case of per-lead labels.

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.