Skip to main content
Glama

Get graph info

get-graph-info
Read-onlyIdempotent

Basic facts about private graph kg1a1e72efb317f7f0e470: graph id, approximate node count, node labels, relationship types, whether it is read-only, and on a ledger graph its entities — the reporting group, the group parent first, each with the entity_id the ledger tools take, how the group treats it (consolidation_method) and whether it is the group's consolidation entity (entity_role).

WHEN TO USE:

  • To confirm which graph you are connected to and what it holds before get-graph-schema

  • To size a query from the node count and label list without reading the full schema

  • To learn the entities of the group before naming one

RETURNS: A small JSON object. Takes no arguments.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so the safety profile is covered. The description adds real behavioral context beyond that: the payload is a small JSON object, it takes no arguments, and it explains the `entities` shape (group parent first, `entity_id`, `consolidation_method`, `entity_role`). It stops short of describing size/volume limits or error conditions for an invalid graph id.

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-loaded with the payload contents, then clearly separated WHEN TO USE and RETURNS sections. The opening sentence is a long run-on with a dense trailing parenthetical about `entities`, but every clause carries distinct information an agent needs, so nothing is truly wasted.

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?

For a no-argument read tool with no output schema, the description is complete: it enumerates the returned fields (including the ledger-specific `entities` structure and its sub-fields) and states the return type. An agent can decide to call it and interpret the result without further documentation.

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 has zero parameters and the description explicitly states 'Takes no arguments', matching the empty schema exactly. Nothing further is needed; the baseline for a zero-parameter tool 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?

The description names a specific verb+resource (return basic facts about a graph) and enumerates exactly what those facts are: graph id, node count, node labels, relationship types, read-only flag, and ledger `entities`. It is clearly distinguishable from siblings like `get-graph-schema` (full schema) and `get-graph-sync-status` (sync state).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit WHEN TO USE block gives three concrete situations plus an ordering relationship ('before `get-graph-schema`') and a decision rule ('to size a query from the node count and label list without reading the full schema'). It also flags the entity-discovery use case before naming an entity.

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.