Skip to main content
Glama

Get graph schema

get-graph-schema
Read-onlyIdempotent

GRAPH: private graph kg1a1e72efb317f7f0e470.

Get the graph schema: each node table with its property names, and each relationship table with its source and target node.

WHEN TO USE:

  • Start here to understand the data structure

  • Before writing queries, to check property names and relationship directions

  • When exploring what data is available in the graph

RETURNS: A list of tables, nodes first, then relationships:

  • Node: label, properties (names only; the core node types list their key properties), and a description / comment when one exists

  • Relationship: label, from_node, to_node, properties when it carries any, and a description / comment when one exists

Property data types, keys and row counts are not included.

NOTES:

  • Check relationship direction: ->() vs <-()

  • Property names are case-sensitive

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get-graph-schema"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered; the description adds real context beyond that. It discloses output limitations ("Property data types, keys and row counts are not included") that would otherwise cause wasted follow-up calls. Operational caveats about relationship direction arrows and case-sensitive property names further reduce misuse risk.

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?

Front-loaded with the resource and a one-line definition, then clearly partitioned into WHEN TO USE, RETURNS, and NOTES with bolded labels. Every line carries information an agent would otherwise have to discover by trial, and there is no filler prose.

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?

With zero parameters and no output schema, the description carries the full burden of describing the return value, and it does so field by field for both node and relationship entries. It also flags what is absent from the payload and how to read direction, leaving no material gap for a no-argument introspection tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes no parameters, so there is nothing to disambiguate and the baseline of 4 applies. The description appropriately spends its space on return shape instead of inventing argument guidance.

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 ("Get the graph schema") and enumerates exactly what the result contains: node tables with property names, relationship tables with source and target nodes. That is far beyond a restatement of the title. It stops short of differentiating itself from nearby tools like get-graph-info or get-graphql-schema, so an agent must infer which schema tool it needs.

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?

The WHEN TO USE block gives three concrete situations, including a clear "start here" entry point and a pre-query verification use. It never states when not to use it or names an alternative for schema-flavored siblings, which keeps it below a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.