Skip to main content
Glama
PuppyGraph MCP Server

PuppyGraph MCP Server

Official
by puppygraph

puppygraph_validate_schema

Validate a graph schema before upload by dry-running structural checks: verify catalogs, tables, and mapped columns exist, confirm edges reference defined nodes, and convert 0.x schemas to 1.x.

Instructions

Dry-run a graph schema without changing anything: checks its structure, that catalogs, tables and mapped columns exist, and that edges point at defined nodes. Converts 0.x schemas to 1.x. Run this before puppygraph_upload_schema.

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_validate_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
schemaYesThe graph schema as a JSON object (or a JSON string): 1.x format with node and edge arrays

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 burden and does so well: 'without changing anything' declares the non-mutating safety profile, and the listed checks make the scope of the operation concrete. The one soft spot is 'Converts 0.x schemas to 1.x', which leaves ambiguous whether the converted schema is returned or applied, creating mild friction with the 'no changes' claim.

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?

Two sentences, no filler, with the non-mutating guarantee and the check list front-loaded ahead of the prerequisite ordering. Every clause earns its place.

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 tool with no output schema and no annotations, the description covers what it does, what it checks, and when to call it. It does not say what a failed validation returns (a list of errors? a raised exception?), which is the main remaining gap given the absence of an output schema.

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%, so the baseline is a 3, but the description adds real meaning the schema does not: it confirms 0.x schemas are accepted and normalized, whereas the schema text only mentions '1.x format with node and edge arrays'. That resolves a likely agent confusion about which format version to submit.

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 ('Dry-run a graph schema') and then enumerates exactly what is checked: structure, catalog/table/column existence, and edge-to-node referential integrity. It also explicitly separates itself from puppygraph_upload_schema, so an agent can pick the right tool without opening either 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?

'Run this before puppygraph_upload_schema' gives an explicit ordering constraint that maps directly onto a sibling tool. It stops short of the 5 bar because it never states when to skip validation or what to do if the validation fails.

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