Skip to main content
Glama
alludium

Affinity MCP Server

by alludium

Get Swimlanes

affinity_get_swimlanes
Read-onlyIdempotent

Retrieve pipeline stages (swimlanes) for an Affinity list to display deal columns or filter entries by stage. Returns stage IDs, names, and sort order.

Instructions

Get pipeline stages (swimlanes) for an Affinity list.

Swimlanes are the columns in a deal pipeline view (e.g., Lead, Meeting, Portfolio). They come from the Status field which is a ranked-dropdown.

Parameters:

  • listId: List ID (required) - get from affinity_list_lists

Returns (JSON): { "listId": number, "listName": string, "statusFieldId": string, // Use this to filter entries "swimlanes": [ { "id": number, // dropdownOptionId - use for filtering "text": "Lead", // Display name "rank": 0, // Sort order (0 = first) "color": "none" // Visual indicator }, { "id": number, "text": "Portfolio", "rank": 7, "color": "purple" } ], "count": number }

Use Cases:

  • Display pipeline columns in UI

  • Get stage IDs for filtering list entries

  • Understand deal flow progression

Note: If no Status field exists, returns error. Not all lists have swimlanes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
listIdYesList ID (numeric). Get from affinity_list_lists.
responseFormatNoOutput format: "json" or "markdown". Default: "json"
Behavior4/5

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

Annotations already indicate read-only, idempotent, non-destructive. Description adds context: returns error if no Status field, not all lists have swimlanes. No contradiction.

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?

Well-structured: definition, explanation, parameters, example JSON, use cases, note. Slightly redundant with schema but each section adds value. Not overly verbose.

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?

No output schema, but full JSON example compensates. Covers return structure, use cases, error condition. For a simple retrieval tool with annotations, it is complete.

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 coverage is 100%, so baseline 3. Description repeats listId info and does not add extra meaning for responseFormat beyond schema. No new semantic value.

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?

Clearly states 'Get pipeline stages (swimlanes) for an Affinity list.' Explains what swimlanes are and their relation to the Status field, differentiating from sibling tools like affinity_get_list_fields.

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?

Provides three specific use cases and notes error conditions and that not all lists have swimlanes. Lacks explicit alternatives or when-not-to-use, but sufficient for guidance.

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