Skip to main content
Glama
server-noonien

server-noonien

Official

Read Graph

read_graph
Read-onlyIdempotent

Reads the full knowledge graph or a paginated slice of entities by name using limit and offset, returning relations that touch each entity.

Instructions

Read the knowledge graph, or a page of it: the optional limit and offset take a slice of the entities in name order. Use it for the whole graph; for a query use search_nodes, for names you already know use open_nodes, and for the elements more than one node wrote use read_conflicts. A page carries the relations that touch its entities. To read only what changed since your last visit, use read_changes.

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

Input Schema

NameRequiredDescriptionDefault
limitNoThe most entities to return; omit for all of them
offsetNoHow many entities to skip before the page; omit for none

Output Schema

NameRequiredDescriptionDefault
entitiesYes
relationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.1.0
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "The most entities to return; omit for all of them",
      +  "maximum": 9007199254740991,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "How many entities to skip before the page; omit for none",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. First observedv1.0.2

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior. The description adds meaningful context beyond that: limit and offset paginate entities in name order, and a page carries relations touching its entities. It stops short of richer edge-case or error behavior, but it is substantially more informative than the annotations alone.

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?

The definition is front-loaded, compact, and free of repetition. Each sentence contributes either purpose, pagination behavior, relation inclusion, or sibling routing.

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 read-only graph tool with two optional pagination parameters and an output schema, the description covers what is read, how pagination works, what a page includes, and when to use alternatives. Return-value details are appropriately left to the output schema.

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?

Schema coverage is 100%, so the schema already documents limit and offset. The description still adds meaning by explaining that they slice entities in name order and that pagination affects which relations are included, which is not fully conveyed by the schema fields alone.

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 states a specific verb and resource: 'Read the knowledge graph, or a page of it.' It also immediately distinguishes this tool from search_nodes, open_nodes, read_conflicts, and read_changes, so an agent can identify its role without inspecting sibling schemas.

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?

It explicitly routes each common use case: whole graph here, queries to search_nodes, known names to open_nodes, multi-writer elements to read_conflicts, and changes since the last visit to read_changes. These are concrete when-to-use and alternative-tool conditions.

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