Skip to main content
Glama
PuppyGraph MCP Server

PuppyGraph MCP Server

Official
by puppygraph

puppygraph_update_edge

Replace an installed schema edge type with a new same-label definition, validating columns, types, and keys before applying the change to all PuppyGraph queries while leaving other elements unchanged.

Instructions

Replace one edge 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>",
      "edge": "<edge>"
    },
    "name": "puppygraph_update_edge"
  }
}

Input Schema

NameRequiredDescriptionDefault
edgeYesOne edge as in the graph schema: label, fromNodeLabel, toNodeLabel, fromKey, toKey, attribute, dataSourceGroup.externalDataSource (see puppygraph_schema_template)
labelYesLabel of the edge to replace

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, the description carries the full burden and does well: it discloses the blast radius ('Changes the installed schema for everyone who queries this PuppyGraph'), the preservation guarantee ('other elements stay as they are'), and the validation contract ('checked first ... nothing changes on a problem'). It stops short of permissions/auth requirements, whether the change persists across restarts, or what the call returns.

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, each earning its place: scope first, then blast radius, then failure semantics. No filler and no repetition of the tool name or title.

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 two-parameter mutation tool with no annotations and no output schema, the description covers the two things an agent most needs: global impact and atomic validation. Remaining gaps are permissions and return value, which are secondary for a schema-editing call in this family.

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%, and the nested edge object's schema description already points at puppygraph_schema_template for its shape, so the baseline of 3 applies. The description adds no syntax, defaults, or format detail beyond what the schema already says.

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?

The description opens with a specific verb and resource: 'Replace one edge type of the installed schema with a new definition (same label).' The word 'Replace' plus the 'same label' qualifier cleanly separates it from puppygraph_add_edge, puppygraph_remove_edge, and puppygraph_update_node without needing to name them.

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?

Usage is implied rather than stated: 'Replace' and 'same label' signal this is for an edge that already exists, but the description never says what to do if the edge does not exist (e.g., use puppygraph_add_edge) or whether a prior puppygraph_check_edges or validate step is recommended. The agent must infer the when-not case.

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