Skip to main content
Glama

Add or update nodes

add_nodes

Add or update multiple timeline nodes at once, using id-based upsert to insert or modify existing entries without duplicates.

Instructions

Batch-add/update timeline nodes (idempotent upsert by id). Each: {id, act (0-based), tag, title, desc, col?, parent?, entity_ids?, axis1_values?, axis2_values?, filters?: {custom_filter_id: value_id}, sections?: [{h,t}]}. §0: title/desc/sections are authored VERBATIM from the user's materials — never fill gaps, never collapse multi-item arcs into one node. parent (outline mode): the id of the concept that CONTAINS this one; omit it to make this the hub of its unit. Exactly one node per unit has no parent, and a parent must sit in the same unit as its child. A child may be sent before its parent — that only warns until you build. Column guidance (linear mode): alternate sides; 'center' for pivotal beats; omit col for the deterministic fallback. In outline mode col is ignored — the tree decides placement, hubs centred and leaves out to the sides, and the parent→child lines are generated for you, so author only the cross-links that carry their own meaning. Locked until the consent gate is open.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodesYes
timeline_idYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.4.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses idempotent upsert behavior, verbatim authoring requirements, the rule that exactly one node per unit has no parent, tolerance for out-of-order children, and that col is ignored in outline mode. This is rich behavioral context that annotations alone do not provide.

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?

The core action is front-loaded, and each remaining section earns its place by governing correct invocation: idempotency, verbatim content, paren containment, and col behavior. Dense but not wasteful.

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?

Given no output schema and minimal annotations, the description covers idempotency, node shape, required vs optional fields, mode-specific behavior, and content policy. It is slightly incomplete on the semantics of entity_ids and axis values, and on what the response or warning behavior looks like in full.

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?

With schema description coverage at 0%, the description compensates by listing the node object shape, optional fields, nested structures for filters/sections, and detailed rules for parent and col. However, entity_ids, axis1_values, and axis2_values are named but not semantically explained, so it stops short of a perfect score.

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?

The description opens with 'Batch-add/update timeline nodes (idempotent upsert by id)', which names the specific action, resource, and a key behavioral trait. This clearly distinguishes it from siblings like delete_nodes, add_connections, and build_timeline.

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 description provides mode-specific invocation guidance for linear vs outline modes and explains when to omit parent or col. However, it never explicitly states when to prefer this tool over sibling tools, so selection guidance is implicit rather than directly stated.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lukebmandel-debug/alto-connector'

If you have feedback or need assistance with the MCP directory API, please join our Discord server