Skip to main content
Glama
Prime MCP Server

Prime MCP Server

by MikahDev

prime_search_contacts

Search and filter contacts by name, email, phone, contact type, or active status with pagination and sorting to locate matching records.

Instructions

Search and filter contacts by name, email, phone, or type. Returns paginated list.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
nameNoFilter by name (partial match)
pageNoPage number (starting from 1)
emailNoFilter by email (partial match)
phoneNoFilter by phone number (partial match)
queryNoSearch term for name, email, or phone
includesNoRelated resources to include: contactType, addresses, licences
order_byNoField to order by (e.g., "createdAt", "updatedAt")
per_pageNoItems per page (max 100)
is_activeNoFilter by active status
order_dirNoSort directionDESC
is_individualNoFilter by individual vs organization
contact_type_idNoFilter by contact type ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose that results are paginated and implicitly frames the tool as a read-only search, but it says nothing about default sorting, result caps, permissions, or what a result record looks like.

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?

Two short sentences with the core capability front-loaded and no filler. 'Returns paginated list' is mildly redundant given the page/per_page schema fields but still useful as a signal.

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

Completeness3/5

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

For a 12-parameter tool with no annotations and no output schema, the description is thin. The schema compensates on parameters, but the return shape is reduced to 'paginated list' with no indication of result fields or pagination metadata, which an agent needs in order to consume the response.

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 every one of the 12 parameters is already documented in the schema, including the enum for order_dir and the includes array. The description only restates the name/email/phone/type filters and adds no meaning beyond the schema, so the baseline 3 applies.

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 and resource ('Search and filter contacts') plus the fields it searches on, which is enough to tell it apart from mutation siblings like prime_create_contact and the single-record prime_get_contact. It does not explicitly name any sibling, so it falls short of a 5.

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

Usage Guidelines2/5

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

There is no when-to-use guidance: nothing says to prefer this over prime_get_contact for a lookup by ID, or how it relates to the other prime_search_* tools. Usage is only implied by the word 'Search', leaving the agent to infer routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools