Skip to main content
Glama

Fill in custom fields

set_custom_fields
DestructiveIdempotent

Fill in or change the account's own custom fields on ONE record (record_type property, lease, resident or work_order; a work order also needs maintenance:write). values is an object keyed by field_key — read the keys with custom_fields first, never guess one. A null value empties a field; a REQUIRED field cannot be emptied. Every value is checked against its field's type (a date, an amount, a choice from its list) and refused in words if it does not fit. Confirm the exact values with the user first. The result says staged: true when the change is waiting in the account holder's Approvals queue — then NOTHING has changed yet.

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": {
      "record_type": "<record_type>",
      "record_id": "<record_id>",
      "values": "<values>"
    },
    "name": "set_custom_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesYesfield_key → new value. null empties the field.
record_idYesA property, lease or work-order id, or a resident's email address.
record_typeYes

Output Schema

NameRequiredDescriptionDefault
idNoThe created or updated record's id, when the write was applied rather than staged.
noteNoWhy the result was truncated, when it was.
fieldsNo
recordNo
stagedNoTRUE means nothing has changed yet — the write is queued in the account holder's Approvals queue in Seayora. Say it is waiting for approval; never report it as done.
changedNo
messageNo
draft_idNoThe staged proposal's id, when it was queued rather than performed.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and idempotentHint=true, and the description adds real context beyond them: null empties a field, required fields cannot be emptied, values are type-checked and refused with an explanation, and staged:true means nothing has changed yet. It does not cover partial failures or how staged changes are later approved, so not a 5.

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 core action and scope, then ordered into prerequisites, validation behavior, and the staged caveat. It is dense but nearly every clause carries operational information; the Approvals caveat is slightly long.

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?

Covers prerequisites, validation, destructive/null semantics, and the approval-staging caveat for a mutation tool with a nested object parameter and an output schema. Only edge cases such as partial failures or how to check approval status are 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 67%, and the schema already documents values (field_key → new value, null empties) and record_id (an id or resident email). The description reinforces the values-object contract and the record_type requirement (work_order needs maintenance:write), adding some meaning beyond the enum, but leaves per-type validation details implicit.

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 with scope: fill in or change the account's custom fields on ONE record, naming the allowed record types. It also distinguishes itself from the sibling custom_fields tool, which it names as the prerequisite for reading keys.

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 prerequisites and alternatives: read field keys with custom_fields first and never guess one, confirm exact values with the user, and note that work_order requires maintenance:write. It also flags when the result is staged in the Approvals queue.

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