Skip to main content
Glama
balalaika-ai

narya-mcp

Official
by balalaika-ai

Narya Sync

narya_sync

Syncs a session's file after edits by retracting from the first change and replaying up to a given line, preserving unchanged commands.

Instructions

Re-read the session's file after edits: retract the commands from the first changed one on (Narya undo) and replay the file up to and including the command containing line (default: the whole file). Unchanged commands, including all imports, are kept. Also moves the session backwards when line is earlier.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lineNo
timeoutNo
session_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does notably well: it discloses that commands are retracted from the first changed one onward, that the file is replayed up to `line`, that unchanged commands and imports are preserved, and that passing an earlier `line` moves the session backwards. It omits error/permission behavior and says nothing about `timeout`.

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?

Front-loaded with the core action and then the mechanics; every clause carries operational meaning. The sentences are dense and jargon-laden (Narya `undo`), which costs a little readability but not enough to call it bloated.

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?

An output schema exists, so return values need no prose, and the mutation semantics are covered. What is missing is the undocumented `timeout` parameter and any indication of failure modes, which for a state-altering replay tool is a real gap.

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 0%, so the description must compensate. It explains `line` (default = whole file, earlier values move the session backwards) well, and `session_id` is inferable from context, but `timeout` is never mentioned, leaving one of three parameters wholly undocumented.

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?

The description names a specific verb and resource ('Re-read the session's file after edits'), then details the retract/replay mechanics and the default scope of `line`. It is clearly distinguishable from a plain checker like narya_check_file, though it never names a sibling to route against.

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?

'After edits' implies the trigger condition, and the default (`line` defaults to the whole file) is called out, which is useful. However there is no explicit when-not guidance and no comparison to adjacent siblings such as narya_check_file or narya_try.

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