Skip to main content
Glama
PuppyGraph MCP Server

PuppyGraph MCP Server

Official
by puppygraph

puppygraph_get_schema_element

Retrieve a node or edge definition from the installed graph schema—IDs, typed attributes, source tables, and edge endpoints, keys, and relationship labels—before filtering on unfamiliar properties.

Instructions

Get one node or edge of the installed graph schema: ids, attributes (with types), source table and, for edges, endpoints, keys and the relationship label to use in Cypher. Accepts a node label, an edge label, or a Cypher relationship label. Use it before filtering on a property you haven't seen.

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": {
      "label": "<label>"
    },
    "name": "puppygraph_get_schema_element"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelYesNode label, edge label or relationship label

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 must carry the behavioral load, and it does a good job describing the returned payload (ids, typed attributes, source table, endpoints, keys, Cypher relationship label). It does not explicitly state that the call is read-only or what happens when the label is unknown, which are the remaining gaps for an annotation-free tool.

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?

Two tightly packed sentences with zero filler: the return contents come first, then the accepted input forms, then the usage trigger. Every clause adds information an agent needs.

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 characterize the return value, and it enumerates the most important fields for both node and edge cases. What remains underspecified is failure behavior for an invalid label, which matters for a lookup tool with a required string parameter.

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 coverage is 100%, so the label parameter is already documented in the schema, and the description's 'node label, edge label, or Cypher relationship label' largely restates it. The only added meaning is pointing at the Cypher relationship label as the linker between edge definitions and query syntax, which is useful but marginal. Baseline 3 is appropriate.

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 names a specific verb and resource ('Get one node or edge of the installed graph schema') and enumerates what the element contains (ids, attributes with types, source table, edge endpoints/keys/relationship label). This is clearly a single-element lookup rather than a full-schema dump, which distinguishes it implicitly from siblings like puppygraph_schema. It stops short of naming an alternative, so it is not quite a 5.

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?

'Use it before filtering on a property you haven't seen' gives a concrete triggering condition, and the note that the parameter accepts a node label, edge label, or Cypher relationship label tells the agent which inputs are valid. No when-not-to-use case or named alternative is provided, so it falls short of a 5.

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