Skip to main content
Glama

List Custom Fields

list_custom_fields
Read-only

List the tenant's custom field definitions (optionally filtered to one entity): id, name, fieldName, type, position, options (for list/multilist), item-group limitation and the import-identifier/cost-attribute flags. fieldName is the key used in the customFields map accepted by upsert_items, upsert_customers, create_supplier, update_supplier and create_warehouse.

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
entityNoOptional: restrict to one entity (item, member, businessPartner, warehouse, workOrder).

Output Schema

NameRequiredDescriptionDefault
customFieldsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered. The description still adds value beyond them by disclosing the tenant-level scope, the specific attributes returned (options for list/multilist, item-group limitation, import-identifier/cost-attribute flags), and the cross-tool contract with the upsert family.

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 sentences, front-loaded with the action and scope, followed by the high-value fieldName contract. The mid-sentence enumeration of returned attributes is a little list-heavy and partly redundant with the output schema, but nothing is padding.

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 zero-required-parameter read tool with full schema coverage and an output schema, the description supplies everything an agent needs: what it lists, how to narrow it, and why the result matters downstream. No material gap remains.

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% and the single 'entity' parameter is fully documented in the schema with its enumeration. The description only restates the optional entity filter ('optionally filtered to one entity') without adding format or edge-case detail, which is the expected baseline when the schema does the work.

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 ('List the tenant's custom field definitions') with explicit scope (tenant-wide, optionally narrowed to one entity) and enumerates what is returned. An agent can distinguish it from save_custom_field, delete_custom_field, and upsert_custom_fields purely from the verb and resource named here.

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?

The second sentence gives real usage direction: fieldName is the key required in the customFields map consumed by upsert_items, upsert_customers, create_supplier, update_supplier, and create_warehouse — i.e., call this first to discover valid field keys. It lacks an explicit exclusions clause (e.g., 'use get_custom_field for a single definition'), so it stops short of 5.

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