Skip to main content
Glama
PuppyGraph MCP Server

PuppyGraph MCP Server

Official
by puppygraph

puppygraph_profile_column

Profiles a column to return total, null, and distinct counts, cardinality class, key/enum/measure hints, and sample values so you can identify primary keys, foreign keys, and attributes.

Instructions

Profile one column from its data: total, null and distinct counts, cardinality_class (unique, high, medium, low or binary) and looks_like hints (pk_candidate, fk_candidate, enum, measure, free_text, timestamp, json), plus up to 20 sample values and min/max unless the server returns counts only. A node id should be a pk_candidate: unique and never null. Use this to decide which column is a table's id, which ones reference other tables, and which are attributes. It scans the whole column, so it can take minutes on large tables.

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": {
      "catalog": "<catalog>",
      "database": "<database>",
      "table": "<table>",
      "column": "<column>"
    },
    "name": "puppygraph_profile_column"
  }
}

Input Schema

NameRequiredDescriptionDefault
tableYesTable name
columnYesColumn name
catalogYesCatalog name
databaseYesDatabase or schema name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A4.2/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: it discloses that the scan covers the whole column and "can take minutes on large tables," that sample values cap at 20, and that min/max may be omitted when the server returns counts only. It leaves out permission requirements and confirms read-only behavior only implicitly.

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?

Front-loads the resource and its outputs, then moves to interpretation guidance and the latency warning. Four dense sentences with no filler, though the parenthetical enumerations of cardinality_class and looks_like values make it longer than strictly needed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description compensates by describing the return payload in detail, including the conditional absence of min/max and the 20-value sample cap. For a four-param read tool, an agent has enough to call it and interpret results without further docs.

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% with four simple required strings (catalog, database, table, column), so the schema already documents the parameters. The description adds interpretive context about what a good key column looks like but nothing about param formats or how catalog/database scope the lookup, so 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 precise verb and resource ("Profile one column from its data") and then enumerates the exact outputs: total, null and distinct counts, cardinality_class, looks_like hints, samples and min/max. The closing sentence about deciding id vs. foreign-key vs. attribute columns makes it clearly distinct from describe_table or sample_table style siblings.

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?

Gives an explicit use case ("Use this to decide which column is a table's id, which ones reference other tables, and which are attributes") and a prerequisite-style rule ("A node id should be a pk_candidate: unique and never null"). It does not name an alternative tool or state when not to use it, so it stops short of full routing guidance.

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