Skip to main content
Glama

Search contacts

contacts_search
Read-onlyIdempotent

Search all Apple Contacts by name, nickname, company, job, phone, email, address, note, or related name; every query word must match and accents are ignored. Use paging for large results.

Instructions

Search all contacts by name, nickname, company, job, phone, email, address, note or related name (e.g. 'brother'); every word must match, accents ignored. An empty query lists everyone. Returns full cards: phones, emails, addresses, birthday, related names, URLs, note. Large results come in parts (see paging and cursor).

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax contacts (default 25, up to 500).
queryNo
cursorNoLeave out at first. When a result has paging.has_more, repeat the call with the same arguments plus cursor set to paging.cursor to get the next part.
offsetNoSkip this many (paging).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuine context beyond that: the full card shape returned and the fact that large result sets are split into parts requiring a cursor follow-up. No auth or rate-limit details, but none are critical for a closed read-only search.

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?

Three sentences, front-loaded with the searchable-field list, then matching rules, then return shape and paging. Dense and mostly waste-free; the parenthetical '(see paging and cursor)' is slightly redundant with the cursor schema description but is a fair pointer.

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?

With no output schema, the description correctly carries the return-value burden by listing the card fields, and it explains multi-part paging. Ordering/relevance of results and how limit interacts with paging are unspecified, which is a minor gap for a 4-param search tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 75%; the one uncovered parameter is `query`, and the description compensates by listing what it matches against, the all-words-must-match rule, accent insensitivity, and the empty-string behavior. `limit`, `offset` and `cursor` are documented in the schema, so the description rightly does not repeat them.

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

Purpose5/5

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

States a specific verb (search) plus the resource (all contacts) and enumerates every searchable field: name, nickname, company, job, phone, email, address, note, related name. That field list makes it unambiguous versus siblings like contacts_birthdays, which serves a different need.

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

Usage Guidelines4/5

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

Gives real operational guidance: every word must match (AND semantics), accents are ignored, and an empty query lists everyone, which tells the agent how to enumerate the address book. It never names an alternative tool or states when not to use this one, so it falls short of a 5.

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