Skip to main content
Glama
PuppyGraph MCP Server

PuppyGraph MCP Server

Official
by puppygraph

mcp__puppygraph_query

Execute Gremlin or Cypher queries against PuppyGraph to retrieve graph data, adding LIMIT unless all rows are needed and checking schema when labels or properties are unknown.

Instructions

Execute a graph query (Gremlin or Cypher) against PuppyGraph. Use LIMIT (e.g. 20) unless all rows are needed. Node ids are not properties: id(n) or elementId(n) returns 'Label[value]' (e.g. 'Account[1]', 'OrderLine[1,2]' for a two-column id); n. is null. On an error or warning about an unknown label or property, look the name up with puppygraph_search_schema / puppygraph_get_schema_element and retry

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": {
      "query": "<query>",
      "language": "<language>"
    },
    "name": "mcp__puppygraph_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesThe query to execute (Gremlin or Cypher)
languageYesThe query language to use
parametersNoOptional parameters for the query
timeout_secondsNoCypher only: give up after this many seconds (at most 300)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A4.1/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 burden and delivers real behavioral detail: id values are not properties, id(n)/elementId(n) yields 'Label[value]' including composite ids, and errors should trigger a lookup-and-retry loop. Gaps remain on whether Cypher mutations are permitted and what the result payload looks like, which matters for a tool with no annotations or output schema.

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 core action in one sentence, then layers authoring tips and error recovery in short clauses with no filler. The id-semantics sentence is dense and slightly telegraphic ('n.<id column> is null'), but every sentence carries information.

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?

Covers the highest-risk pitfalls for a query executor (unbounded result sets, id vs. property confusion, unknown-label recovery) even though no annotations and no output schema exist to carry that load. It stops short of clarifying read vs. write behavior and return shape, the main remaining completeness gaps.

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%, so the schema already documents query, language enum, parameters, and the Cypher-only timeout cap. The description adds only query-authoring advice (LIMIT usage and id semantics) rather than clarifying the parameters themselves, so the baseline 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 specific verb and resource ('Execute a graph query (Gremlin or Cypher) against PuppyGraph') and scopes the tool to query execution, implicitly separating it from the schema-inspection siblings it names. An agent can identify this as the execution entry point without opening the 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?

Gives concrete operational guidance: apply LIMIT (e.g. 20) unless all rows are needed, and on unknown-label/property errors fall back to puppygraph_search_schema or puppygraph_get_schema_element and retry. This is a clear when-to-use and recovery routing, though it does not state exclusions such as when to prefer schema or catalog tools up front.

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