Skip to main content
Glama

Log a phone call or walk-in

log_call

Record a phone call or walk-in the owner just had, in one step: finds the person by phone number (or email, or contact_id) and creates them if new — phone alone is enough — then books an appointment (outcome "booked", booking_starts_at), adds a call-back task (outcome "follow_up", follow_up_date YYYY-MM-DD), or just notes what they wanted. Use it for "log a call from Mike, 555-0142, call back Thursday". Resolve relative days ("Thursday") to a date yourself.

Input Schema

NameRequiredDescriptionDefault
kindNocall
nameNo
noteNo
emailNo
phoneNo
outcomeYes
site_idYesThe site the call was for
time_zoneNo
user_goalNoOptional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details.
contact_idNo
follow_up_dateNo
booking_minutesNo
booking_starts_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / user_goal
      Added value: +{
      +  "description": "Optional: the user's goal behind this call, in one short sentence of plain words (e.g. \"add a page so customers can book tables\"). No names, emails or other personal details.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Goes beyond annotations by disclosing the side effect that a new contact is created when no match is found, that "phone alone is enough" to identify someone, and that outcome drives a downstream write (appointment vs. call-back task). It doesn't say what happens on repeat calls with the same number (duplicate risk), which matters 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?

Three tightly packed sentences, front-loaded with the verb and resource, then identity logic, then the outcome branch mapping. Dense but no filler; the example sentence earns its place by anchoring the phrasing.

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 13-parameter mutation tool with no output schema and sparse schema descriptions, the description covers the decision-critical flow (who is this, what happened, what gets written). Gaps remain around return value, defaults for kind/time_zone/booking_minutes, and duplicate handling on re-log.

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 only 15%, so the description must carry the load. It does explain the highest-value coupling — outcome "booked" pairs with booking_starts_at and "follow_up" pairs with follow_up_date, and phone/email/contact_id act as alternative identity keys — but kind, time_zone, booking_minutes, name, note, and user_goal get no mention.

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?

Specific verb and resource ("Record a phone call or walk-in the owner just had") plus the full one-step behavior: identity resolution by phone/email/contact_id, contact creation, then one of three outcome branches. This clearly separates it from siblings like upsert_contacts, book_callback_slot, and manage_appointments.

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 concrete usage example ("log a call from Mike, 555-0142, call back Thursday") and an explicit self-service constraint ("Resolve relative days to a date yourself"). It doesn't name alternative tools for the create-only or appointment-only cases, so the when-not-to-use side is implied rather than stated.

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