Skip to main content
Glama

Compl-AI-ance

graph_neighbors

Read-only

Von einem Knoten im Graphen des Mandanten nach außen gehen. Knotentypen: todo, event, user, agent, brain, skill, memory, document, chunk, status, tenant.

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": {
      "node_type": "<node_type>",
      "node_id": "<node_id>"
    },
    "name": "graph_neighbors"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNo1..5, Vorgabe 2
limitNoHöchstzahl Knoten, Vorgabe 100
node_idYes
node_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

The readOnlyHint annotation already declares this is a safe read, so the description's added value is limited to the node-type list. It does not say what the traversal returns, how edge direction is treated, whether depth is bounded, or what happens when a node type or ID is unknown.

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?

Two short sentences with no filler, and the operation is stated before the type enumeration. It is efficient, though the terseness leaves the second sentence doing more work than a bare list can carry.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only four-parameter graph query with no output schema, the definition covers the operation and the type vocabulary but omits result shape, traversal semantics, and depth/limit behavior. Adequate to start a call, but not sufficient to predict what comes back.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: depth and limit already carry defaults and ranges in the schema, but node_id and node_type are bare strings. The description compensates for node_type by listing the accepted values, which is genuinely useful; node_id remains undocumented beyond its obvious name.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific operation on a specific resource: traversing outward from a node in the tenant's graph, and it enumerates the valid node types. It does not distinguish the tool from graph_find_path or graph_stats, so an agent must infer which graph operation to pick.

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

Usage Guidelines2/5

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

There is no statement of when to use this traversal versus graph_find_path or graph_stats, and no prerequisites or exclusions. The only usage hint is the implicit 'outward from a node', which the agent must interpret on its own.

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.

Resources