Skip to main content
Glama

Add or update nodes

add_nodes

Batch-add or update timeline nodes by ID to assemble interactive timelines from your materials. Include parent links, sections, sources, and filters to shape the narrative.

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,prov?}], sources?: [source id]}. prov says what a section's text is: 'quoted' (the source's own words, present in the material), 'notes' (the user's notes) or 'summary'. Never head a section "Text" unless it is a quote — head it for what it is. sources name consent-manifest ids; an outline node without them inherits its parent's. §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.

  1. First observedv1.4.0

TDQS

A4.8/5.0
Behavior5/5

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

With only minimal annotations, the description discloses a great deal: idempotency, consent-gate locking, warning-on-early-child behavior, source inheritance, generated parent-child lines in outline mode, and strict verbatim-authoring rules. These are behavioral facts an agent could not infer from the annotations or schema.

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 description is dense but not bloated; every sentence adds operational value. It front-loads the core action, then organizes field semantics and mode-specific rules in a readable structure. Formatting like line breaks and bold emphasis for the critical outline-mode exception improves scannability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with a nearly empty schema and no output schema, this description is unusually complete: it defines node shape, required-ish fields, mode-dependent behavior, prerequisites, and content constraints. An agent can select and invoke it correctly with minimal additional inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description carries the full burden for parameters. It compensates thoroughly by specifying each node field, optionality markers, `prov` values, the `sources` inheritance rule, `parent` constraints, and column behavior. The only top-level parameter not explicitly glossed is `timeline_id`, but its meaning is clear from the tool name and context.

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 opening sentence states a specific verb and resource: 'Batch-add/update timeline nodes (idempotent upsert by id).' The field list and node-specific rules make clear this is for authoring/modifying timeline nodes, not for connections, entities, axes, or deletion. The scope is unambiguous even without naming siblings.

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?

The description gives strong context: it is an upsert, locked until consent is open, and includes mode-specific guidance (e.g., outline mode ignores `col`, linear mode expects column alternation). It does not explicitly state when to use a sibling like delete_nodes or add_connections instead, so it stops short of a perfect 5.

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