Skip to main content
Glama
PuppyGraph MCP Server

PuppyGraph MCP Server

Official
by puppygraph

puppygraph_add_node_attribute

Add a source column as an attribute to an existing node type in the installed PuppyGraph schema, with validation before any change.

Instructions

Add one attribute (a source column) to a node type of the installed schema. 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_label": "<node_label>",
      "name": "<name>",
      "type": "<type>"
    },
    "name": "puppygraph_add_node_attribute"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesAttribute name (not already on the element)
typeYesThe column's schemaType from puppygraph_describe_table, as is (e.g. String, Long, DECIMAL(12,2), DateTime)
node_labelYesExisting node label
source_field_nameNoSource column; defaults to the attribute name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does meaningful work: it discloses that the change is global ('for everyone who queries this PuppyGraph'), that other elements are untouched, and that validation happens before any mutation ('nothing changes on a problem') — real atomicity/blast-radius information. It stops short of stating how to undo the change, whether permissions or a reload/republish step are required, or what a success response looks like.

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 short sentences, front-loaded with what the tool does, then impact, then failure behavior. No filler and no repetition of schema content.

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 mutation tool with no annotations and no output schema, the description covers purpose, global impact, and failure semantics adequately. The remaining gaps — recoverability, permission requirements, and any post-change activation step — are the main things an agent would still want to know before calling it.

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 description coverage is 100%, so all four parameters (including the source_field_name default) are already documented in the schema. The description adds only the framing 'a source column' and the note that columns, types and keys are checked, which is marginal added meaning over 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 ('Add one attribute (a source column) to a node type') plus the scope ('of the installed schema'). The phrase 'node type' distinguishes it from its sibling puppygraph_add_edge_attribute without needing to name it.

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 description conveys when the tool applies implicitly through the schema-mutation context ('changes the installed schema for everyone who queries this PuppyGraph'), which is useful decision input. However, it never names an alternative (e.g. upload_schema for bulk changes, or update_node) or states prerequisites such as having run describe_table first, so routing guidance is inferred rather than explicit.

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