Skip to main content
Glama
PuppyGraph MCP Server

PuppyGraph MCP Server

Official
by puppygraph

puppygraph_table_row_count

Count rows in a specified table to identify node versus edge tables and estimate how long profiling will take.

Instructions

Count the rows of a table. Helps tell entity tables (nodes) from event and link tables (often edges), and judge how long profiling will take.

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

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

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description carries the full load. It implies a read-only count and hints at cost by tying the result to profiling duration, but it never states whether the count is exact or approximate, whether it scans the whole table, or what permissions are required — meaningful gaps for a potentially expensive operation.

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?

Two tight sentences with the action front-loaded and the rationale following. Nothing is redundant, though the second sentence mixes two distinct use cases that could be split for clarity.

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

Completeness3/5

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

With no output schema and no annotations, the description should say what the return value looks like (a count scalar) and whether it is cheap to call on very large tables. It covers intent well but leaves the return shape and cost profile unspecified.

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?

All three parameters (catalog, database, table) are fully documented in the schema, so the baseline of 3 applies. The description adds no guidance on name resolution or catalog/database qualification.

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 concrete verb and resource ('Count the rows of a table'), and adds a substantive scoping note about what row counts reveal (node vs edge tables). It doesn't explicitly contrast itself with sibling tools like describe_table or sample_table, so it stops short of the 5 bar.

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 clear usage context: use it to distinguish entity tables from event/link tables and to estimate profiling cost. There are no explicit exclusions or named alternatives, so the agent must infer when to prefer schema inspection tools instead.

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