Skip to main content
Glama

Change an object's fields

set_fields
Idempotent

Changes fields of one selected object: move false leaves a field out, true moves it; destination sends it into an existing destination field (an id from list_fields' destinationFields) or "new" for a field of its own, where list_fields says canChooseDestination; name renames the new field, where canRename. Up to 200 fields per call; fields you do not name keep their choice. If any change is wrong nothing is saved and the answer says which. It changes only the migration's setup in Shuttio. Returns { saved, object, changed, moving, total, fieldsUrl, next }.

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": {
      "id": "<id>",
      "object": "<object>",
      "fields": "<fields>"
    },
    "name": "set_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe migration id start_migration returned, like MIG-8F3C1D92.
fieldsYes
objectYesAn object id from list_objects, like "contacts".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive behavior; the description adds meaningful context beyond that: it changes only the migration's setup in Shuttio (not the underlying data), applies all-or-nothing atomicity with an explanation of the failure, and lists the return fields. It stops short of permissions, limits on repeated calls, or how existing mappings interact beyond the move flag.

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?

A single dense paragraph, front-loaded with the core action, then per-parameter semantics, then limits, atomicity, and return shape. Every clause carries information, though the semicolon chain is harder to scan than a short list and echoes some schema text.

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 tool with a nested fields array and no output schema, the description covers scope, batch limit, partial-update semantics, atomic failure, and return fields. Missing only prerequisite/discovery guidance (do list_fields/list_objects first) to be fully self-sufficient.

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 coverage is 67% and the schema itself documents move, name, field, and destination. The description largely restates those meanings while adding cross-tool conditionality (canChooseDestination, canRename) and the 'new' sentinel semantics. Useful but mostly overlapping with structured data.

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: 'Changes fields of one selected object', and narrows scope to a single object's field mapping inside a migration. It also implicitly distinguishes itself from list_fields by consuming its destinationFields. It never directly names an alternative sibling, so it falls short of a 5.

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 operational conditions ('where list_fields says canChooseDestination', 'where canRename') and a batch cap of 200 fields, plus a note that unnamed fields keep their choice. However, it never says when to choose this over set_objects or set_options, nor what preconditions must hold before calling.

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.

Resources