Skip to main content
Glama

Manage Gmail Label

manage_gmail_label
Destructive

Create, update, or delete Gmail labels with control over label and message list visibility.

Instructions

Manages Gmail labels: create, update, or delete labels.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_google_emailYesThe user's Google email address. Required.
actionYesAction to perform on the label.
nameNoLabel name. Required for create, optional for update.
label_idNoLabel ID. Required for update and delete operations.
label_list_visibilityNoWhether the label is shown in the label list.labelShow
message_list_visibilityNoWhether the label is shown in the message list.show

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false. The description adds no further behavioral context, such as side effects, rate limits, or required permissions. It merely confirms the actions, offering minimal added value beyond annotations.

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?

The description is a single sentence with no wasted words. It is front-loaded with the purpose. However, it could be slightly expanded to include key details like required relations (e.g., label_id for update/delete) without becoming verbose.

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?

Given the tool's complexity (6 parameters, CRUD operations) and the presence of an output schema, the description is adequate but brief. It does not explain return values or link parameters to actions, relying on schema descriptions. Some gaps remain, such as not clarifying that label_id is required for update/delete.

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%, so the input schema already describes each parameter in detail. The description adds no extra meaning beyond listing the actions, which is already clear from the 'action' parameter's enum.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action: 'Manages Gmail labels: create, update, or delete labels.' It uses specific verbs and identifies the resource (Gmail labels), distinguishing it from sibling tools like list_gmail_labels and modify_gmail_message_labels.

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 description implies when to use the tool (for CRUD on labels) but does not explicitly state when not to use it or mention alternatives such as list_gmail_labels for reading or modify_gmail_message_labels for labeling messages. No usage heuristics are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/theolefort-cyber/mcpworkspace'

If you have feedback or need assistance with the MCP directory API, please join our Discord server