Skip to main content
Glama
agentreadycrm

agentreadycrm

Official

Archive Contact

archive_contact
Idempotent

Hide a contact from default lists and counts without deleting data or interactions, and restore them later if needed.

Instructions

Archive a contact: hide them from the default lists and counts, reversibly. Or restore one.

Call it when the user is done with someone but may want them back: a lead that went nowhere, a person who left the company, a stale record. Nothing is deleted: the contact, their interactions and their stage stay as they are, get_contact still reads them, and list_contacts(include_archived=true) lists them. archived=false restores one. Archiving is not a stage: to record how far along someone is, set status with update_contact. To remove a person for good, only when the user asks, use delete_contact; to join two records of one person, merge_contacts.

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": {
      "contact_id": "<contact_id>"
    },
    "name": "archive_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
archivedNotrue archives the contact (default); false restores them. A repeat changes nothing.
contact_idYesThe contact to archive or restore.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations by quantifying the visible effect: the contact is hidden from default lists and counts, but interactions and stage are untouched, get_contact still reads them, and list_contacts(include_archived=true) surfaces them. It confirms reversibility and reinforces idempotence ('a repeat changes nothing'). This is exactly the context annotations can't carry.

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, then usage, then sibling routing in declining order of importance. Some redundancy ('reversibly' and 'Nothing is deleted' cover overlapping ground), and the back-tick code formatting is heavier than needed, but no sentence is wasted.

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?

An output schema and full annotations are supplied, so return values and safety are covered elsewhere. The description fills the remaining gaps: reversibility, visibility impact, and how to route to sibling tools. Nothing needed to invoke it correctly is missing.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds semantic framing the schema lacks: archived=false is a restore, not a separate operation, and the default is true. Minor gap: it doesn't emphasize that contact_id is required for both directions beyond listing it.

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?

Opens with a specific verb+resource ('Archive a contact') and immediately names the inverse operation ('Or restore one'). It explicitly distinguishes archiving from siblings update_contact (status), delete_contact (permanent removal), and merge_contacts (deduplication), so an agent can identify the tool 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 Guidelines5/5

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

Gives explicit when-to-use conditions ('the user is done with someone but may want them back') with three concrete examples, and explicit when-not guidance ('Archiving is not a stage... set status'; 'to remove a person for good... use delete_contact'). The alternatives are named with the condition that selects each.

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