Skip to main content
Glama
PuppyGraph MCP Server

PuppyGraph MCP Server

Official
by puppygraph

puppygraph_update_node

Replaces a node type in the installed PuppyGraph schema with a new definition under the same label, validating columns, types, and keys first so other elements remain unchanged if validation fails.

Instructions

Replace one node type of the installed schema with a new definition (same label). Changes the installed schema for everyone who queries this PuppyGraph; other elements stay as they are. The element is checked first (columns, types, keys) and nothing changes on a problem.

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": {
      "label": "<label>",
      "node": "<node>"
    },
    "name": "puppygraph_update_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeYesOne node as in the graph schema: label, id, attribute, dataSourceGroup.externalDataSource (see puppygraph_schema_template)
labelYesLabel of the node to replace

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are provided, so the description carries the burden. It discloses that the change affects everyone querying this PuppyGraph, that other elements remain unchanged, and that validation is atomic ('nothing changes on a problem'), though it omits permission requirements and return behavior.

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?

Three front-loaded sentences: replacement action, global impact, then validation/atomicity. No filler or repetition.

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 schema-mutating nested-object tool with no annotations or output schema, it covers the critical operational facts: global effect, preservation of other elements, and no partial changes on validation failure. It could still mention permissions or a success/failure response.

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 baseline is 3, but the description adds that the replacement must use the same label and that label/node contents are checked for columns, types, and keys. That gives useful validation meaning beyond the parameter definitions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Replace'), resource ('one node type of the installed schema'), and scope ('same label'). The wording distinguishes it from add_node/remove_node by the replace verb and from update_edge by the node resource.

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?

Implies the tool is for replacing an existing node type that keeps the same label, and notes the global schema effect. It does not explicitly name alternatives such as add_node for new node types or update_edge for edges, nor state when not to use it.

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