Skip to main content
Glama
grafeo-mcp

grafeo-mcp

Official
by GrafeoDB

graph_info

Read-only

Returns an overview of the graph database, including node and edge counts, labels, indexes, write status, and engine version, so you can inspect its structure before querying.

Instructions

Overview of the graph; call it before querying.

Returns node and edge counts; each label and edge type with its count and property types (and for edges the label pairs they connect); the vector, text and property indexes; and the database path (null in memory), whether writes are disabled, and the engine version.

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": "graph_info"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.3.0
    • removedInput schema / title
      Removed value: -"graph_infoArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "title": "Result",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "graph_infoOutput",
      -  "type": "object"
      -}New value: +null
  2. First observedv0.2.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds context the annotations do not: it reports whether writes are disabled, distinguishes in-memory (null path) from on-disk deployments, and exposes engine version, all of which help the agent reason about environment state. It stops short of stating cost or size limits on large graphs, but it does not contradict anything.

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 sentences, front-loaded with the purpose and the 'call before querying' imperative, then a dense enumeration of return fields. Every listed item is meaningful, though the second sentence is a long comma-run that would scan faster as a short list; nothing is redundant.

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?

There is no output schema, so the description bears the full burden of describing return values, and it does so thoroughly, covering counts, labels, edge label pairs, index types, and database/environment metadata. For a zero-parameter read-only introspection tool, nothing an agent needs in order to call it and interpret the result is missing.

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 input schema is an empty object, so there are no parameters to disambiguate and the baseline is 4. The description correctly implies a zero-argument call and spends its words on return content instead, which is the right allocation.

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?

The description names a specific resource and action ('Overview of the graph') and immediately enumerates what that overview contains: node/edge counts, per-label and per-edge-type counts with property types, indexes, and database metadata. This makes it unmistakably a schema/introspection tool rather than a query or mutation tool, so an agent can distinguish it from siblings like execute_gql or get_node without opening any 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?

'Call it before querying' gives clear situational guidance that positions the tool as a prerequisite discovery step, which is the main usage decision for this tool. There are no exclusions or named alternatives (e.g., when to skip it on an already-known graph, or which tool to reach for the per-label schema instead), leaving that dimension implicit.

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