AI agents use addTagToNote to create or update resources in Memnote — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Memnote environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Note ID |
tagId | string | Yes | Tag ID |
Parameters from the server's own tool schema.
This tool creates a relationship between a tag and a note, modifying the note's metadata. It is reversible (tags can be removed via complementary operations like deleteTag or by updating the note), making it a Write rather than Destructive action.
From the tool's definition Tool name 'addTagToNote' and description 'Add tag to note' indicate a modification operation that associates a tag with an existing note, which is a reversible write operation.
Attacks that exploit this kind of access
Add tag to note. It is categorised as a Write tool in the Memnote MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
addTagToNote accepts 2 parameters: id, tagId. Required: id, tagId. The full parameter table on this page comes from the server's own tool schema.
Register the Memnote MCP server in PolicyLayer and add a rule for addTagToNote: 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 Memnote. Nothing to install.
addTagToNote 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 addTagToNote 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 addTagToNote. 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.
addTagToNote is provided by the Memnote MCP server (@randomfact/memnote-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →