Skip to main content
Glama

Edit a note

edit_note
DestructiveIdempotent

Edits an existing Linko note for the signed-in user by note_id: title, content, visibility, tags and topics, and resource assignment. Existing content and assignments can be replaced. Visibility changes (private) are for when the user asks to change who can see the note; the private parameter describes what each value means.

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": {
      "note_id": "<note_id>"
    },
    "name": "edit_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoNew title, at most 300 characters. Omitted, the title stays as it is.
contentNoNew note text, plain text or Markdown, at most 1,000,000 characters; it replaces the whole body. Omitted, the body stays as it is.
note_idYesExact ID of the note to edit, from search_notes or another note result.
privateNoChanges who can see the note; meant for when the user asks to change its visibility. Omitted, visibility stays as it is. true ("Only me"): only the user can see the note in Linko, and it is stored encrypted. false ("Friends can see"): the user's confirmed Linko friends (approved followers) can also see it in Linko, on the user's profile, in their feed of friends' notes and when they open it, and the note is no longer stored encrypted. Neither value creates or removes a public share link: a note the user already shared to the web stays readable through that link until they turn it off in Linko. An account set to private keeps every note "Only me".
resource_idNoLinks the note to the resource with this exact ID, from search_resources, replacing its current resource.
subject_idsNoReplaces the note's tags and topics with these exact IDs from list_tags_and_topics; not combined with subject_names.
resource_nameNoLinks the note to the resource in the user's library with this exact title, replacing its current resource.
subject_namesNoReplaces the note's tags and topics with these, by name; an empty list removes them all. Each name is an existing tag or topic (list_tags_and_topics lists them); an unknown name is an error that names it, and nothing is saved. A comma-separated string is also accepted. Omitted, they stay as they are; not combined with subject_ids.
clear_resourceNotrue unlinks the note from its resource (default false).
content_blocksNoNew structured body in place of content: a list of blocks such as [{"type": "paragraph", "content": "Text"}], a document object {"type": "doc", "content": [...]}, or either one as a JSON string; it replaces the whole body. Omitted, the body stays as it is.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed20 schema fields changed
    • removedInput schema / properties / clear_resource / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]
    • addedInput schema / properties / clear_resource / description
      Added value: +"true unlinks the note from its resource (default false)."
    • addedInput schema / properties / clear_resource / type
      Added value: +"boolean"
    • changedInput schema / properties / content / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 1000000,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / content / description
      Added value: +"New note text, plain text or Markdown, at most 1,000,000 characters; it replaces the whole body. Omitted, the body stays as it is."
    • addedInput schema / properties / content_blocks / description
      Added value: +"New structured body in place of content: a list of blocks such as [{\"type\": \"paragraph\", \"content\": \"Text\"}], a document object {\"type\": \"doc\", \"content\": [...]}, or either one as a JSON string; it replaces the whole body. Omitted, the body stays as it is."
    • addedInput schema / properties / note_id / description
      Added value: +"Exact ID of the note to edit, from search_notes or another note result."
    • addedInput schema / properties / note_id / maxLength
      Added value: +1024
    • addedInput schema / properties / note_id / minLength
      Added value: +1
    • changedInput schema / properties / private / anyOf
      Previous value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "type": "boolean"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / resource_id / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 1024,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / resource_id / description
      Added value: +"Links the note to the resource with this exact ID, from search_resources, replacing its current resource."
    • changedInput schema / properties / resource_name / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 300,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / resource_name / description
      Added value: +"Links the note to the resource in the user's library with this exact title, replacing its current resource."
    • changedInput schema / properties / subject_ids / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "maxLength": 1024,
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / subject_ids / description
      Added value: +"Replaces the note's tags and topics with these exact IDs from list_tags_and_topics; not combined with subject_names."
    • changedInput schema / properties / subject_names / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "maxLength": 300,
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / subject_names / description
      Added value: +"Replaces the note's tags and topics with these, by name; an empty list removes them all. Each name is an existing tag or topic (list_tags_and_topics lists them); an unknown name is an error that names it, and nothing is saved. A comma-separated string is also accepted. Omitted, they stay as they are; not combined with subject_ids."
    • changedInput schema / properties / title / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 300,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / title / description
      Added value: +"New title, at most 300 characters. Omitted, the title stays as it is."
  2. Changed1 schema field changed
    • addedInput schema / properties / private / description
      Added value: +"Changes who can see the note; meant for when the user asks to change its visibility. Omitted, visibility stays as it is. true (\"Only me\"): only the user can see the note in Linko, and it is stored encrypted. false (\"Friends can see\"): the user's confirmed Linko friends (approved followers) can also see it in Linko, on the user's profile, in their feed of friends' notes and when they open it, and the note is no longer stored encrypted. Neither value creates or removes a public share link: a note the user already shared to the web stays readable through that link until they turn it off in Linko. An account set to private keeps every note \"Only me\"."
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description corroborates the destructive side by saying 'Existing content and assignments can be replaced.' It does not go further: no statement that omitted fields are left untouched (that lives only in the schema), and no warning about irreversibility or that replacing the body discards the prior text. Credit for corroboration, not for depth.

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

Conciseness3/5

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

The first sentence is well front-loaded, but the third sentence is padded: 'the private parameter describes what each value means' merely points the reader at the schema without conveying anything, and 'Visibility changes (private) are for when the user asks...' partly restates what the schema already says at length.

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?

With an output schema present and 100% parameter coverage, the description only needs to carry purpose, routing, and destructive-behavior framing. It covers purpose and destructive replacement adequately but leaves the id/name parameter families and the content vs content_blocks choice unexplained and gives no 'do not use when' framing for a 10-parameter mutation tool.

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 description coverage is 100%, so the baseline is 3; the description adds a small amount by grouping the parameters into meaningful families (content, visibility, tags/topics, resource assignment) and flagging that replacements are whole-value. It adds no detail on the id-vs-name duality (resource_id/resource_name, subject_ids/subject_names) or on content_blocks, all of which remain schema-only.

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?

Names a specific verb and resource ('Edits an existing Linko note ... by note_id') and enumerates the editable facets: title, content, visibility, tags/topics, and resource assignment. That is enough to distinguish it from create_note or draft_note by implication, but it never names a sibling, so differentiation still requires inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is one genuine when-to-use instruction: 'Visibility changes (private) are for when the user asks to change who can see the note,' which routes an agent away from setting private speculatively. However there is no guidance on when to choose edit_note over create_note/draft_note, and no statement of preconditions such as needing an existing note_id.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources