Skip to main content
Glama
c0webster

Hardened Google Workspace MCP

by c0webster

manage_gmail_label

Create, update, or delete Gmail labels to organize email messages. Control label visibility in both label and message lists for efficient email management.

Instructions

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

Args: user_google_email (str): The user's Google email address. Required. action (Literal["create", "update", "delete"]): Action to perform on the label. name (Optional[str]): Label name. Required for create, optional for update. label_id (Optional[str]): Label ID. Required for update and delete operations. label_list_visibility (Literal["labelShow", "labelHide"]): Whether the label is shown in the label list. message_list_visibility (Literal["show", "hide"]): Whether the label is shown in the message list.

Returns: str: Confirmation message of the label operation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_google_emailYes
actionYes
nameNo
label_idNo
label_list_visibilityNolabelShow
message_list_visibilityNoshow

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. While it mentions the three actions and some parameter requirements, it doesn't disclose important behavioral traits like authentication requirements, permission levels needed, whether operations are reversible, rate limits, or error conditions. The return value description is minimal ('Confirmation message'), lacking detail about success/failure formats.

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 well-structured with clear sections (purpose, args, returns) and uses bullet-like formatting. It's appropriately sized for a 6-parameter tool with multiple actions. Minor improvement could be made by front-loading more critical information about parameter dependencies, but overall it's efficient and organized.

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?

For a mutation tool with 6 parameters, no annotations, and 0% schema description coverage, the description provides good parameter documentation but lacks important context. While it has an output schema (returns str), it doesn't fully address behavioral aspects like authentication, permissions, or error handling. The description does a decent job given the complexity but has clear gaps in completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description provides excellent parameter semantics beyond the schema. With 0% schema description coverage, the description fully compensates by explaining each parameter's purpose, requirements, and constraints. It clarifies which parameters are required for which actions, provides enum meanings, and adds contextual information not present in the bare schema.

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 clearly states the tool's purpose as managing Gmail labels through create, update, or delete operations. It specifies the resource (Gmail labels) and the three possible actions. However, it doesn't explicitly distinguish this tool from sibling tools like 'list_gmail_labels' or 'modify_gmail_message_labels', which would be needed for a perfect score.

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 usage through the parameter documentation (e.g., 'Required for create, optional for update'), but doesn't provide explicit guidance on when to use this tool versus alternatives. There's no mention of when to choose create vs. update vs. delete, or how this differs from sibling tools like 'list_gmail_labels' or 'batch_modify_gmail_message_labels'.

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/c0webster/hardened-google-workspace-mcp'

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