Skip to main content
Glama

Archive Record

archive_record
Destructive

Archive (hide) or restore a property or client. record_type is "property" (a listing) or "client" (a represented party); archived:true hides it, archived:false restores it. This is a reversible soft-hide — it never deletes. An archived record drops out of every list, search, briefing, pipeline, milestone and reminder, in the app and here, but still opens by id (get_property / get_client), and list_properties / list_clients with show_archived: true find it to restore. Enforces participation. Confirm with the user before archiving.

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": {
      "record_type": "<record_type>",
      "record_id": "<record_id>"
    },
    "name": "archive_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
archivedNotrue (default) archives/hides the record; false restores it. Archiving is reversible and never deletes anything.
record_idYesThe propertyid or prospectid (client id).
record_typeYes"property" = a listing (landlord rep); "client" = a represented party (tenant rep).

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: the effect is a reversible soft-hide that never deletes, the record drops out of every list, search, briefing, pipeline, milestone and reminder while still resolving by id, and an ownership/participation rule is enforced. The description usefully reconciles the alarming destructiveHint=true by explaining nothing is destroyed. The one opaque phrase is "Enforces participation," which is not explained (does it fail, or transfer ownership?), so it stops short of 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?

Front-loaded with the action and the parameter disambiguation, then consequences, then recovery paths, then the confirmation rule — a sensible ordering. It is dense but nearly every clause carries distinct information; the unexplained "Enforces participation" is the only sentence fragment that does not pay for itself.

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?

For a three-parameter mutation tool with no output schema and full annotation coverage, nothing an agent needs is missing: reversibility, blast radius across downstream views, retrieval-by-id escape hatch, restore path, and a confirmation requirement are all present. It also preempts the destructiveHint concern rather than leaving the agent to guess.

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 100% and all three parameters carry their own descriptions, including the archived default and the record_type enum meanings. The prose restates record_type and archived semantics rather than adding new meaning, so the baseline 3 applies; only record_id's dual propertyid/prospectid identity is echoed beyond the schema.

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 pair (archive/restore) against a specific resource (property or client), and immediately disambiguates record_type as "property" (a listing) or "client" (a represented party). An agent can distinguish this from create_property, get_property, or list_properties 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 and when-not-to-use routing: use get_property/get_client to open an archived record by id, and list_properties/list_clients with show_archived:true to find one for restoration. It also adds a procedural precondition, "Confirm with the user before archiving," which is exactly the kind of guidance that prevents an accidental bulk hide.

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