Skip to main content
Glama

gmail_create_label

Idempotent

Create a Gmail label to organize messages. Use Parent/Child naming to nest labels under a parent, enabling a hierarchical folder structure.

Instructions

Create a label. Use Parent/Child to nest it.

Args: name: Label name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already convey that this is non-read-only, non-destructive, and idempotent. The description adds the nesting behavior for label names, but does not mention what happens if the label already exists or whether the parent label must exist. With annotations covering the safety profile, the description provides acceptable but minimal additional behavioral context.

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 short, front-loaded with the core action, and contains no filler. The 'Args:' section is slightly redundant with the schema but adds the important nesting note. It earns its place with minimal waste.

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 single-required-parameter tool with annotations and an output schema, the description covers the essential information: creating a label and how to nest it via the name. It does not explain duplicate-label behavior, but the idempotentHint mitigates that. Overall, it is complete enough for an agent to invoke correctly.

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?

The schema only provides the parameter name and type, so the description carries the burden of explaining the parameter. It adds the useful detail that names can use 'Parent/Child' for nesting and calls the parameter a 'Label name.' However, it does not specify constraints like character limits or allowed characters, and the explanation remains somewhat redundant with the schema's title.

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 with a specific verb and resource: 'Create a label.' The additional nesting hint clarifies that labels support hierarchical names. However, it does not explicitly distinguish this from related tools like gmail_modify_labels or gmail_delete_label, so it falls short of full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided about when to use this tool versus gmail_modify_labels or gmail_delete_label. The only operational hint is the Parent/Child nesting syntax, which is about formatting the label name rather than choosing between alternatives.

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/rollecode/gmail-second-account-mcp'

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