Skip to main content
Glama

A person in the Sales CRM, with their site visits

get_sales_contact
Read-onlyIdempotent

One business contact in Seayora's own Sales CRM — found by contact_id, a link's campaign, linkedin_url, email, phone or an exact name — with every personal link sent to them, each website visit made through those links (the pages, the time on each, and the total), their score, next step and history. Use it before messaging somebody, to avoid sending the same thing twice. Only visits from browsers that allow analytics are tied to a person: an empty visit list is NOT proof they never opened the link — say so (privacy_note). A page time marked estimated is approximate.

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

Input Schema

NameRequiredDescriptionDefault
nameNo
emailNo
phoneNo
campaignNo
contact_idNo
linkedin_urlNo

Output Schema

NameRequiredDescriptionDefault
idNoThe contact's id.
nameNoTheir name.
noteNoWhy the result was truncated, when it was — or a sentence the server attached to the answer.
foundNoFalse when nobody (or more than one person) matched.
linksNoEvery personal link sent to them.
visitsNoWebsite visits through those links, newest first, each with its pages and the time on each.
historyNoTheir recent history.
matchesNoWhen found is false: the contacts that matched a name.
degradedNoPresent when the visits could not be read — the list is incomplete, not empty.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
privacy_noteNoWhy an empty visit list is not proof they never looked. Repeat it.
visits_summaryNoThe visits in a sentence.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds substantive context beyond that: visits are only attributed when the browser allows analytics, an empty visit list is explicitly not proof of non-open, and estimated page times are approximate. That is genuinely useful interpretation guidance for a read tool, though it says nothing about pagination or result limits.

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-loaded with the identity and payload of the record, then usage, then privacy caveats — a sensible ordering. The first sentence is long and packs payload, lookup keys and caveats together, but each subsequent sentence adds distinct value rather than restating the schema.

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?

An output schema exists, so the description needn't document return shape, yet it still sketches the important fields. For a six-parameter, all-optional lookup tool the main residual gap is disambiguation — what happens with zero keys or conflicting keys. The privacy caveat and use-before-messaging framing otherwise make it complete enough to call correctly.

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% and no parameters are required, so the description must carry the load — and it largely does, mapping every one of the six parameters to a lookup mode (contact_id, a link's campaign, linkedin_url, email, phone, exact name). It also adds meaning the schema lacks, such as 'exact name' and that campaign refers to a link's campaign. It does not state precedence or behavior when multiple keys are supplied.

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?

The description names a concrete resource (one business contact in Seayora's own Sales CRM) and enumerates what comes back: personal links, per-visit page/time data, score, next step, history. It is clearly a retrieve-one-person tool with a distinct data payload. It stops short of naming siblings like get_contact or contact_insights, so differentiation must be inferred from the 'Sales CRM' scoping and visit data.

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 a clear when-to-use: 'Use it before messaging somebody, to avoid sending the same thing twice.' That is a real procedural trigger, not a generic blurb. However, it offers no when-not-to-use and no explicit alternative for the plain contact record (e.g. get_contact) or for visit-only data (sales_link_visits).

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