Skip to main content
Glama

Get a contact's CRM history

plando_get_crm_records
Read-onlyIdempotent

Retrieve a contact's CRM activity records, including calls, meetings, notes, and service requests, newest first. Identify the contact by ID, national ID, or name plus email or phone.

Instructions

The CRM activity records of one contact (calls, meetings, notes, service requests), newest first, with each record's type and custom fields. Identify the contact by contact_id (best), by id_number, or by name together with email or phone. If the name matches more than one contact nothing is returned; use contact_id. Future follow-up reminders are not included. Records marked sensitive in Plando are hidden unless PLANDO_SHOW_SENSITIVE=1 is set.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "plando_get_crm_records"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoPartial name, only together with email or phone
emailNo
limitNoMaximum records (default 20, max 500)
phoneNo
to_dateNoYYYY-MM-DD, inclusive
from_dateNoYYYY-MM-DD, inclusive
id_numberNoNational id or company number
contact_idNoPlando contact id (the number in the contact's URL: plando.co.il/contacts/show/<id>)
record_typesNoComma-separated record type ids, to return only those types

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/non-destructive, so the bar is lower, and the description still adds real behavior: results are newest-first, future follow-up reminders are excluded, and sensitive records are suppressed unless PLANDO_SHOW_SENSITIVE=1 is set. The empty-result-on-ambiguous-name rule is also useful. It does not describe pagination/truncation behavior or the shape of an individual record, which keeps it off a 5.

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?

Five tight sentences, front-loaded with what is returned and in what order, then identification, then exclusions. Minor redundancy: the name-plus-email/phone rule restates the schema's own constraint on the name property, so one clause could be trimmed.

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 9-parameter, zero-required, no-output-schema read tool, the description covers identification, ordering, filtering exclusions, and the no-result condition. Gaps remain around what a record contains and how limit interacts with a large history, but these are modest given the schema already documents the paging parameter.

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 78% schema coverage the baseline is 3, and the description adds meaning the schema does not: it ranks the identifier parameters ('contact_id (best)') and ties the name parameter to a hard precondition with a stated failure mode. It does not explain record_types, from_date/to_date semantics, or the default limit, leaving those to the schema descriptions.

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 — CRM activity records for one contact — and enumerates the record kinds (calls, meetings, notes, service requests) plus the 'newest first' ordering. This is concrete enough that an agent can tell it apart from contact-lookup siblings like plando_find_contact or plando_list_contacts 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?

Gives explicit identification strategy with a ranked preference: contact_id is 'best', id_number is an alternative, name only works paired with email or phone. It also covers the ambiguity case ('if the name matches more than one contact nothing is returned; use contact_id'), which is real when-to-use guidance. It stops short of naming which sibling to call first for a lookup (e.g., find_contact), so it is not a full routing rule.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.