Skip to main content
Glama

Sergio by Serviche

Log a call to a contact

log_call
Idempotent

Logs a phone call the team made outside the phone system (a cell phone, a desk phone) on a contact, as the contact pane's Log a call does. outcome: answered (someone picked up), no_answer, or voicemail (you left one). Optional note (what was said) and at (ISO time the call happened; now when left out, never in the future). The call joins the contact's history and moves their Lead status: an answered call reads In discussion; no answer or a voicemail, with nothing back from them, reads Contacted (a quote, a booking or a status a person set still wins). The answer carries leadStatus, where they stand now. Calls made through the connected phone system are recorded already; do not log those. Nothing is sent. Pass the same idempotency_key when retrying; a repeat returns the original call.

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": {
      "client_id": "<client_id>",
      "outcome": "<outcome>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "log_call"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNo
noteNo
outcomeYes
client_idYes
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing side effects: the call joins the contact's history and moves Lead status with specific rules per outcome, including the caveat that a quote, booking, or manually set status still wins. It also states 'Nothing is sent', the no-future constraint on `at`, and the retry/idempotency contract, all of which the annotations only hint at via idempotentHint.

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 what the tool does and packs high-value rules into a compact block, with no filler sentences. It is somewhat run-on due to heavy parentheticals, but every clause carries information an agent would otherwise have to guess.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite having no output schema, it describes the return ('The answer carries leadStatus, where they stand now') and covers side effects, defaults, and retry semantics. For a 5-parameter mutation tool this leaves nothing material unstated.

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 only 20% schema coverage, the description compensates substantially: it defines all three outcome values, says `note` is what was said, and explains `at` as ISO time defaulting to now and never in the future. `client_id` is left to the schema's uuid format, which is a minor residual gap but low-risk.

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 ('Logs a phone call ... on a contact') and immediately scopes it to calls made outside the phone system, explicitly excluding calls the connected system already records. An agent can tell this apart from system-recorded call activity 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?

Gives a clear when-not ('Calls made through the connected phone system are recorded already; do not log those') and anchors the behavior to the contact pane's 'Log a call' action. It does not name a sibling tool for the excluded case, but the exclusion condition itself is unambiguous.

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