Skip to main content
Glama

Open Nodes

open_nodes
Read-onlyIdempotent

Retrieves specific entities by exact name and returns every relation touching them, enabling direct lookup when names are already known.

Instructions

Retrieve specific entities by their exact names, with every relation that touches one of them. Use this when you already know the names (from the conversation, or from an earlier search_nodes or read_graph result); it is the cheapest way to read entities you can name. Prefer search_nodes when you only have a keyword or part of a name. Names that do not exist are skipped.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "namespace": "<namespace>",
      "names": "<names>"
    },
    "name": "open_nodes"
  }
}

Input Schema

NameRequiredDescriptionDefault
namesYesAn array of entity names to retrieve
namespaceYesThe namespace to operate in (required). It must already exist: create it with create_namespace, and list the existing ones with list_namespaces. Namespaces are isolated from each other: the same entity name can exist in several, and a relation only connects entities in its own namespace.
observationLimitNoReturn at most this many observations per entity (the first ones, in the order they were added) and add each entity's total as observationCount. Use 0 for names, types and counts only: a cheap overview of a large graph, after which open_nodes reads the entities you need in full. Omit to return every observation.

Output Schema

NameRequiredDescriptionDefault
entitiesYes
relationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds real behavior beyond that: missing names are silently skipped rather than raising an error, and relations touching the entities are included in the result. It also characterizes cost ('cheapest way'), which helps routing decisions. Only minor gaps remain (ordering of results), and the output schema plus observationLimit parameter cover the return shape.

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?

Three sentences, front-loaded with the action and its scope, then the usage condition, then the alternative and the edge case. No filler, no restatement of the tool name, and every sentence changes how an agent would call it.

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 three-parameter read tool with full schema coverage, annotations, and an output schema, the description covers everything an agent needs: when to select it, what it returns (entities plus touching relations), and how it handles unknown names. Nothing material is left to inference.

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 namespace and observationLimit are already well documented and the baseline would be 3. The description adds a matching semantic the schema lacks: names are matched exactly, not fuzzily, which is the key distinction from search_nodes. It does not add anything further about namespace isolation or observation limits, but those are fully specified in the schema.

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?

States a specific verb and resource ('Retrieve specific entities by their exact names') plus the scope of what comes back ('every relation that touches one of them'). It explicitly contrasts itself with search_nodes, so an agent can pick between the two without opening either schema.

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?

Gives an explicit when-to-use condition ('you already know the names... from the conversation, or from an earlier search_nodes or read_graph result') and an explicit when-to-use-the-other-tool rule ('Prefer search_nodes when you only have a keyword or part of a name'). It even names where the input names typically come from, closing the loop between tools.

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