Skip to main content
Glama

Perpetuus CRM

Resolve Segment Contacts

crm_resolve_segment
Read-onlyIdempotent

Return the paginated list of contacts currently matching a saved segment, plus total (the live count). To only count, use pageSize=1.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "crm_resolve_segment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
pageNo
pageSizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety needs no restating. The description adds non-annotation value by disclosing the return shape (contact list plus a `total`) and, importantly, that `total` is a live count rather than a cached one — behavioral context the annotations do not convey.

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?

Two tight sentences with the primary capability front-loaded and the counting shortcut second. Nothing is redundant and no sentence could be dropped without losing information.

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 simple read-only, closed-world tool with annotations covering its safety profile, the description covers purpose, return shape and one key usage pattern. Not stated: ordering of results, and what happens when the segment id is invalid — minor gaps for this complexity level.

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 0%, so all three parameters rely on name and validation alone. The description adds meaning only for pageSize via the pageSize=1 counting trick; `id` (the required segment identifier) and `page` get no explanation, leaving part of the coverage gap unaddressed.

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?

The description states a specific verb and resource ('Return the paginated list of contacts') with a clear qualifier: only those 'currently matching a saved segment'. That 'currently matching' framing separates it from segment-definition tools like crm_get_segment, but it never names a sibling explicitly.

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 only usage guidance is the count-only shortcut ('To only count, use pageSize=1'), which is genuinely useful. There is no statement about when to prefer crm_preview_segment or crm_search_contacts, and no exclusions or prerequisites, so usage is implied rather than directed.

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.