Skip to main content
Glama
Inkdrop MCP Server

Inkdrop MCP Server

Official
by inkdropapp

update-note

Updates existing Inkdrop notes by modifying only the fields you specify; omitted fields remain unchanged, and each note's result is reported independently.

Instructions

Update one or more existing notes in the database. Only the fields you provide will be updated; omitted fields remain unchanged. Each note is saved independently, so a failed update does not roll back the others; the result reports the outcome of every note.

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": {
      "notes": "<notes>"
    },
    "name": "update-note"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesYesThe notes to update.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv1.8.0
    • removedInput schema / properties / _id
      Removed value: -{
      -  "description": "The unique document ID which should start with `note:` and the remains are randomly generated string",
      -  "maxLength": 128,
      -  "minLength": 6,
      -  "pattern": "^note:",
      -  "type": "string"
      -}
    • removedInput schema / properties / _rev
      Removed value: -{
      -  "description": "This is a CouchDB specific field. The current MVCC-token/revision of this document (mandatory and immutable).",
      -  "type": "string"
      -}
    • removedInput schema / properties / body
      Removed value: -{
      -  "description": "The content of the note in Markdown. NOTE: Do not escape special characters like `\\n`.",
      -  "maxLength": 1048576,
      -  "type": "string"
      -}
    • removedInput schema / properties / bookId
      Removed value: -{
      -  "description": "The notebook ID. Specify `template` to turn the note into a custom note template",
      -  "maxLength": 128,
      -  "minLength": 5,
      -  "pattern": "^(book:|trash$|template$)",
      -  "type": "string"
      -}
    • addedInput schema / properties / notes
      Added value: +{
      +  "description": "The notes to update.",
      +  "items": {
      +    "properties": {
      +      "_id": {
      +        "description": "The unique document ID which should start with `note:` and the remains are randomly generated string",
      +        "maxLength": 128,
      +        "minLength": 6,
      +        "pattern": "^note:",
      +        "type": "string"
      +      },
      +      "_rev": {
      +        "description": "This is a CouchDB specific field. The current MVCC-token/revision of this document (mandatory and immutable).",
      +        "type": "string"
      +      },
      +      "body": {
      +        "description": "The content of the note in Markdown. NOTE: Do not escape special characters like `\\n`.",
      +        "maxLength": 1048576,
      +        "type": "string"
      +      },
      +      "bookId": {
      +        "description": "The notebook ID. Specify `template` to turn the note into a custom note template",
      +        "maxLength": 128,
      +        "minLength": 5,
      +        "pattern": "^(book:|trash$|template$)",
      +        "type": "string"
      +      },
      +      "createdAt": {
      +        "description": "The date time when the note was created, represented with Unix timestamps in milliseconds. Omit it to keep the current value.",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "sourceTemplateId": {
      +        "anyOf": [
      +          {
      +            "maxLength": 128,
      +            "minLength": 6,
      +            "pattern": "^note:",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The ID of the template the note was created from, as returned by `list-templates`. It always starts with `note:`. Pass `null` to remove the link to the template. Omit it to keep the current value."
      +      },
      +      "status": {
      +        "description": "The status of the note",
      +        "enum": [
      +          "none",
      +          "active",
      +          "onHold",
      +          "completed",
      +          "dropped"
      +        ],
      +        "type": "string"
      +      },
      +      "tags": {
      +        "description": "An array of tag IDs to assign to the note. Call `list-tags` or `read-tag` to retrieve available tags. You can create a new tag with `create-tag` tool if necessary.",
      +        "items": {
      +          "maxLength": 128,
      +          "minLength": 6,
      +          "pattern": "^tag:",
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "title": {
      +        "description": "The note title",
      +        "maxLength": 256,
      +        "type": "string"
      +      },
      +      "updatedAt": {
      +        "description": "The date time when the note was last updated, represented with Unix timestamps in milliseconds. Defaults to the current time.",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "_id",
      +      "_rev"
      +    ],
      +    "type": "object"
      +  },
      +  "minItems": 1,
      +  "type": "array"
      +}
    • removedInput schema / properties / status
      Removed value: -{
      -  "description": "The status of the note",
      -  "enum": [
      -    "none",
      -    "active",
      -    "onHold",
      -    "completed",
      -    "dropped"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / tags
      Removed value: -{
      -  "description": "An array of tag IDs to assign to the note. Call `list-tags` or `read-tag` to retrieve available tags. You can create a new tag with `create-tag` tool if necessary.",
      -  "items": {
      -    "format": "starts_with",
      -    "pattern": "^tag:.*",
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • removedInput schema / properties / title
      Removed value: -{
      -  "description": "The note title",
      -  "maxLength": 128,
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "_id",
      -  "_rev"
      -]New value: +[
      +  "notes"
      +]
  2. Changed3 schema fields changedv1.6.0
    • changedInput schema / properties / bookId / description
      Previous value: -"The notebook ID"New value: +"The notebook ID. Specify `template` to turn the note into a custom note template"
    • changedInput schema / properties / bookId / pattern
      Previous value: -"^(book:|trash$)"New value: +"^(book:|trash$|template$)"
    • addedInput schema / properties / tags / items / format
      Added value: +"starts_with"
  3. First observedv1.4.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses partial-update semantics (omitted fields unchanged), per-note independence, absence of rollback across notes, and per-note result reporting. It does not cover failure modes such as a missing `_id` or a stale `_rev` conflict, which matters for a mutation tool with no structured safety hints.

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

Conciseness4/5

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

Three short sentences, front-loaded with the action and scope, then the two behavioral caveats an agent most needs. Slightly loose in that the last two sentences both address per-note outcome reporting and could be one, but there is no filler.

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

Completeness4/5

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

For a single-parameter batch mutation with no annotations and no output schema, the description covers the essentials: partial update, non-atomic batch behavior, and result granularity. Missing are permission requirements and conflict/error handling, which are the remaining gaps an agent would want before calling it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds a cross-cutting semantic beyond the per-field schema notes: only supplied fields change and the rest are preserved. It adds nothing about the required `_rev` concurrency token or ordering within the `notes` array, which the schema already handles.

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?

The description names a specific verb and resource ("Update one or more existing notes") and adds batch scope, which is more than a title restatement. It never distinguishes itself from the similar-looking sibling `patch-note`, so an agent cannot tell from the text which of the two mutation paths is intended.

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?

There is no explicit when-to-use guidance, no exclusions, and no mention of the obvious alternative (`patch-note` for partial edits, `create-note` for new notes). The word "existing" implies the note must already exist, but the agent must infer the rest from the sibling list.

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