GOOGLESUPER_CREATE_LABEL
Creates a new label with a unique name in the specified user's Gmail account.
This record as markdown: /tools/googlesuper/googlesuper-create-label.md
What GOOGLESUPER_CREATE_LABEL does on Google Super
AI agents use GOOGLESUPER_CREATE_LABEL to create or update resources in Google Super, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Google Super environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
user_id | string | — | The email address of the user in whose account the label will be created. |
label_name | string | — | The name for the new label. Must be unique within the account, non-blank, maximum length 225 characters, cannot contain ',', '/', or '.' (period), not only whit |
text_color | string | — | Text color for the label. Must be selected from Gmail's predefined color palette of over 100 colors (not arbitrary hex values). If setting a color, both text_co |
background_color | string | — | Background color for the label. Must be selected from Gmail's predefined color palette of over 100 colors (not arbitrary hex values). If setting a color, both b |
label_list_visibility | string | — | Controls how the label is displayed in the label list in the Gmail sidebar. |
message_list_visibility | string | — | Controls how messages with this label are displayed in the message list. |
Parameters from the server's own tool schema.
Why GOOGLESUPER_CREATE_LABEL is rated Medium
This tool creates a new label in a Gmail account, which is a reversible write operation that modifies user data structure. While labels can be deleted later, the tool itself performs data creation. The severity is medium because label creation has limited blast radius (affects only Gmail organization, not data deletion or financial impact), but it could clutter a user's Gmail if abused at scale.
From the tool's definition Creates a new label with a unique name in the specified user's Gmail account — this is a create operation that modifies Gmail configuration.
Attacks that exploit this kind of access
The rule that runs GOOGLESUPER_CREATE_LABEL safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Google Super, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For GOOGLESUPER_CREATE_LABEL, this is the rule to start with:
GOOGLESUPER_CREATE_LABEL stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Google Super, apply this rule, and every GOOGLESUPER_CREATE_LABEL call is checked against it from then on.
Questions about GOOGLESUPER_CREATE_LABEL
Creates a new label with a unique name in the specified user's Gmail account. It is categorised as a Write tool in the Google Super MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
GOOGLESUPER_CREATE_LABEL accepts 6 parameters: user_id, label_name, text_color, background_color, label_list_visibility, message_list_visibility. The full parameter table on this page comes from the server's own tool schema.
Register the Google Super MCP server in PolicyLayer and add a rule for GOOGLESUPER_CREATE_LABEL: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Google Super. Nothing to install.
GOOGLESUPER_CREATE_LABEL is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the GOOGLESUPER_CREATE_LABEL rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for GOOGLESUPER_CREATE_LABEL. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
GOOGLESUPER_CREATE_LABEL is provided by the Google Super MCP server (googlesuper). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Google Super, and thousands of servers like it.
This server
Across the catalogue