TRELLO_ADD_CARDS_LABELS_BY_ID_CARD
Adds a label to an existing Trello card (specified by idCard), defining the label by name and either color or the overriding value (which specifies color by name); a new label is created on the board if a matching one (by name/color combination) doesn't already exist.
This record as markdown: /tools/trello/trello-add-cards-labels-by-id-card.md
What TRELLO_ADD_CARDS_LABELS_BY_ID_CARD does on Trello
AI agents use TRELLO_ADD_CARDS_LABELS_BY_ID_CARD to create or update resources in Trello, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Trello environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | — | Name for the label (0-16384 chars). If omitted, color name may be used. If a label with this name exists on the board, it's used; otherwise, a new label with th |
color | string | — | Label color name (e.g., 'green', 'yellow', 'null'). Used if 'value' is not provided. If 'name' matches an existing label, its color can be updated by this field |
value | string | — | Alternative way to specify the label's color by name (e.g., 'yellow', 'green,purple', 'all'); consult Trello for interpretation of lists or 'all'. Overrides 'co |
idCard | string | — | ID or shortlink of the card. |
Parameters from the server's own tool schema.
Why TRELLO_ADD_CARDS_LABELS_BY_ID_CARD is rated Medium
This tool modifies existing Trello cards by adding labels, and can create new labels as a side effect. These are reversible operations (labels can be removed), so it falls under Write rather than Destructive or Execute. Severity is medium because unauthorized label manipulation could clutter boards or misrepresent card metadata, but the impact is limited in scope and easily reversible.
From the tool's definition Tool description explicitly states it 'Adds a label' to a card, which is a create/modify operation. The description confirms it creates new labels on the board if they don't exist ('a new label is created on the board if a matching one doesn't already exist').
Attacks that exploit this kind of access
The rule that runs TRELLO_ADD_CARDS_LABELS_BY_ID_CARD safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Trello, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For TRELLO_ADD_CARDS_LABELS_BY_ID_CARD, this is the rule to start with:
TRELLO_ADD_CARDS_LABELS_BY_ID_CARD 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 Trello, apply this rule, and every TRELLO_ADD_CARDS_LABELS_BY_ID_CARD call is checked against it from then on.
Questions about TRELLO_ADD_CARDS_LABELS_BY_ID_CARD
Adds a label to an existing Trello card (specified by idCard), defining the label by name and either color or the overriding value (which specifies color by name); a new label is created on the board if a matching one (by name/color combination) doesn't already exist. It is categorised as a Write tool in the Trello MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
TRELLO_ADD_CARDS_LABELS_BY_ID_CARD accepts 4 parameters: name, color, value, idCard. The full parameter table on this page comes from the server's own tool schema.
Register the Trello MCP server in PolicyLayer and add a rule for TRELLO_ADD_CARDS_LABELS_BY_ID_CARD: 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 Trello. Nothing to install.
TRELLO_ADD_CARDS_LABELS_BY_ID_CARD 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 TRELLO_ADD_CARDS_LABELS_BY_ID_CARD 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 TRELLO_ADD_CARDS_LABELS_BY_ID_CARD. 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.
TRELLO_ADD_CARDS_LABELS_BY_ID_CARD is provided by the Trello MCP server (mcp-server-trello). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Trello, and thousands of servers like it.
This server
Across the catalogue