Skip to main content
Glama

Check whether someone is already a contact

lookupContact
Read-onlyIdempotent

Finds the workspace's contacts for one person by linkedin (a profile URL) or email. Free. Returns each match with its account and the account's pipeline stage, and the campaigns the contact is enrolled in, newest first. Archived contacts come back with archived true; addContact still refuses their email as a duplicate. An empty list means the person is not a contact yet.

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

Input Schema

NameRequiredDescriptionDefault
queryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare the safe-read profile (readOnlyHint, idempotent, non-destructive), so the description is free to add real behavioral detail — that the call is free, that archived contacts are still returned with archived=true and are still treated as duplicates by addContact, and that an empty result is meaningful rather than an error. That archived-duplicate nuance is exactly the kind of non-obvious behavior an agent cannot get from annotations or schema.

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?

Front-loads the core purpose and identifier options, then layers return shape, edge cases, and the empty-result meaning; every sentence carries information. Slight redundancy in restating 'linkedin (a profile URL)' which the schema already describes, and the 'Free.' fragment is terse but earns its place as a cost signal.

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?

There is no output schema, and the description compensates well by enumerating the returned fields (account, pipeline stage, enrolled campaigns newest-first) and flag semantics. The remaining gap is cardinality and pagination — 'each match' implies multiple results but nothing says whether all matches are returned or truncated.

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 description coverage is reported as 0% at the top level, so the description carries the burden for the nested 'query' object. It clarifies that the two nested fields are alternative identifiers for the same person ('by linkedin (a profile URL) or email') and explains the zero-result case, which the schema does not. It does not say what happens when both identifiers are supplied or when neither is, given required=[].

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 and resource ('Finds the workspace's contacts') narrowed to one person and to the two supported identifiers (linkedin URL, email). The title and first sentence together let an agent distinguish this lookup from siblings such as addContact or enrichContact without opening the schema.

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?

Implies the dedupe-check workflow: 'An empty list means the person is not a contact yet' plus the note that 'addContact still refuses their email as a duplicate' tells an agent to check here before adding. 'Free' is an explicit cost signal that favors this tool over paid alternatives. It stops short of an explicit statement of exclusions (e.g., use enrichContact when the person is unknown).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources