Skip to main content
Glama
alludium

Affinity MCP Server

by alludium

Get List Fields

affinity_get_list_fields
Read-onlyIdempotent

Retrieve field definitions for an Affinity list, including list-specific, global, and enriched fields, with details like type, value type, and allowed values.

Instructions

Get field definitions for an Affinity list.

Returns all fields available on a list, including:

  • List-specific fields (Status, Amount, Owners, etc.)

  • Global fields (account-wide custom fields)

  • Enriched fields (auto-populated data for company/person lists)

Parameters:

  • listId: List ID (required)

  • cursor: Pagination cursor (optional)

  • limit: Items per page (default 100, max 100)

Returns (JSON): { "fields": [ { "id": "field-1022243", "name": "Status", "type": "list", // "list", "global", or "enriched" "valueType": "ranked-dropdown", "allowedValues": [ // Only for dropdown fields { "text": "Lead", "rank": 0, "color": "none" }, { "text": "Portfolio", "rank": 7, "color": "purple" } ] } ], "count": number, "hasMore": boolean }

Field Types:

  • list: List-specific fields (deal data)

  • global: Account-wide custom fields

  • enriched: Auto-populated enrichment data

Value Types:

  • ranked-dropdown: Pipeline stages (Status)

  • dropdown: Single-select

  • dropdown-multi: Multi-select

  • person-multi: Person references

  • number: Numeric values

  • text: Plain text

  • datetime: Date/time

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
listIdYesList ID (numeric). Get from affinity_list_lists.
cursorNoPagination cursor from previous response
limitNoItems per page (default 100, max 100)
responseFormatNoOutput format: "json" or "markdown". Default: "json"
Behavior4/5

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

Annotations declare readOnlyHint=true and idempotentHint=true, which the description supports by describing a read-only operation. The description adds value beyond annotations by detailing the return structure, field classification, value types, and pagination behavior (cursor, limit). However, it omits the responseFormat parameter, which is a minor gap.

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?

The description is well-structured: a concise first-line summary, bullet points for parameters, a clear JSON example for the return value, and separate sections for field and value types. Every sentence adds value without redundancy or fluff.

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 the absence of an output schema, the description provides a complete output example with all relevant fields and types. Combined with thorough annotations (readOnly, idempotent) and full parameter coverage, it leaves no major gaps for a standard read-only list fields retrieval tool.

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?

With 100% schema description coverage, baseline is 3. The description adds context for listId (source from affinity_list_lists) and explains pagination parameters (cursor, limit). This extra clarification improves the agent's understanding beyond the schema alone. The responseFormat parameter is not described, but its presence in the schema is sufficient given high coverage.

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 field definitions for an Affinity list' with a specific verb and resource. It details the types of fields returned (list-specific, global, enriched), effectively distinguishing it from siblings like affinity_get_field_values which retrieves field values rather than definitions.

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

Usage Guidelines3/5

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

The description implies usage when you need the schema of fields for a list but does not explicitly state when to use this tool versus alternatives or provide exclusions. It lacks guidance on when not to use it, leaving the agent to infer based on purpose alone.

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/alludium/affinity-mcp-server'

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