Skip to main content
Glama

Log a contact or client interaction

log_interaction

Add one entry to a contact's or client's history in one candidate's search. Entries are never deleted; correct one with correct_interaction. Sales, managers and admins.

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": {
      "profileId": "<profileId>",
      "kind": "<kind>",
      "summary": "<summary>"
    },
    "name": "log_interaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesWhat happened: MESSAGE_IN, MESSAGE_OUT, CALL, MEETING or NOTE.
jobIdNoThe job it was about; must be on the same profile.
channelNoWhere: email, LinkedIn DM, Teams, WhatsApp, phone…
summaryYesOne line: what happened. Full message text stays in the job's notes.
clientIdNoOr the client it was with (from list_clients).
contactIdNoWho it was with (from list_contacts). This or clientId is required.
profileIdYesThe candidate whose search this is; only that profile's people see it.
occurredAtNoWhen, ISO 8601. Omit when unknown.
datePrecisionNo"day", or "month" when only the month is known.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false; the description adds useful context beyond them by stating the history is append-only ('Entries are never deleted') and naming the correction sibling, which reassures an agent that a mistaken write is recoverable. It also names the allowed roles (sales, managers, admins), giving an auth/permission signal the annotations do not carry. It does not address duplicate handling or idempotency, which the non-idempotent hint leaves ambiguous.

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?

Three short sentences, front-loaded with the action and scope, then the immutability rule and the alternative. The trailing fragment 'Sales, managers and admins.' is terse to the point of being cryptic, but nothing is wasted.

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?

For a nine-parameter mutation with no output schema, the description covers the essentials an agent needs: scope, append-only behavior, the correction route, and who may call it. It is not fully complete — no duplicate behavior, no note on how occurredAt is defaulted, and no indication of what is returned — but annotations already carry the safety profile.

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 one of the nine parameters is already documented in the schema, including the contactId-or-clientId requirement and the occurredAt/datePrecision pairing. The description adds no parameter-level meaning beyond the implicit 'one entry' framing, so the baseline of 3 applies.

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 — 'Add one entry to a contact's or client's history' — and pins the scope to 'one candidate's search', which tells an agent this is a scoped append operation rather than a general note tool. It also names the sibling it is not (correct_interaction), so the tool is distinguishable without opening any 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?

Explicitly says entries are never deleted and that the correction path is correct_interaction, which is a real alternative with a stated condition. It stops short of saying when NOT to use this tool (e.g. duplicates, bulk imports, or note-taking on a job, which add_note likely covers), so it is clear but not exhaustive.

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