Skip to main content
Glama
PuppyGraph MCP Server

PuppyGraph MCP Server

Official
by puppygraph

puppygraph_add_node

Adds a validated node type to the installed graph schema, creating it if none exists; invalid columns, types, or keys are rejected without changing the shared schema.

Instructions

Add one node type to the installed graph schema (creates the schema if there is none). Add all nodes first, then the edges between them. 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": {
      "node": "<node>"
    },
    "name": "puppygraph_add_node"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A4.4/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 global blast radius ('changes the installed schema for everyone who queries this PuppyGraph'), the create-if-absent behavior, and atomic validation ('checked first ... nothing changes on a problem'). It omits permission/authorization requirements, which matters for a schema mutation.

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?

Four short sentences, front-loaded with the action and its schema-creation caveat, then ordering, then impact, then failure semantics. Nothing is redundant with the schema or padding.

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 schema mutation with no annotations and no output schema, the description covers impact, ordering, validation, and atomicity. Only authorization and a hint about what a successful call yields are missing, which is a modest gap.

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% and the schema already names label, id, attribute, and dataSourceGroup.externalDataSource, so the baseline would be 3. The description adds genuine meaning by stating which aspects are validated (columns, types, keys), telling the agent what correctness looks like before calling.

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 ('Add one node type to the installed graph schema') and adds scope detail (creates the schema if none exists). The sentence 'Add all nodes first, then the edges between them' implicitly separates it from the edge-adding siblings without ambiguity.

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 explicit ordering guidance (nodes before edges) and points at puppygraph_schema_template for the node shape, which is real usage context. It does not, however, contrast add_node with puppygraph_update_node or puppygraph_add_node_attribute, so an agent must infer when to modify versus create.

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