Skip to main content
Glama
retensy
by retensy

update_graph

Replaces a scenario graph by uploading nodes and edges via a local JSON file or inline graph container, useful for large graphs; use edit_graph_live for live edits.

Instructions

Залить узлы/рёбра в граф (PUT, сырой replace без бэкапа). Для правок СУЩЕСТВУЮЩЕГО/живого сценария используй edit_graph_live. Принимает graphFile (путь к локальному файлу — НЕ нужно слать граф инлайном, удобно для больших графов), graph-контейнер или nodes/edges.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
edgesNo
graphNo
nodesNo
graphIdYes
graphFileNoПуть к локальному JSON графа (контейнер retensy-bot-graph или {nodes,edges}); поддерживается ~
canvasMetaNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden. It discloses the critical traits: PUT semantics and 'сырой replace без бэкапа' (raw replace without backup), which warns the agent that existing content is overwritten and irreversible. It doesn't cover auth requirements, rate limits, or return behavior, but the most decision-relevant behavior is stated.

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?

The front-loaded clause gives the operation and its main distinction from edit_graph_live; the second half folds the input-format guidance into one compact passage. Slightly dense but every clause earns its place.

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?

For a destructive 7-param mutation tool with no annotations and no output schema, the description covers the essential scope, the destructiveness warning, and the accepted payload modes. It stops short of documenting the remaining parameters (graphId requiredness, canvasMeta, name), so it isn't fully complete, but the decision-critical context is present.

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 description coverage is only 14%, so the description must compensate and does: it explains that graphFile takes a local file path (and explicitly says the graph need not be sent inline — convenient for large graphs), and that a graph-container or raw nodes/edges are accepted. That meaningfully clarifies the two input modes, though it doesn't fully document all 7 parameters (name, canvasMeta, graphId are left silent).

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 states a clear verb and resource ('Залить узлы/рёбра в граф' — upload nodes/edges into the graph) and explicitly distinguishes the tool from the sibling edit_graph_live, which it says is for editing existing/live scenarios. This is precise and disambiguating.

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

Usage Guidelines5/5

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

It explicitly names the alternative (edit_graph_live) and the condition that selects it — use that tool for editing an EXISTING/live scenario, implying this one for full replace. It also tells the agent which input formats are acceptable in preference order.

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