Skip to main content
Glama
server-noonien

server-noonien

Official

Search Nodes

search_nodes
Read-onlyIdempotent

Search knowledge graph nodes by matching a query against entity names, types, and observation content; narrow by exact entity type and paginate results in name order.

Instructions

Search for nodes in the knowledge graph based on a query. The query is matched against entity names, types and observation content; entityType narrows to one exact type, and limit/offset page the matches in name order. For the whole graph use read_graph, and for names you already know use open_nodes. For a search written the way a query is spoken, use find_nodes: it matches whole words and ranks the results.

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": {
      "query": "<query>"
    },
    "name": "search_nodes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoThe most entities to return; omit for all of them
queryYesThe search query to match against entity names, types, and observation content
offsetNoHow many matches to skip before the page; omit for none
entityTypeNoOnly entities of this exact type; omit to match every type

Output Schema

NameRequiredDescriptionDefault
entitiesYes
relationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.1.0
    • addedInput schema / properties / entityType
      Added value: +{
      +  "description": "Only entities of this exact type; omit to match every type",
      +  "type": "string"
      +}
    • 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 matches 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 declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds real behavior beyond that: what fields the query is matched against, that entityType is an exact-type filter, and that results are paged in name order. It does not discuss result volume or match strictness (substring vs. token), which is the remaining gap.

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, each doing distinct work: purpose and match scope first, pagination/filter semantics second, sibling routing last. No repetition of the schema or the annotations, and the core capability is front-loaded.

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?

With an output schema present, return values need no explanation, and annotations carry the safety profile. Combined with full parameter coverage and named alternatives, nothing an agent needs in order to choose and call this tool correctly 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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema by stating that entityType is an exact single type and that limit/offset page results in name order. The ordering guarantee in particular is not in the schema and shapes how an agent iterates pages.

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 ("Search for nodes in the knowledge graph") and immediately defines the match surface: entity names, types, and observation content. It is clearly separable from siblings like find_nodes and open_nodes, which are called out by name.

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?

Explicitly routes the agent: read_graph for the whole graph, open_nodes for known names, find_nodes for conversational queries that need whole-word matching and ranking. Each alternative comes with the condition that selects it, so no inference is required.

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