Skip to main content
Glama
agentreadycrm

agentreadycrm

Official

Update Field

update_field
DestructiveIdempotent

Retire, restore, or edit a CRM custom field by changing its label, description, options, range, or column visibility when a field is replaced, needed again, or narrowed.

Instructions

Retire, restore or edit a custom field: its label, description, unused options, range, or whether it opens as a column.

Call it when a field is replaced by another (retire it, naming the replacement), when a retired field is needed again (restore it), or to rename, redescribe or narrow one. A retired field leaves list_fields, listings and pickers, and a write, filter, sort or column naming it is refused with its replacement named; its values stay on the records and its key stays taken. To add a field use define_field. Repeating a retire keeps the first retired_at.

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": {
      "entity": "<entity>",
      "key": "<key>"
    },
    "name": "update_field"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesThe field's key.
labelNoThe name people see. Its key never changes.
entityYesThe field's entity.
maximumNoThe highest value a number field accepts, inclusive. Refused while a record holds a higher value.
minimumNoThe lowest value a number field accepts, inclusive. Refused while a record holds a lower value.
retiredNotrue retires the field; false restores it and clears replaced_by.
descriptionNoWhat the field means and how to fill it. "" clears it.
replaced_byNoThe live field that takes its place: a key on the same entity, or "organization.<key>" / "contact.<key>". Only on a retired field.
clear_boundsNotrue lifts the field's range before any minimum or maximum given applies, so a side not given becomes unbounded.
default_columnNotrue opens the live field as a column in its lists; false stops that.
remove_optionsNoOptions of a select or multi_select field to drop. Refused while any record holds one, and when none would remain.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description goes well past them: a retired field disappears from list_fields, listings and pickers, write/filter/sort/column references are refused with the replacement named, values remain on records, the key stays taken, and repeated retires keep the first retired_at. That is genuinely useful consequence disclosure. It stops short of covering permission requirements or what the response returns, which the output schema presumably handles.

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?

Front-loaded with the action list, then consequences, then the sibling pointer, then the idempotency note. Dense but every clause carries information; the closing 'repeating a retire keeps the first retired_at' is a slight tail-end detail but still earns its place.

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?

With 11 parameters, a full output schema, and rich annotations, the description supplies the lifecycle context (what retirement breaks, what survives) that neither schema nor annotations express. Nothing an agent needs to invoke it correctly appears missing.

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 100% and the parameter descriptions are themselves detailed (inclusive bounds, clear_bounds ordering, remove_options refusal conditions). The prose restates retire/restore semantics rather than adding per-parameter meaning the schema lacks, so baseline 3 is right.

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 set and resource ('Retire, restore or edit a custom field') and enumerates exactly what can be changed: label, description, unused options, range, column behavior. It explicitly separates itself from define_field, so an agent can pick the right tool 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 names three concrete trigger conditions (field replaced by another, retired field needed again, rename/redescribe/narrow) and routes creation to define_field. The when-not is implicit but strong: 'To add a field use define_field' removes the main ambiguity.

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