Skip to main content
Glama

contact-get

Read-only

Get one contact by visitorId or email: identity, lifecycle stage, lead score, custom attributes (traits), tags and notes, company, segments, session and pageview totals, last activity and first-touch source, revenue, recent sessions, friction in the last 7 days, linked feedback and support conversations, and an activity timeline. Pass timelineCursor to get only the next, older part of the timeline.

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": "contact-get"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoEmail address, used when visitorId is not given
visitorIdNoThe contact visitorId from contacts-list
timelineLimitNoMax timeline entries, up to 50 (default: 20)
timelineCursorNotimelineCursor from a previous call, for older timeline entries

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, and non-destructive, so safety is covered; the description adds real behavioral context on what the payload contains, a 7-day friction window, a bounded timeline (max 50, default 20), and cursor-based older-page retrieval. It does not address error behavior when the identifier is unknown, which keeps it below a 5.

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 operation and identifiers, then the return inventory, then the pagination note. The long field enumeration is dense but each listed item tells the agent what data is available, though the single sprawling first sentence could be split for scanability.

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 carries the return-shape burden and does so thoroughly, including pagination. The notable gap is that zero parameters are required, yet the description never states that at least one identifier must be supplied.

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 coverage is 100%, so baseline is 3. The description only re-expresses the cursor meaning ('next, older part of the timeline') and does not clarify timelineLimit semantics or the identifier precedence beyond what the schema text already says.

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?

Opens with a specific verb+resource ('Get one contact by visitorId or email') and immediately scopes the response surface to identity, lifecycle, score, traits, tags, company, segments, sessions, revenue, friction, feedback/support links, and timeline. An agent can distinguish this single-contact read from contact-update or list-style siblings without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Offers one genuine routing rule: pass timelineCursor to retrieve only the older portion of the timeline. The email/visitorId fallback is stated but merely echoes the schema, and there is no explicit guidance on when to pick this over contact-update or a list tool, nor what to do when neither identifier is supplied.

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