Skip to main content
Glama
PuppyGraph MCP Server

PuppyGraph MCP Server

Official
by puppygraph

puppygraph_remove_node

Removes a node type from the installed schema, refusing deletion while any edge still references it; remove those edges first. Validates the node before changing the shared schema.

Instructions

Remove one node type from the installed schema. Refused while an edge still uses it: remove those edges first. 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>"
    },
    "name": "puppygraph_remove_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelYesLabel of the node to remove

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that the change is global ("for everyone who queries this PuppyGraph"), that unrelated elements are untouched, that validation runs first, and that failure is atomic ("nothing changes on a problem"). It omits permissions/auth requirements and whether the removal is reversible, which matters for a destructive mutation.

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?

Four short sentences, front-loaded with the action and then the blocking condition, with zero filler. The final validation sentence is slightly telegraphic ("columns, types, keys") but still earns its place by promising atomicity.

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 one-parameter destructive tool with no annotations and no output schema, the description covers preconditions, blast radius, and failure behavior — the essentials. Missing notes on required privileges and irreversibility keep it short of full completeness.

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's description ("Label of the node to remove") is already explicit. The description adds only that removal targets a node *type*, which is consistent but marginal beyond the schema. Baseline 3 applies.

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 and resource: "Remove one node type from the installed schema." The scope (node type, installed schema) clearly differentiates it from puppygraph_remove_edge and puppygraph_update_node without needing to open any schema.

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

Usage Guidelines4/5

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

Gives a concrete precondition and the remedy: "Refused while an edge still uses it: remove those edges first," which implicitly routes the agent to the edge-removal sibling. It does not cover alternatives like retargeting via update_node, but the blocking condition is unambiguous.

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