Skip to main content
Glama
macos-mcp
by jbkjr

search_contacts

Search macOS contacts by name, phone number, or email address and return matching records with full details; requires Contacts permission.

Instructions

Search contacts by name, phone number, or email address. Returns matching contacts with full details. Requires Contacts permission.

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": "search_contacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoSearch contacts by name
emailNoSearch contacts by email address
phoneNoSearch contacts by phone number

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does disclose two useful behaviors — results include full contact details and Contacts permission is required — but says nothing about match semantics (AND vs OR across the three optional fields), what an empty search returns, result limits, or whether this is read-only.

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?

Three short sentences, front-loaded with the core purpose, followed by return behavior and the permission prerequisite. No filler and nothing that fails to earn its place.

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?

No output schema and no annotations mean the description must do all the work, and it covers purpose, return shape, and permissions adequately. It falls short on matching logic and the behavior of a zero-parameter call, which matter for a fully optional-parameter search tool.

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 three parameters are already documented in the schema, and the description merely restates those same fields. It adds no meaning about combining parameters or which one takes precedence.

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 names a specific verb and resource ("Search contacts") and specifies the three searchable fields, so the agent knows exactly what the tool does. It does not distinguish this from the sibling list_contacts, leaving the search-vs-enumerate choice unstated.

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 only implied: the mention of name, phone, and email suggests this is the lookup path when you have an identifier, but there is no explicit when-to-use or when-not-to-use guidance and no reference to list_contacts as the alternative for browsing.

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