Skip to main content
Glama

Move Wiki grid rows

wiki_grids_rows_move

Reorder rows inside a grid (move a run of consecutive rows to a new position).

Instructions

Reorder rows inside a grid (move a run of consecutive rows to a new position).

Returns the grid's new revision.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "grid_id": "<grid_id>",
      "body": "<body>"
    },
    "name": "wiki_grids_rows_move"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes``row_id`` (first row to move) + destination (``position`` or ``after_row_id``) + optional ``rows_count`` + the current ``revision``.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
grid_idYesThe grid's permanent UUID4 id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.142.2
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": false,
      +  "description": "Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).",
      +  "type": "boolean"
      +}
  2. Changed8 schema fields changedv0.122.1
    • addedInput schema / properties / body / properties / revision / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / body / properties / revision / default
      Added value: +null
    • changedInput schema / properties / body / properties / revision / description
      Previous value: -"Current grid revision (optimistic lock)."New value: +"Grid revision the edit is based on."
    • removedInput schema / properties / body / properties / revision / type
      Removed value: -"string"
    • removedInput schema / properties / body / properties / row_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / body / properties / row_id / default
      Removed value: -null
    • addedInput schema / properties / body / properties / row_id / type
      Added value: +"string"
    • changedInput schema / properties / body / required
      Previous value: -[
      -  "revision"
      -]New value: +[
      +  "row_id"
      +]
  3. First observedv0.67.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=true, so the description does not need to establish that this is a non-idempotent write. It usefully adds the return value ('the grid's new revision'), but says nothing about revision-con&#8203;flict behavior or failure modes that matter for a mutation.

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?

Two short sentences, front-loaded with the action and immediately followed by the return-value note. Nothing extraneous.

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?

With no output schema, the mention of the returned revision covers the return value, and the schema fully documents the nested body. However, the description omits precondition semantics around the revision parameter and any note on how position and after_row_id interact, which leaves moderate gaps for a mutation tool with a nested object param.

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 100%, so row_id, position, after_row_id, rows_count, revision and dry_run are all documented in the schema; the baseline of 3 applies. The description's 'run of consecutive rows to a new position' loosely frames rows_count plus a destination, but adds no syntax or constraint detail beyond the schema.

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?

States a specific verb and resource: 'Reorder rows inside a grid,' clarified as 'move a run of consecutive rows to a new position.' That scope detail separates it from rows_update (content edit) or columns_move, though the description never names those alternatives explicitly.

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

Usage Guidelines2/5

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

No when-to-use or when-not guidance is given; the agent must infer from the name that this is for repositioning rather than editing row values, and there is no reference to siblings like wiki_grids_rows_update or wiki_grids_columns_move. Only the phrase 'reorder' implies the applicable scenario.

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

Deploy Server

Other Tools