Skip to main content
Glama

List Custom Attributes

list-custom-fields-tool
Read-onlyIdempotent

List workspace custom attribute (custom field) definitions, including inactive ones and configured option labels. Use get-crm-schema-tool for the active write schema.

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-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1, max 1,000,000).
activeNoOptional active-status filter. Omit to include both active and inactive fields.
per_pageNoResults per page (default 25, max 25).
entity_typeNoOptional entity type: company, people, opportunity, task, or note.

Output Schema

NameRequiredDescriptionDefault
pageYes
itemsYes
totalYes
has_moreYes
per_pageYes
next_pageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and a closed-world scope, so the safety profile needs no restating. The description does add genuinely useful result-content context: inactive definitions and configured option labels are included. It says nothing about pagination behavior or result volume, which is the main remaining behavioral gap.

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?

Two compact sentences, with the primary purpose stated first and the sibling routing second. Every sentence earns its place, though the parenthetical '(custom field)' is the only slightly cluttered element.

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?

This is a low-complexity, no-required-parameter read tool with a full schema and an output schema, so return values need not be explained. Safety is covered by annotations, parameters by the schema, and the description supplies the scope and the sibling distinction an agent needs to call it 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?

Schema description coverage is 100%, so all four parameters including defaults and the max-25 per_page cap are already documented. The description's note that inactive fields are included reinforces the meaning of omitting the active filter, but this is largely redundant with the schema's own wording. Baseline 3 is appropriate when the schema carries the parameter semantics.

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 gives a specific verb and resource (list workspace custom attribute / custom field definitions) and clarifies the terminology equivalence between 'custom attribute' and 'custom field'. It also names the sibling it is not, get-crm-schema-tool, so an agent can distinguish the two without inspecting either 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?

It explicitly routes the agent to get-crm-schema-tool for the active write schema, which is the most likely point of confusion for a read tool over custom fields. It stops short of full when/when-not guidance, since it does not say when to prefer filtering by active or entity_type versus listing everything, but the context is clear.

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.