Skip to main content
Glama

AgentBin

Create node

create_node

Add a node to a graph. A node is a doc that lives in a graph: read, replace, append to and delete it like any doc, by its id.

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": {
      "g": "<g>",
      "body": "<body>"
    },
    "name": "create_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
gYesId of a graph.
bodyYesThe node's content.
titleNoA short title, up to 200 characters.
credentialNoThe bin's credential, "{bin_id}.{secret}", as create_bin returned it. Leave it out if your client sends it as an Authorization header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare a non-destructive, non-idempotent, closed-world write, so the safety profile is covered. The description adds lifecycle context (nodes behave like docs and are addressable by id), but says nothing about duplicate handling, permissions on the graph, or credentials beyond what the schema states.

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 action and followed by the conceptual clarification. Both sentences carry weight; there is no filler or restatement of the title.

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 create operation with no output schema, the description never indicates what comes back — notably the new node's id, which the agent needs in order to use the read/replace/append/delete operations it just described. Annotations and full schema coverage offset this partially.

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 description coverage is 100%, so the schema already documents g, body, title, and credential fully; baseline is 3. The description's phrase "by its id" only loosely relates to the g parameter and adds no format or constraint detail beyond the schema.

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 a specific verb and resource ("Add a node to a graph") and then defines the concept: "A node is a doc that lives in a graph." That conceptual framing distinguishes it from create_doc without naming it. It stops short of explicitly contrasting with sibling tools, so it isn't a 5.

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 second sentence implicitly tells the agent what to do after creation — read, replace, append, delete by node id — which is real downstream guidance. However, there is no explicit when-to-use vs create_doc/create_edge, and no prerequisites or exclusions stated.

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.