Skip to main content
Glama

Update Wiki grid

wiki_grids_update
Idempotent

Rename or re-sort a grid (POST-not-PATCH quirk handled by the SDK).

Instructions

Rename or re-sort a grid (POST-not-PATCH quirk handled by the SDK).

body.revision must match the grid's current revision (read it off grids_get); a mismatch fails the write. 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_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesEditable fields (``title``, ``default_sort``) plus the required ``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. Changed6 schema fields changedv0.122.1
    • changedInput schema / properties / body / description
      Previous value: -"Editable fields (``title``, ``default_sort``) plus the required ``revision`` (optimistic lock)."New value: +"Editable fields (``title``, ``default_sort``) plus the required ``revision``."
    • 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 / required
      Removed value: -[
      -  "revision"
      -]
  3. First observedv0.67.0

TDQS

A3.8/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: optimistic-concurrency enforcement (revision must match or the write fails), the POST-not-PATCH quirk being absorbed by the SDK, and a stated return value (the new revision). The annotations already cover mutate/idempotent/non-destructive, so this is meaningful added context rather than repetition.

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?

Three short sentences, front-loaded with the action and followed by the hard constraint before the return note. The parenthetical about the SDK handling POST-not-PATCH is borderline trivia but does preempt a transport-level question; no other sentence is wasted.

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 3-parameter mutation with no output schema, it covers the risky part (revision matching), states the return value, and defers field shapes to a fully documented schema. Minor gaps like behavior of omitted fields are low-impact given the schema's completeness.

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 100%, so the baseline is 3, but the description adds semantics the schema lacks: that `body.revision` must equal the grid's current revision, where to obtain it, and the consequence of a mismatch. `dry_run` is left to the schema, which documents it well.

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 pair and resource: 'Rename or re-sort a grid', which an agent can immediately map to the `title` and `default_sort` fields. It does not name any sibling (e.g. wiki_grids_cells_update, wiki_grids_columns_update) to contrast scope, so it lands at a clear-but-undifferentiated 4.

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?

Gives a concrete prerequisite workflow: read the current revision off `grids_get` and pass it, or the write fails. That is genuine pre-call guidance, but there is no explicit statement of when to prefer this tool over the row/column/cell update siblings or when not to use it.

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