Skip to main content
Glama
PuppyGraph MCP Server

PuppyGraph MCP Server

Official
by puppygraph

puppygraph_create_catalog

Registers a database, warehouse, or lake as a PuppyGraph catalog so a graph schema can map its tables, validating connection settings before saving without exposing credentials.

Instructions

Register a data source (database, warehouse or lake) as a PuppyGraph catalog, so a graph schema can map its tables. PuppyGraph connects to the source to check the settings before saving. Credentials are never returned or logged. Next: puppygraph_list_tables, then write a 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": {
      "name": "<name>",
      "type": "<type>"
    },
    "name": "puppygraph_create_catalog"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCatalog name, used as 'catalog' in the schema
typeYesCatalog type. JDBC: postgresql, mysql8, mysql5, mariadb, sqlserver, redshift, snowflake, duckdb, clickhouse, oracle, trino, presto, vertica, singlestore, alloydb. Others (pass their fields in options): iceberg, hive, hudi, deltalake, bigquery, databricks, mongodbAtlas, elasticsearch, spanner. puppygraph_catalog_spec gives every type's exact field names
optionsNoExtra catalog fields, named exactly as puppygraph_catalog_spec lists them for the type (e.g. for iceberg on an Iceberg REST catalog: icebergMetastoreType, restUri, restWarehouse, storageType, ...). Put secrets in secret_env, not here.
jdbc_uriNoJDBC URI for JDBC types, e.g. jdbc:postgresql://host:5432/dbname. The host must be reachable from the PuppyGraph server (from a container, not 'localhost' of the agent).
passwordNoDatabase password (JDBC types). Prefer password_env when the password is in the MCP server's environment.
usernameNoDatabase user (JDBC types)
driver_urlNoURL PuppyGraph downloads the JDBC driver jar from. Required for mysql8/mysql5 (PuppyGraph doesn't ship the MySQL driver), e.g. https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/8.4.0/mysql-connector-j-8.4.0.jar
secret_envNoMap of option field name to MCP server environment variable name (same rule as password_env), for secrets in options (e.g. {"storageSecretKey": "PUPPYGRAPH_SECRET_S3_KEY"})
driver_classNoJDBC driver class; defaults by type (e.g. org.postgresql.Driver)
password_envNoName of an environment variable of the MCP server that holds the password (must start with PUPPYGRAPH_SECRET_ or be listed in PUPPYGRAPH_MCP_SECRET_ENV_ALLOWLIST), so the password never passes through the conversation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations, so the description carries the behavioral burden and does add real value: it discloses that PuppyGraph connects to the source to validate settings before persisting, and that credentials are never returned or logged. It says nothing about idempotency, what happens if a catalog of the same name exists, or how validation failure surfaces.

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?

Four short sentences, front-loaded with purpose, then the validation and credential notes, then a next-step pointer. No filler, though the 'Next:' line reads as a fragment rather than integrated prose.

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 10-parameter, nested-object creation tool with no annotations and no output schema, the definition covers validation behavior, credential handling, and the follow-on workflow. Missing only the return/persistence outcome and the failure mode when the source check or save fails.

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 schema already explains name, type, options, secret_env, password_env and driver_url in detail. The description adds no parameter semantics beyond that, so the baseline of 3 applies.

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?

Opens with a specific verb and resource: 'Register a data source (database, warehouse or lake) as a PuppyGraph catalog', plus the downstream purpose (mapping tables into a graph schema). An agent can distinguish this from list/remove/test catalog siblings without opening a 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?

Supplies a clear workflow: 'Next: puppygraph_list_tables, then write a schema', and implies the built-in connection check replaces a separate validation step. It does not explicitly say when to prefer puppygraph_test_catalog or how to handle an existing catalog, so it stops short of full alternative routing.

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