Skip to main content
Glama

manageLabel

Create, update, delete, retrieve, or list Gmail labels with optional colors and visibility settings to organize messages and control how labels appear.

Instructions

Manage Gmail labels. action: create | patch | delete | get | list. create requires name. patch/delete/get require id.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "manageLabel"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe label ID (required for patch, delete, get)
nameNoThe display name of the label (required for create)
colorNoThe color settings for the label
actionYesThe label operation to perform
labelListVisibilityNoVisibility of the label in the label list
messageListVisibilityNoVisibility of messages with this label in the message list

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0-rc.1

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It never says that 'delete' is irreversible, what permissions/scopes are required, how patch handles omitted fields, or whether 'list' returns all labels or is paginated — all critical for a tool that includes a destructive operation.

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?

Three short, front-loaded fragments with no filler; the operation list is immediately visible. It is terse to the point of omitting behavior, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter multi-action tool with a nested color object, three enums, no annotations and no output schema, the description is thin: it covers only the minimum required-id/name mapping and says nothing about side effects, return shape, or the visibility/color options.

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 description coverage is 100%, so the schema already documents every parameter including the per-action id/name requirements, making the description's 'create requires name, patch/delete/get require id' largely redundant. It adds no meaning about the color object, labelListVisibility, or messageListVisibility enums.

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 ('Manage Gmail labels') and enumerates the five supported operations, which is more than most sibling definitions offer. It does not distinguish itself from other Gmail-management siblings such as manageGmailSettings or manageFilter, so a 4 rather than a 5.

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 action enum plus the per-action requirement notes let an agent infer which action to pick, but there is no explicit when-to-use guidance, no statement of when this tool is not appropriate, and no routing to alternatives. Usage is implied rather than explained.

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

Deploy Server

Other Tools