Skip to main content
Glama

reorder_fields

Destructive

Reorders the fields of an entity. orderedFieldIds must contain all the fields of the entity, in the new order.

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": {
      "cellId": "<cellId>",
      "orderedFieldIds": "<orderedFieldIds>"
    },
    "name": "reorder_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
cellIdYesID of the entity
orderedFieldIdsYesNew complete order of the fields
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."New value: +"UUID of the project THIS call targets (overrides the session project)."
  2. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."New value: +"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."
  3. Changed3 schema fields changed
    • changedInput schema / properties / cellId / description
      Previous value: -"ID de l'entité"New value: +"ID of the entity"
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / orderedFieldIds / description
      Previous value: -"Nouvel ordre complet des champs"New value: +"New complete order of the fields"
  4. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the mutation risk is signposted. The description usefully explains the source of that risk by requiring orderedFieldIds to contain all fields, but it does not say what happens if the list is incomplete (rejection vs. dropped fields) or whether the reorder is atomic and reversible.

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?

Two short sentences with no filler, front-loading the operation and then the key input constraint. Nothing is redundant enough to remove, though there is also no structure beyond a flat statement.

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?

For a simple three-parameter mutation with no output schema, the description covers the purpose and the critical input invariant. It leaves gaps around failure behavior and the effect on related ordering, which matter for a destructive 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 100%, including "New complete order of the fields" for orderedFieldIds, so the description largely restates what the schema already documents. It adds only emphasis on the all-fields requirement, and says nothing about cellId or expectedProjectId beyond what the schema states.

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 uses a specific verb plus resource ("Reorders the fields of an entity"), so an agent immediately knows the operation target. It does not distinguish itself from layout-oriented siblings such as arrange_cells or auto_layout_canvas, but the resource (fields vs cells) is narrow enough to be unambiguous.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no alternative tool is named. The only conditional content is the completeness requirement on orderedFieldIds, which is an input constraint rather than usage guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.