Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as AALY. If you published it, claim ownership there.

update_field

Idempotent

Update a field's behavior or metadata. MUTABLE (change any time): label, description, default_value, required, hidden, min, max, pattern, values. IMMUTABLE: type, unique, search, targets, multiple, valueType, precision, computed, stored, formula. Passing ANY of these — even mixed with mutable ones in the same call — rejects the WHOLE call atomically with NOTHING applied; update_field never silently drops or partially applies an immutable attribute, so only pass attributes you actually intend to change (don't echo back a full field record from list_fields). To actually change one: create a differently-named field with the correct shape and migrate data into it per-tenant via direct REST calls — do NOT delete_field + create_field under the same name, that leaves stale data readable under the old shape. Run the migrate-field prompt for the full step-by-step recipe, or see the aaly://platform/capabilities resource, 'Known footguns'. Note: there is no separate 'facet' attribute at all (create_field has no such param) — faceting is automatic whenever search:true is set on an eligible type, so it follows search's own immutability.

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

Input Schema

NameRequiredDescriptionDefault
maxNoFor text: max char length. For number: max value. For list/multiple: max items.
minNoFor text: min char length. For number: min value. For list/multiple: min items.
labelNo
hiddenNoExcludes the field from GET responses (write-only). Purely a read-time flag.
valuesNoFor enum fields: replace the list of allowed string values. Removing a value already stored on existing records doesn't corrupt them — it only stops new writes from using it.
patternNoFor text fields: regex the value must match. Violations return 400 PATTERN_MISMATCH.
field_idYesField record ID (e.g. 'FLD12')
requiredNoOnly affects future POSTs; does not re-validate existing records.
descriptionNo
default_valueNoMatch the field's own type — a JSON boolean for type 'boolean', a JSON number for type 'number', a string otherwise.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing all-or-nothing validation: any immutable attribute rejects the entire call with nothing applied, and the tool never silently drops or partially applies. The warning that delete_field + create_field leaves stale data readable under the old shape is valuable non-obvious operational context. It stops short of describing the response payload or any authorization requirements.

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?

Long but front-loaded and information-dense, with the mutable/immutable split placed before the migration advice. Minor redundancy in 'rejects the WHOLE call atomically with NOTHING applied' followed by 'never silently drops or partially applies', and the closing facet note is somewhat tangential though genuinely useful.

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?

For a 10-parameter mutation tool with no output schema, the description covers the hard parts: which attributes are accepted, what happens on a mixed call, and the safe route to effectively change an immutable attribute. The annotations already carry the idempotency and non-destructiveness profile, so nothing critical is left to inference.

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 already 80%, so the baseline is 3, but the description adds a semantic layer the schema can't express: which of the ten parameters are actually changeable versus which will fail the call. That mutable/immutable classification is the key selection signal for an agent composing a call.

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?

States a specific verb and resource ('Update a field's behavior or metadata') and immediately enumerates exactly which attributes fall in scope, split into MUTABLE and IMMUTABLE lists. It also distinguishes itself from siblings by name, warning against echoing a record from list_fields and against the delete_field + create_field pattern.

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?

Explicit when-to-use (only mutable attributes), when-not (any immutable attribute, even mixed in), and the correct alternative path (create a differently-named field and migrate data per-tenant via REST). It routes the agent to further guidance by naming the `migrate-field` prompt and the capabilities resource.

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