Skip to main content
Glama
grafeo-mcp

grafeo-mcp

Official
by GrafeoDB

get_node

Read-only

Retrieves a single graph node by ID, returning its labels and properties. Use search_nodes_by_label or execute_gql to find node IDs first.

Instructions

Get one node by ID: its labels and properties. Find IDs with search_nodes_by_label or execute_gql.

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_id": "<node_id>"
    },
    "name": "get_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
node_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.3.0
    • removedInput schema / properties / node_id / title
      Removed value: -"Node Id"
    • removedInput schema / title
      Removed value: -"get_nodeArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "title": "Result",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "get_nodeOutput",
      -  "type": "object"
      -}New value: +null
  2. First observedv0.2.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds the return shape (labels and properties), but says nothing about what happens when the ID does not exist or whether the call errors versus returns empty.

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 short sentences, front-loaded with the action and return value, followed by the ID-discovery hint. No redundant or filler wording.

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 single-parameter read tool with no output schema, the description covers what is returned and how to obtain the required ID. The only meaningful gap is the not-found behavior, which is minor for this complexity level.

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?

Only one parameter (node_id) with 0% schema description coverage, so the description must carry the meaning. 'By ID' clarifies that node_id is a node identifier, but it does not state the ID format or where IDs come from beyond pointing at sibling tools.

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 ('Get one node by ID') and names the returned data ('its labels and properties'), which lets an agent distinguish it from search_nodes_by_label and get_neighbors without opening a 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?

Explicitly routes the agent to search_nodes_by_label or execute_gql when the ID is unknown, which is the main prerequisite for this tool. It does not mention when to prefer get_node_as_of for historical lookups, so it stops short of full when/when-not coverage.

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