Skip to main content
Glama

set_table_cell

Writes a value into a table cell on the active row of a 1C form, or targets a specific row via row_match. Returns the committed readback value for verification.

Instructions

Write value into a table cell on the ACTIVE row natively. A table-cell SET is byte-identical to a plain string-field SET; only the element path differs — the column is the EditField leaf inside a Table[<table>] segment, with NO row index (the edit hits the active/selected row). Opens the form (replays the genuine setup from capture, which added a row and edited base_column to captured_value), then re-targets the cell SET to table/column + the value and commits via the synthesized focus-change (commit_partner_field — same machinery as the number field). The fixture's editable table is PF_TABLE_ITEMS (PF_TABLE_TEXT string, PF_TABLE_NUMBER number; PF_TABLE_MARKER read-only). The NUMBER cell uses the SAME value buffer as the string cell — the genuine PF_TABLE_NUMBER SET is byte-identical (e0 41 81 81 ba <len> <ascii>, value as text), so set_table_cell(value, column="PF_TABLE_NUMBER") just works (readback "999"). A grid DATE cell is NOT drivable this way: the date control rejects text input («Неподходящий тип элемента управления»); use set_table_date_cell. Returns {requested_value, readback_value, committed, column, table}. The cell read-back IS reliable: the SET response echoes the committed value via the column EditField + value-SET tag — so readback_value/committed reflect the actual write (no screenshot needed).

ROW ADDRESSING: by default the write hits the captured active row. To write into a SPECIFIC row, use a capture whose setup selected a row (with base_column=PF_TABLE_TEXT, captured_value=R2WROT, commit_partner_value=C90RC) and pass row_match = the target row's base_column value — the genuine row-select's search value (captured_row_match, default PF_ROW_002_TEXT) is re-targeted in the setup so the row whose column equals row_match becomes active (row_match=PF_ROW_003_TEXT writes into row 3).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostNo127.0.0.1
portNo
tableNoPF_TABLE_ITEMS
valueYes
columnNoPF_TABLE_TEXT
captureNogenuine-card90-table-20260617/traffic-selfcontained
row_matchNo
base_tableNoPF_TABLE_ITEMS
base_columnNoPF_TABLE_TEXT
captured_valueNoCELLAA
captured_row_matchNoPF_ROW_002_TEXT
commit_partner_fieldNoPF_EDIT_STRING
commit_partner_valueNoC90CMT

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and discharges it: it explains that the write opens the form, replays the genuine capture setup, re-targets the cell SET, and commits via a synthesized focus-change (commit_partner_field). It also discloses the read-back reliability and the exact returned object, so the agent knows the write is verifiable without a screenshot.

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 purpose is correctly front-loaded in the first sentence and a distinct ROW ADDRESSING section is helpful. However, the prose is extremely dense and stream-of-consciousness in places, with redundancy (byte-identical is asserted twice) and heavy parenthetical byte-level detail that makes it harder to scan than its complexity strictly requires.

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 13-parameter, no-annotation mutation tool, the description covers mechanics, addressing, limits, and even return values (despite an output schema existing). Nothing an agent needs to invoke it correctly — the active-row default, the row_match escape hatch, and the date-cell exclusion — is missing.

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 coverage is 0% across 13 params, so the description must compensate, and it explains the meaningful ones — value, table, column, capture, row_match, base_column, captured_value, captured_row_match, commit_partner_field, and commit_partner_value — with concrete values. host and port (and base_table) are left unspecified, which is the only real gap.

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 a specific verb+resource+scope: write ``value`` into a table cell on the ACTIVE row, natively. It explicitly contrasts itself with set_table_date_cell and read_table_cell by naming the limitations and the read counterpart. An agent can distinguish this from every sibling without opening a schema.

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 states the default behavior (writes to the captured active row) and exactly how to target a specific row via a capture with base_column/captured_value plus a row_match, including a concrete worked example (row_match=PF_ROW_003_TEXT writes into row 3). It also states when NOT to use it — grid DATE cells must use set_table_date_cell because the control rejects text input.

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