Skip to main content
Glama
icloud-mcp

icloud-mcp

contacts_search

Read-only

Search iCloud contacts where every query word matches a name, nickname, organization, email address, or phone number; returns IDs, names, organizations, emails, and phones.

Instructions

Find contacts: every word of the query must match the name, nickname, organization, an e-mail address or a phone number. Returns id, name, organization, e-mails and phones; contacts_get has the rest. limit 1-50, default 20.

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": {
      "query": "<query>"
    },
    "name": "contacts_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and scope are covered structurally. The description adds genuinely useful behavior: the AND-across-fields match rule and the exact subset of fields returned. It says nothing about result ordering or relevance ranking, which matters for a search tool whose limit caps at 50.

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 compact sentences: matching semantics first, return shape second, limit constraint last. No filler, and each clause carries information an agent needs before calling.

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 compensates by naming the returned fields (id, name, organization, e-mails, phones). Both parameters are covered and sibling routing is present; only ordering/pagination behavior beyond the hard limit is unstated, a minor gap for a two-parameter read 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 0%, so the description carries the full burden and mostly meets it: it explains that query is a whole-word-AND match across five fields and gives the limit range (1-50, default 20). The only defect is that the schema declares limit's default as null while the description claims 20, a discrepancy an agent could trip over.

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?

The description opens with a specific verb and resource ('Find contacts') and then defines the matching rule precisely: every word of the query must match name, nickname, organization, e-mail, or phone. It also distinguishes itself from the sibling contacts_get by note that contacts_get returns the remaining fields.

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?

Guidance is clear about what this tool does and routes the agent to contacts_get when full details are needed. It does not spell out when *not* to search (e.g. when you already have an ID), but the split of responsibility between the two tools is unambiguous.

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