Skip to main content
Glama

Log close call

log_close_call
Idempotent

Use an existing administrator-connected Close CRM organization. Never invent contact, lead or phone IDs. List contacts (25 per page, newest first) before selecting an exact phone. start_close_call places one billed Skysay AI call only with the user's explicit authorization; reuse request_key after uncertain results. Finished calls are logged to Close with their true status, AI summary and authenticated Skysay recording/transcript link. log_close_call exports an existing finished inbound or outbound call whose phone matches the selected contact. This sends call information to Close. An unconfirmed delivery may already exist remotely and is never automatically replayed. No SMS synchronization or Close dialer replacement.

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": {
      "project_id": "<project_id>",
      "contact_id": "<contact_id>",
      "lead_id": "<lead_id>",
      "call_id": "<call_id>"
    },
    "name": "log_close_call"
  }
}

Input Schema

NameRequiredDescriptionDefault
call_idYes
lead_idYes
contact_idYes
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuine value beyond that: delivery goes to Close, an unconfirmed delivery may already exist remotely, and it is never automatically replayed — which explains the idempotency hint in operational terms. It still does not say what happens to the local call record after export or what an agent sees on partial failure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Most of the text is about sibling tools (contact listing pagination, start_close_call billing and request_key reuse, SMS sync), not about log_close_call. The subject of the tool is not front-loaded, and the sentences that do describe it are buried mid-paragraph. Meaningful guidance is present but poorly allocated to the wrong tool.

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

Completeness3/5

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

For a four-required-parameter mutation with no output schema, the description covers the destination system, the matching precondition (phone matches selected contact), and the non-replay guarantee. It leaves the identifier parameters undefined and does not state the observable result of a successful export, which is the main gap for an agent deciding how to call it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden for four required parameters. It only touches contact/lead indirectly ('Never invent contact, lead or phone IDs', 'whose phone matches the selected contact'); project_id and call_id are never explained, nor is the required relationship between contact_id and lead_id. The most consequential semantics of this tool — what call_id identifies and why project_id is mandatory — are absent.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description does state a specific verb and resource: 'log_close_call exports an existing finished inbound or outbound call whose phone matches the selected contact' and 'This sends call information to Close.' That differentiates it from start_close_call, which places a new billed call. However, the actual purpose appears only in the fifth sentence, behind three sentences about other tools, so an agent scanning the first line learns nothing about what log_close_call itself does.

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?

There is real routing guidance: use start_close_call to place a new call, use log_close_call for an already-finished call, list contacts before picking a phone, and never invent IDs. Explicit exclusions are given ('No SMS synchronization or Close dialer replacement'). What is missing is guidance on when logging is inappropriate, e.g. whether the call must be inbound/outbound, terminal status, or already synced.

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