Skip to main content
Glama
SantosRojas

Gmail Secure MCP

by SantosRojas

gmail_list_labels

Read-onlyIdempotent

List Gmail label metadata to identify labels before applying them. Optionally include per-label total and unread counts via extra API calls; read-only.

Instructions

Lists Gmail label metadata. Add include_counts for per-label totals (extra API calls). Read-only. Use before gmail_apply_labels.

Input Schema

NameRequiredDescriptionDefault
include_countsNoEstimate total/unread per label via filtered searches (extra API calls)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint, so the 'Read-only' sentence is redundant, but the description adds real cost information: include_counts triggers extra API calls. That is a behavioral trait not present in annotations.

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?

Four short clauses, each front-loaded with the essential fact: purpose, optional enrichment with cost, safety, and sequencing. 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?

A single optional boolean plus rich annotations and no output schema means little else is needed. Only the shape of returned label metadata is left implicit, which is a minor gap.

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 schema's own description of include_counts ('Estimate total/unread per label via filtered searches (extra API calls)') already covers both the meaning and the cost. The description largely restates it, so 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?

States a specific verb and resource ('Lists Gmail label metadata'), clearly distinct from the many message/thread/draft siblings and from gmail_apply_labels. It stops short of describing output shape, but the operation is unambiguous.

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?

Gives an explicit sequencing rule ('Use before gmail_apply_labels') and a conditional enrichment path via include_counts. No when-not guidance is given, but the primary use context is clear.

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