Skip to main content
Glama
Google Workspace MCP Server

Google Workspace MCP Server

by mutallipp

Search Contacts

search_contacts
Read-onlyIdempotent

Find saved contacts or Gmail 'Other contacts' by name, email, phone number, or other fields to locate people and return matching contact details.

Instructions

Search contacts by name, email, phone number, or other fields.

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

Input Schema

NameRequiredDescriptionDefault
queryYesSearch query string (searches names, emails, phone numbers).
sourceNo"saved" (default) or "other" for people you've emailed but never saved (Gmail's "Other contacts").saved
page_sizeNoMaximum number of results to return (default: 30, max: 30).
user_google_emailYesThe user's Google email address. Required.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.8.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds nothing beyond that—it doesn't mention result caps, the saved-vs-other contact distinction, or pagination behavior, all of which are only in the schema. It essentially restates the schema's query description.

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?

A single sentence with no filler, front-loaded with the verb and resource. It is appropriately short, though its brevity is partly the reason it under-delivers on guidance.

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?

With an output schema, rich annotations, and full param coverage, the description doesn't need to explain return values or safety. However, for a search tool with a meaningful saved-vs-other mode and a hard result cap, the description leaves the agent without any routing or scope context beyond what structured fields provide.

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 parameter (query, source, page_size, user_google_email) is already documented in the schema, giving a baseline of 3. The description's field list (name, email, phone) duplicates the query parameter's own description rather than adding new meaning about source, paging, or required auth.

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 contacts") plus the searchable fields, so an agent knows exactly what the tool retrieves. It does not distinguish itself from siblings like list_contacts or get_contact, leaving the boundary between browsing, searching, and fetching a single contact implicit.

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?

The description gives no indication of when to use search_contacts instead of list_contacts, get_contact, or manage_contacts_batch. There are no exclusions, prerequisites, or alternative-routing hints, leaving the agent to infer usage purely from tool names.

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