Skip to main content
Glama

Custom fields on a record

custom_fields
Read-onlyIdempotent

The account's OWN custom fields — details it tracks that Seayora has no built-in box for (a parcel number, a gate code, a lender, an insurance policy). record_type is property, lease, resident or work_order. With record_id: every field on that one record, its value as the owner typed it, and which REQUIRED fields are still empty (missing_required). With query: the records of that type whose name or a searchable field matches. With neither: the field definitions for that record type. A resident id is their email address. A field with display: null is simply not filled in — never invent a value for it. Values written by the owner are their own private notes unless resident_visible is true.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "custom_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum rows to return (1-200, default 50).
queryNoFind records of this type by name or by a searchable field's value.
offsetNoRows to skip, for paging.
record_idNoOne record: a property, lease or work-order id, or a resident's email address.
record_typeNoWhich kind of record. Defaults to property.

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the result was truncated, when it was.
totalNo
fieldsNo
recordNo
recordsNo
sentenceNo
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
entity_typeNo
entity_labelNo
total_availableNoHow many rows existed before truncation.
missing_requiredNoLabels of REQUIRED fields still empty on this record.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare this a safe read, and the description layers on real behavioral context: `display: null` means unfilled, `missing_required` surfaces empty required fields, and owner-entered values are private notes unless `resident_visible` is true. That privacy caveat is the kind of disclosure annotations cannot carry.

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 scope, then the three modes in sequence, then caveats — a logical order. The parenthetical examples (parcel number, gate code) cost a few words but usefully anchor the concept; the prose is dense but nearly every clause carries information.

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 an output schema present, return formatting needn't be described, and the description still covers the semantic traps an agent would hit (null vs. empty, private vs. resident-visible, missing required fields). Nothing needed to call it correctly is absent.

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 100%, so the baseline is 3, but the description adds mode-level semantics beyond per-parameter text: what `query` matches against, what an omitted `record_id`/`query` yields, and that a resident `record_id` is an email. That meaningfully extends what the schema says.

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?

Opens with a specific resource and scope ('The account's OWN custom fields') and immediately disambiguates its three operating modes: record_id (one record's values), query (matching records), and neither (field definitions for the type). An agent can tell what it returns without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly maps each parameter combination to an outcome, which is effectively when-to-use guidance for the three modes, and warns not to invent values for unfilled fields. It does not name the write-side alternative (set_custom_fields) or state exclusions, so it falls just short of the top band.

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