Skip to main content
Glama

read_graph

Read-only

Retrieves the entire knowledge graph from MemoryMesh for full inspection of stored entities and relations. For large graphs, use search or node-specific tools to fetch only needed data.

Instructions

Read the entire knowledge graph. On a large graph, prefer search_nodes or open_nodes to fetch only what is needed

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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.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 safety is covered. The description adds the non-obvious behavioral trait that this returns the whole graph and is therefore expensive on large graphs — context the annotations do not convey.

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 sentences, zero filler. The core purpose is front-loaded and the escalation advice follows it, so an agent reading only the first clause still knows what the tool does.

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?

For a zero-parameter read with no output schema, the description covers what the tool does and its main cost risk. The only gap is that the shape of the returned graph (nodes, edges, metadata) is not characterized, which matters for a potentially large payload.

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 the baseline is 4; there is nothing for the description to disambiguate. The schema's empty object is consistent with the description's claim that no scoping input is accepted.

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 ('Read') and resource ('the entire knowledge graph'), and the word 'entire' explicitly contrasts it with the partial-fetch siblings open_nodes and search_nodes. An agent can distinguish it from every sibling without opening another 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?

It names two concrete alternatives and the condition that selects them ('On a large graph'), which is real routing guidance. It stops short of saying when full-graph reads are the right choice (e.g. small graphs, whole-graph analysis), leaving that to inference.

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