Skip to main content
Glama

Find duplicate Gmail labels

find_duplicate_gmail_labels
Read-only

Find groups of user labels that share the same name (likely duplicates worth merging), within one mailbox.

Input Schema

NameRequiredDescriptionDefault
mailboxYesEmail address of the connected Gmail/Google Workspace mailbox to act on. Call list_authorized_mailboxes to see available options.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds useful semantics about duplicate criteria and mailbox scoping, but says nothing about how groups are returned or how many, and no output schema exists to fill that gap.

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?

A single tight sentence that leads with the action and resource and immediately pins down the duplicate criterion and scope. No 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 simple read-only finder with one fully-described parameter and clear annotations, the description supplies the essential semantics: what a duplicate is and what boundary (mailbox) applies. The absence of any output shape or result-size hint is a minor remaining gap given there is no output schema.

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?

Only one parameter, fully documented in the schema (100% coverage) including the list_authorized_mailboxes pointer. The description reinforces the 'within one mailbox' scope but adds no format or selection detail 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?

Specific verb ('find') plus resource ('duplicate Gmail labels') with a precise definition of what counts as a duplicate (groups of user labels sharing the same name) and the scope ('within one mailbox'). It does not explicitly name the sibling merge_duplicate_gmail_labels or list_gmail_labels to differentiate itself, but an agent can tell what it produces.

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 parenthetical 'likely duplicates worth merging' implies this is the discovery step preceding merge_duplicate_gmail_labels, but no explicit when-to-use, prerequisites, or named alternatives are given. Usage must be inferred from the name and sibling list.

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