Skip to main content
Glama

List CRM custom fields

list_custom_fields
Read-onlyIdempotent

List the custom fields defined for contacts (extra data such as birthday, city or plan), each with name, slug, type (text, number, date, boolean or select) and, for select, its options. The slug is what set_contact_field takes as field; a contact's values appear in get_contact. To add a new field use create_custom_field. An empty list means none has been defined yet.

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": "list_custom_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceIdNoWorkspace to work on (an id from list_workspaces). Not needed when this connection is tied to one workspace, or when you pass an account: the account's workspace is used.

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 already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: the exact payload shape, the role of `slug` as the key consumed by set_contact_field, and the meaning of an empty response.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four compact sentences, front-loaded with what is listed and what comes back, then cross-references and the empty-case note. No filler or restatement of the name/title.

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 no output schema, the description supplies the return shape itself (field names, types, select options), plus the identity of `slug`. Combined with annotations covering safety and a fully documented parameter, an agent has everything needed to call this correctly.

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?

The single parameter (workspaceId) has 100% schema description coverage, including the 'not needed when tied to one workspace' fallback, so the schema already carries the semantics. The description adds nothing about it, which is acceptable at this coverage but not additive.

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 concrete verb+resource ('List the custom fields defined for contacts') and immediately enumerates the returned attributes (name, slug, type, options). It is unmistakably distinct from create_custom_field and get_contact, which are both named.

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?

Routes the agent explicitly to create_custom_field for adding a field and to set_contact_field for writing values, and clarifies that an empty list is a legitimate 'nothing defined yet' result rather than an error. It stops short of stating when-not-to-use cases or any preconditions for reading.

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