Skip to main content
Glama
PuppyGraph MCP Server

PuppyGraph MCP Server

Official
by puppygraph

puppygraph_describe_table

Lists a table's columns with name, source type, and schemaType so you can map valid types into a PuppyGraph graph schema; leave out UNKNOWN columns.

Instructions

List the columns of a table in a catalog: name, source type, and schemaType. Declare each column in the graph schema with its schemaType exactly as given (e.g. LONG, DECIMAL(12,2), ARRAY): PuppyGraph rejects any other type. Columns with schemaType UNKNOWN can't be mapped; leave them out.

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>"
    },
    "name": "puppygraph_describe_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
tableYesTable name
catalogYesCatalog name
databaseYesDatabase or schema name

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 supplied, the description carries the full load and does disclose real behavior: PuppyGraph rejects any type string other than the one returned, and UNKNOWN-typed columns are unmappable and must be excluded. It stops short of saying the call is a side-effect-free read or what happens when the catalog/database/table does not exist.

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, front-loaded with the purpose and return fields, followed by the two constraints that matter. Nothing is repeated and no sentence is filler.

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?

There is no output schema, so the description must convey return values, which it does by enumerating name, source type, and schemaType, plus the UNKNOWN edge case. For a simple three-parameter read tool that is nearly complete; only failure behavior for a missing table is unaddressed.

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 all three parameters (catalog, database, table) are individually documented, so the baseline is 3. The description only restates the catalog/table hierarchy implied by the schema and adds no new detail such as case sensitivity or naming conventions.

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?

The description opens with a specific verb and resource: 'List the columns of a table in a catalog', and even names the returned attributes (name, source type, schemaType). It does not explicitly contrast itself with nearby siblings such as puppygraph_profile_column or puppygraph_schema, so sibling differentiation is left implicit.

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?

It gives concrete downstream usage: declare each column in the graph schema using the exact schemaType, and drop columns whose schemaType is UNKNOWN because they cannot be mapped. That is strong when-to-use/when-to-omit guidance for the output, though it never names an alternative tool or states preconditions such as the catalog needing to exist.

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