Skip to main content
Glama

CiviCRM MCP by usefulapi

List contact relationships

civicrm_list_relationships
Read-only

The relationships of one contact (employee of, spouse of, volunteer for, ...) with the other contact, start and end date and whether it is active. APIv4 Relationship.get.

Input Schema

NameRequiredDescriptionDefault
limitNoRecords per call, 1-100 (default 25).
offsetNoHow many records to skip (default 0). Pass the previous reply's next_offset.
contact_idYesCiviCRM contact id.
active_onlyNoOnly active relationships (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds useful return-content context (relationship type, start/end date, active status), but does not disclose pagination behavior or any auth/scope constraints beyond the schema.

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?

A single tight sentence front-loads the resource and scope, then lists key returned attributes and the underlying API method. No wasted language.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only list tool with a fully described schema and no output schema, the description is nearly complete: it identifies the resource, scope, and key return fields. It could add pagination/return-shape guidance, but the essentials are present.

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%, so all four parameters are already explained. The description reinforces that only one contact's relationships are returned, but does not add syntax or behavior beyond the schema for limit, offset, contact_id, or active_only.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb/resource: relationships of one contact, with examples of relationship types and returned fields. It clearly separates this from contact search or group listing, though it doesn't explicitly name a sibling alternative.

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?

Usage is implied by "relationships of one contact," but there is no explicit guidance on when to choose this vs. civcrm_search_contacts, civcrm_list_group_contacts, or civcrm_query, and no exclusions or prerequisites.

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.