Skip to main content
Glama
triliumnext-mcp

triliumnext-mcp

by perfectra1n

Delete attribute

delete_attribute
DestructiveIdempotent

Removes a specific attribute from a TriliumNext note using its attribute ID, helping clean up or correct note metadata.

Instructions

Remove an attribute from a note by its attribute ID.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "attributeId": "<attributeId>"
    },
    "name": "delete_attribute"
  }
}

Input Schema

NameRequiredDescriptionDefault
attributeIdYesID of the attribute to delete (from get_attributes).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.4.0
    • changedInput schema / properties / attributeId / description
      Previous value: -"ID of the attribute to delete"New value: +"ID of the attribute to delete (from get_attributes)."
    • addedInput schema / properties / attributeId / maxLength
      Added value: +128
    • addedInput schema / properties / attributeId / pattern
      Added value: +"^[A-Za-z0-9_]+$"
  2. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare destructive=true, idempotent=true, readOnly=false, so the safety profile is carried by structured data. The description adds no behavior beyond that: it does not say what happens when the attributeId does not exist, whether deletion is permanent or reversible, or whether the change is applied immediately versus on note save.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence with the action front-loaded and zero filler. Nothing in it is redundant or padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter destructive mutation, the critical facts are largely covered by the annotations (destructive, idempotent) and the fully documented schema. However, the description leaves open error semantics for a non-existent ID and the permanence of the removal, which matter for an agent deciding whether to call it.

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?

Schema coverage is 100% and the single parameter is fully documented in the schema, including that the ID comes from get_attributes. The description's "by its attribute ID" merely restates the schema at the baseline level.

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?

States a specific verb and resource ("Remove an attribute from a note") plus the identifier used to select it. It is clear what the tool does and against which entity, though it does not contrast itself with the counterpart mutator (set_attribute) or the read tool (get_attributes).

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 when-to-use or when-not-to-use guidance, and no mention of prerequisites such as needing the attribute to exist. The agent must infer that this is the inverse of set_attribute and that get_attributes is the way to discover IDs.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.