Skip to main content
Glama
grafeo-mcp

grafeo-mcp

Official
by GrafeoDB

get_node_as_of

Read-only

Retrieve a node's labels and properties as they existed at a specified time using time travel; requires a server configured with history retention.

Instructions

Get a node's labels and properties as they were at as_of (time travel).

Needs a server that keeps history (GRAFEO_HISTORY_RETENTION).

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>",
      "as_of": "<as_of>"
    },
    "name": "get_node_as_of"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofYesSeconds ago ("300") or an ISO-8601 datetime with its offset ("2026-11-09T10:00:00+00:00").
node_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A3.7/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 genuinely new behavioral context: the shape of the result ('labels and properties') and the server-side dependency on GRAFEO_HISTORY_RETENTION, which signals this tool can fail or be unavailable on some deployments.

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, front-loaded with the operation and its temporal scope. The parenthetical env-var name is compact but slightly cryptic; otherwise nothing is wasted.

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?

With no output schema, the description correctly states what is returned (labels and properties), and it flags the history-retention prerequisite. Remaining gaps are minor: no mention of error behavior when history is absent or how granular the as_of snapshot is.

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%: as_of is fully documented in the schema (seconds-ago or ISO-8601 with offset), while node_id is undocumented in both places, though its integer type makes it self-evident. The description adds no syntax or semantics beyond what the schema already carries, so the baseline 3 fits.

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 verb and resource ('Get a node's labels and properties') and adds a temporal qualifier ('as they were at as_of (time travel)') that distinguishes it from the plain get_node sibling. It stops short of naming that sibling explicitly, so an agent must infer the contrast.

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

Usage Guidelines3/5

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

Usage context is implied by '(time travel)' and the prerequisite 'Needs a server that keeps history' tells the agent when the call is even possible. However, there is no explicit 'use this instead of get_node when you need a past state' statement and no guidance on what happens if history is not retained.

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