Skip to main content
Glama

move_table_row

Moves the active table row up or down in a 1C TestClient form; select the row first, then verify the new order in the same session.

Instructions

Move the ACTIVE table row up or down natively. direction in {"up","down"} clicks the fixture's PF_MOVE_ROW_UP / PF_MOVE_ROW_DOWN command (ДанныеФормыКоллекция.Сдвинуть(±1) on the active row, no-op at the table boundary), capture-free, by replaying the genuine PF_COPY_ROW click retargeted to the move Button leaf. Example: baseline active row 1 + "down" -> PF_TABLE_SNAPSHOT=PF_TABLE[3]=PF_ROW_002|PF_ROW_001|PF_ROW_003. Session-local form state — verify in the SAME session via assert_form_value('PF_TABLE_SNAPSHOT') / ('PF_LAST_ACTION'). Select the target row first with select_table_row. Returns {base_button, target_button, accepted}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostNo127.0.0.1
portNo
captureNogenuine-card97-rowops-combined-20260619/traffic-selfcontained
directionNoup

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/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 it discloses meaningful traits: no-op at the table boundary, session-local form state that must be verified in the same session, and a return shape {base_button, target_button, accepted}. These go well beyond a restatement of the name.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The action is front-loaded in the first sentence, but the passage is a dense single paragraph crowded with internal fixture identifiers (PF_MOVE_ROW_UP, ДанныеФормыКоллекция.Сдвинуть) that add implementation noise without helping selection.

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?

An output schema exists, so return values need not be spelled out (though they are). Combined with the prerequisite, boundary no-op behavior, and same-session verification guidance, the definition is nearly complete for this operation.

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 for all four parameters. It clarifies the key parameter – direction in {"up","down"} with a worked example – but host, port, and capture remain completely undocumented in both schema and description.

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?

It states a specific verb and resource – 'Move the ACTIVE table row up or down' – and the word 'move' distinct from siblings copy_table_row, delete_table_row, and add_table_row. The purpose is clear, though it is embedded in heavy fixture jargon that partially obscures the plain meaning.

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?

It gives an explicit precondition ('Select the target row first with select_table_row') and states the verification path ('verify in the SAME session via assert_form_value'). It does not explicitly contrast with copy/delete/add alternatives, but the context of use is clear.

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