Skip to main content
Glama

x402_sessiongraph_post_v1_node

Adds a typed node to an agent-memory session graph, enabling structured storage and BFS traversal across connected facts.

Instructions

sessiongraph — Typed node/edge knowledge graph for agent memory, BFS traversal [POST /v1/node] $0.005 USDC on eip155:8453. Example: {"ns":"mine","id":"agent1","label":"..."}

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_sessiongraph_post_v1_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does add real behavioral context: cost ($0.005 USDC), payment chain (eip155:8453), and the endpoint. However it says nothing about what happens on duplicate ids, whether the write is idempotent, or what a successful response contains, leaving meaningful behavioral gaps for a paid mutation tool.

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?

Very compact: one sentence plus a single example, with the product name and endpoint front-loaded. Nothing is redundant, though the '$0.005 USDC on eip155:8453' pricing fragment is terse enough to be slightly cryptic.

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 paid, schemaless-body mutation with no annotations and no output schema, the definition covers cost and one body example but omits namespaces semantics, duplicate-handling behavior, and any indication of the return value. Adequate to attempt a call, not enough to call it confidently.

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 four top-level parameters (body, query, restart, operationId) are already documented. The description nonetheless adds value by showing a concrete body shape ({"ns":"mine","id":"agent1","label":"..."}), which the schema cannot convey since body is a free-form additionalProperties object.

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?

States the resource and scope: 'Typed node/edge knowledge graph for agent memory, BFS traversal [POST /v1/node]'. An agent can tell this writes a node rather than an edge or the whole graph, but the differentiation from siblings like x402_sessiongraph_post_v1_edge is inferred from the path, not stated in prose.

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?

The knowledge-graph-for-agent-memory framing implies when it is useful, but there is no explicit when-to-use vs when-not guidance and no mention of how it relates to the edge-creation sibling or the graph-read sibling. Usage is implied rather than directed.

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

Deploy Server

Other Tools