TRELLO_ADD_CARDS_ATTACHMENTS_BY_ID_CARD
Adds an attachment to a Trello card by idCard; specify either a file to upload or a url to link, but not both.
This record as markdown: /tools/trello/trello-add-cards-attachments-by-id-card.md
What TRELLO_ADD_CARDS_ATTACHMENTS_BY_ID_CARD does on Trello
AI agents use TRELLO_ADD_CARDS_ATTACHMENTS_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 |
|---|---|---|---|
url | string | — | URL of an external resource to attach if not uploading a `file`. Must start with 'http://' or 'https://'. |
file | string | — | Path to the local file to attach if not linking a `url`. |
name | string | — | Desired name for the attachment. If omitted, Trello uses the original filename or a URL-derived default. Max length 256. |
idCard | string | — | ID or shortLink of the Trello card. |
mimeType | string | — | MIME type of the attachment, aiding Trello in file handling. Max length 256. |
Parameters from the server's own tool schema.
Why TRELLO_ADD_CARDS_ATTACHMENTS_BY_ID_CARD is rated Medium
This tool creates new attachment data on a Trello card. While reversible (attachments can be removed), it modifies the state of a Trello card and could clutter or deface boards if misused by an agent. It is Write-category because it adds data without permanent destruction.
From the tool's definition Tool description states it 'Adds an attachment to a Trello card', which creates and modifies card data. The TRELLO_ADD prefix and 'Adds' verb confirm this is a creation/modification action, not retrieval or deletion.
Risk signalsAccepts URL/endpoint input (url) · Accepts file system path (file)
Attacks that exploit this kind of access
The rule that runs TRELLO_ADD_CARDS_ATTACHMENTS_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_ATTACHMENTS_BY_ID_CARD, this is the rule to start with:
TRELLO_ADD_CARDS_ATTACHMENTS_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_ATTACHMENTS_BY_ID_CARD call is checked against it from then on.
Questions about TRELLO_ADD_CARDS_ATTACHMENTS_BY_ID_CARD
Adds an attachment to a Trello card by idCard; specify either a file to upload or a url to link, but not both. 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_ATTACHMENTS_BY_ID_CARD accepts 5 parameters: url, file, name, idCard, mimeType. 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_ATTACHMENTS_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_ATTACHMENTS_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_ATTACHMENTS_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_ATTACHMENTS_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_ATTACHMENTS_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