Skip to main content
Glama
orieg

orieg/gws-connector

gws.contacts.search

Read-only

Search Google Contacts by name, email, or phone to retrieve a person's display name, emails, and phone numbers. Resolve names to addresses or get numbers without altering contacts.

Instructions

Search the account's own Google Contacts by name, nickname, email, or phone. Use it to resolve a person's name to an email address (e.g. before drafting mail) or to look up their phone number. Returns each match's display name, email addresses, and phone numbers. Read-only — it never modifies contacts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch text matched against contact name, email, and phone
accountNoAccount label or email. Uses default if omitted.
maxResultsNoMaximum contacts to return (default: 20, max: 30)
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reaffirms 'Read-only — it never modifies contacts.' It adds return fields and searchable attributes (name, nickname, email, phone) beyond annotations, providing useful behavioral context without contradicting them.

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?

The description is 3 sentences, front-loaded with purpose, then use case, then return info. No redundant phrases; every sentence earns its place.

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

Completeness5/5

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

For a simple 3-parameter search tool with no output schema, the description covers return fields, search criteria, and scope. It is sufficient for an agent to invoke correctly without additional clarification.

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?

The schema covers all parameters (query, account, maxResults) with descriptions, so the baseline is 3. The tool description adds 'nickname' as a searchable field and provides use-case context, slightly enriching parameter meaning beyond the schema.

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 clearly states the tool searches the account's own Google Contacts by name, nickname, email, or phone, and specifies it returns display name, emails, and phone numbers. This distinguishes it from the sibling directory_search tool, making the purpose unambiguous.

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?

It provides explicit use cases: resolving a name to email (before drafting mail) and looking up phone numbers. It implies the scope is the user's own contacts rather than directory-wide, but does not explicitly mention when not to use it or reference directory_search as an alternative.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/orieg/gws-connector'

If you have feedback or need assistance with the MCP directory API, please join our Discord server