Skip to main content
Glama

Archive or restore a contact

archive_contact
Idempotent

Archive a contact who left or went quiet, with a note; they stay on every job and in history but take no new job links. With restore true, bring them back.

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

Input Schema

NameRequiredDescriptionDefault
idYesContact id.
noteNoWhy — required when archiving.
restoreNoTrue to bring an archived contact back.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this is a non-destructive, idempotent mutation, so the description's added value is in disclosing the actual effect: existing job links and history are preserved, only new job links are blocked, and restore reverses it. That is meaningful context beyond the annotations, though it does not say whether job links reactivate on restore or what the response returns.

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

Conciseness5/5

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

Two tight clauses, front-loaded with the primary action and its side effects, with the reverse mode stated last. No filler or redundancy.

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 three-parameter mutation with no output schema and annotations covering the safety profile, the definition supplies the essential behavioral facts. The only gap is the restore path's effect on job links, a minor omission rather than a blocker.

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 description coverage is 100%, so all three parameters are already documented including 'Why — required when archiving.' The description corroborates ('with a note', 'restore true') but adds no format, length, or conditional detail beyond the schema. Baseline 3 applies when the schema carries the load.

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?

States a specific verb (archive) and resource (contact) plus a clear reverse mode ('with restore true, bring them back'), and the clause 'they stay on every job and in history but take no new job links' implicitly separates it from destructive siblings like delete_contact. It stops short of naming an alternative tool, which keeps it out of the top band.

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 trigger for when to use it ('a contact who left or went quiet'), and the retention semantics signal when archival is preferred over deletion. There is no explicit when-not-to-use statement or named alternative, so guidance is clear but not complete.

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