Skip to main content
Glama

fields_list_lead_fields

Retrieve all field definitions for leads, including custom fields, to discover field keys and check validation rules before creating or updating leads.

Instructions

Get all field definitions available for leads, including custom fields.

Leads share their custom field structure with deals, but this endpoint returns the canonical list as it applies to leads. Read-only — to create/update/delete the underlying custom fields, use the deal field tools (fields_create_deal_field, etc.).

Cached for 15 minutes as field definitions rarely change.

Common use cases:

  • Discover field keys before creating/updating leads

  • Check field types and validation rules

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description fully covers behavioral traits: read-only, cached for 15 minutes, returns canonical list for leads, and notes shared structure with deals. This provides essential context for safe usage.

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?

Description is concise and well-structured: main purpose stated first, then behavioral details, caching info, and use cases. Every sentence adds value; no waste.

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?

Given zero parameters and no output schema, the description covers all necessary aspects: purpose, behavior, caching, usage context, and relationship with sibling tools. It is fully complete.

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?

No parameters exist, so the description cannot add parameter-specific meaning. Schema coverage is 100% trivially, so baseline is 4. The description does not need to compensate for missing parameter info.

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 clearly states 'Get all field definitions available for leads, including custom fields.' It uses specific verb (Get) and resource (field definitions for leads), and distinguishes from sibling tools like fields_list_deal_fields by specifying it applies to leads.

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?

Description explicitly says it's read-only and directs users to deal field tools for create/update/delete. It also mentions caching (15 minutes) and lists common use cases, providing clear guidance on when to use this tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nubiia-dev/mcp-pipedrive'

If you have feedback or need assistance with the MCP directory API, please join our Discord server