Skip to main content
Glama

Log a message, a call or a reply

log_interaction

Log what happened with people in the network tracker, one or up to 50 at once: a message the person sent (direction sent) or a reply they got (direction received), a call, a coffee, a meeting. type: Email, LinkedIn (a message or an InMail), Message (text, WhatsApp, voice note), Call/Video, Coffee Chat, Meeting, Event, Referral. summary is one line in their words, never the message itself. A sent message sets the follow-up 5 working days later unless an earlier one is due (next_step_text is that step in their language); a reply moves a Prospect to Active. Stages: Prospect = outreach only; Active = they replied or a meeting is being set; Advocate = they have met and would vouch for them (only when the person says so). For where things stand on one job, use link_contact_to_job.

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": {
      "entries": "<entries>"
    },
    "name": "log_interaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
entriesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false, destructiveHint=false, idempotentHint=false; the description goes well beyond by disclosing side effects: a sent message schedules a follow-up 5 working days out unless an earlier one is due, and a reply moves a Prospect to Active. It does not cover what happens on partial failure within a 50-entry batch, duplicate detection, or whether re-logging the same event double-schedules follow-ups — meaningful gaps for a non-idempotent write.

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 core action and batch size, and nearly every clause adds usable information (type glosses, stage rules, sibling routing). It is dense to the point of being a run-on, with overlapping lists ('a call, a coffee, a meeting' then the type enum), which costs some scannability.

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 write tool with a single top-level parameter wrapping a six-field nested object, no schema descriptions, and no output schema, the description supplies the semantics an agent needs to construct valid entries and anticipate stage/follow-up side effects. Remaining gaps are error/partial-failure behavior and contact_id resolution, which are secondary but not trivial for a batch mutation.

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?

With 0% schema description coverage, the description carries the burden and mostly does: it defines summary ('one line in their words, never the message itself'), next_step_text ('that step in their language'), and enriches the type enum with plain-language meanings. However, 'a message the person sent (direction sent)' is ambiguous about whether 'the person' is the user or the contact, which matters greatly for a direction field, and contact_id is never addressed.

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 concrete verb and resource ('Log what happened with people in the network tracker') and adds the batch scope ('one or up to 50 at once'). It also names the sibling it is not for ('For where things stand on one job, use link_contact_to_job'), so an agent can separate it from read/orientation tools 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 Guidelines5/5

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

Gives explicit when-to-use conditions for each interaction type (Email, LinkedIn message/InMail, Message = text/WhatsApp/voice note, Call/Video, Coffee Chat, Meeting, Event, Referral) and an explicit alternative for a different intent (link_contact_to_job). It also encodes the stage semantics (Prospect = outreach only, Active = replied or meeting being set, Advocate = only when the person says so), which tells the agent when NOT to advance a stage.

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