Skip to main content
Glama
PuppyGraph MCP Server

PuppyGraph MCP Server

Official
by puppygraph

puppygraph_upload_schema

Installs and validates a graph schema in PuppyGraph so it can be queried; invalid schemas are refused, and an existing schema is replaced only when replace is true.

Instructions

Install a graph schema in PuppyGraph so it can be queried. Validates it first and refuses on problems; PuppyGraph also checks every mapped table and column before changing anything. If a schema is already installed, it is only replaced when replace is true. On failure the installed schema stays as it was.

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": {
      "schema": "<schema>"
    },
    "name": "puppygraph_upload_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
schemaYesThe graph schema as a JSON object (or a JSON string): 1.x format with node and edge arrays
replaceNoSet true to replace the schema that is currently installed. Without it, the upload is refused when a schema is already installed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A3.7/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 load and does well: it discloses pre-flight validation, refusal on problems, table/column checks against the data source before any change, and atomicity ('on failure the installed schema stays as it was'). It omits permissions/auth requirements and any return status, which keeps it from a 5.

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?

Purpose is front-loaded and the failure/replace semantics follow in tight, non-repetitive clauses. Slight redundancy between 'refuses on problems' and the table/column check sentence, but nothing gratuitous.

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 key risk surface: what gets validated, what happens when a schema already exists, and what state remains after failure. Return values and permission prerequisites are the remaining gaps.

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%, so the baseline is 3. The description's statement about replace matches what the schema property already says ('only replaced when replace is true'), adding no new syntax, format, or edge-case detail for the 'schema' parameter beyond the JSON object/string note in the schema.

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

Purpose4/5

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

States a specific verb and resource ('Install a graph schema in PuppyGraph') plus the outcome ('so it can be queried'). The note that it validates before installing implicitly separates it from a validate-only sibling, though no sibling is named explicitly.

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: use it to install a schema so it becomes queryable, and use replace=true when an existing schema should be swapped. It never states when to prefer puppygraph_validate_schema or puppygraph_schema_template instead, so the agent must infer the workflow boundary.

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