Skip to main content
Glama
grafeo-mcp

grafeo-mcp

Official
by GrafeoDB

update_node

DestructiveIdempotent

Set properties on an existing graph node and return it; choose merge mode to keep unlisted properties or remove them.

Instructions

Set properties on an existing node and return it.

Labels change with execute_gql (SET n:Label, REMOVE n:Label).

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": {
      "node_id": "<node_id>",
      "properties": "<properties>"
    },
    "name": "update_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
mergeNoKeep the properties not listed (true) or remove them.
node_idYes
propertiesYesProperties to set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv0.3.0
    • addedInput schema / properties / merge / description
      Added value: +"Keep the properties not listed (true) or remove them."
    • removedInput schema / properties / merge / title
      Removed value: -"Merge"
    • removedInput schema / properties / node_id / title
      Removed value: -"Node Id"
    • removedInput schema / properties / properties / additionalProperties
      Removed value: -true
    • addedInput schema / properties / properties / description
      Added value: +"Properties to set."
    • removedInput schema / properties / properties / title
      Removed value: -"Properties"
    • removedInput schema / title
      Removed value: -"update_nodeArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "title": "Result",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "update_nodeOutput",
      -  "type": "object"
      -}New value: +null
  2. First observedv0.2.0

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, idempotentHint=true and readOnlyHint=false, so the mutation profile is covered. The description adds that the call returns the node (no output schema exists) and that labels are not touched, but it never warns that properties omitted from the update can be removed when merge=false — the most consequential destructive behavior is left to a schema field.

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?

Two short sentences, front-loaded with the core action, zero filler. The label caveat is placed as a parenthetical follow-up, which is efficient, though the second sentence on its own is terse enough to read as a fragment.

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 destructive, non-read-only mutation with a nested properties object and no output schema, the definition covers return behavior and label exclusion but omits any warning about property deletion under merge=false and gives no hint about permissions or failure modes. It is adequate but leaves the riskiest behavior to be discovered in schema fields.

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 67% and both documented fields (merge, properties) already carry descriptions. The description's only added meaning is that "properties" excludes labels, a genuinely useful clarification, but it says nothing about node_id or required-field expectations beyond the schema.

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?

"Set properties on an existing node and return it" gives a specific verb and resource, and the second sentence scopes out label changes, which is a real boundary against execute_gql. It stops short of a full sibling differentiation (e.g. vs update_edge/create_node), but an agent can still identify the operation without opening the schema.

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?

The definition supplies one explicit routing rule: labels must be changed through execute_gql rather than here. That is implied usage guidance for a single excluded case, with no guidance on when to prefer update_node over update_edge, create_node, or execute_gql for property writes.

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