MCP server for integrating with Affinity CRM API to access lists, companies, persons, and related field metadata
Server provides 5 read-only tools for Affinity CRM with consistent patterns. Tool naming follows verb_noun convention (get_*) appropriately. All tools have descriptions and basic input schemas with pagination support. However, descriptions are brief (100-150 chars, below production baseline of 194), lack actionable context about when/why to use each tool, and output schemas are not documented. Parameter descriptions exist but lack detail about format/constraints. No error guidance for common failure modes (invalid API key, permission denial, rate limits). Missing per-tool risk annotations despite all being read-only.
Get all Companies from Affinity API. Requires the "Export All Organizations directory" permission.
Get metadata on Company Fields from Affinity API. Use the returned Field IDs to request field data from the companies endpoints.
Get metadata on all Lists from Affinity API.
Get metadata on Person Fields from Affinity API. Use the returned Field IDs to request field data from the persons endpoints.
Get all Persons from Affinity API. Requires the "Export All People directory" permission.
Output schemas undocumented. Tools return Dict[str, Any] with no specification of expected fields, structure, or pagination format. LLMs cannot plan downstream calls or parse results reliably.
Descriptions lack actionable context. Descriptions like 'Get metadata on all Lists from Affinity API.' (52 chars) do not explain WHEN to call this tool, what it returns, or how it relates to other tools. Baseline is 194 chars; these run 52-120.
No error recovery guidance. _make_affinity_request() returns bare error dicts (e.g. 'error: API request failed with status 403') without telling LLM what to do next. Missing: is it retryable? Should user check permissions? Provide alternatives.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 55 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 43 | - | v1 |
Parameter descriptions lack constraint detail. E.g., 'limit' described as 'Number of items to include in the page (1-100, default: 100)' is good, but 'cursor' has no format guidance. For arrays (ids, field_ids, field_types), no guidance on max length, duplicate handling, or format.
Tool annotations missing. All tools are read-only (safe to retry) but lack readOnlyHint annotations in schema. FastMCP should emit these via tool metadata.
No documentation of relationship between tools. get_companies returns company IDs; those are used as filters in get_companies itself. get_company_fields returns field IDs used in get_companies. Tool discovery docs should guide: 'Call get_company_fields first to see available field IDs, then pass them to get_companies.'