Skip to main content
Glama
agentreadycrm

agentreadycrm

Official

Archive Organization

archive_organization
Idempotent

Hide an organization from default lists and counts without deleting its data, or restore it when needed.

Instructions

Archive an organization: hide it from the default lists and counts, reversibly. Or restore one.

Call it when the user is done with a company but may want it back: a lost account, a company that no longer fits. Nothing is deleted: the organization, its contacts, deals and history stay as they are, get_organization still reads it, and list_organizations(include_archived=true) lists it. Its contacts are not archived with it. archived=false restores one. To remove a company for good, only when the user asks, use delete_organization; to join two records of one company, merge_organizations.

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": {
      "organization_id": "<organization_id>"
    },
    "name": "archive_organization"
  }
}

Input Schema

NameRequiredDescriptionDefault
archivedNotrue archives the organization (default); false restores it. A repeat changes nothing.
organization_idYesThe organization to archive or restore.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare non-destructive and idempotent, and the description concretely defines what non-destructive means here: the org, contacts, deals and history survive, get_organization still reads it, and list_organizations(include_archived=true) surfaces it. It also adds a non-obvious scoping rule the annotations cannot convey: contacts are not archived with the parent, and archived=false restores. It leaves out who may call it (permission/authorization requirements), which is the main remaining behavioral gap.

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 effect and the reversibility guarantee, then the usage condition, then the alternatives; every sentence is doing routing work. Minor waste: 'archived=false restores one' is already covered by the input schema, and the opening line already says 'or restore one,' so it is stated three times across description and schema.

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 two-parameter, single-id mutation with an output schema, the description covers effect, reversibility, persistence of related records, idempotence, restore path, and where redirected alternatives live. Nothing an agent needs in order to choose and invoke this tool correctly is missing.

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 both parameters (archived, organization_id) are already documented with defaults and repeat-call behavior, establishing a baseline of 3. The description's 'archived=false restores one' restates what the schema already says rather than adding syntax or format detail, so it does not exceed the baseline.

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?

Specific verb and resource ('Archive an organization') followed immediately by the concrete effect ('hide it from the default lists and counts, reversibly') and the reverse operation (restore). It also names the siblings it is not (delete_organization, merge_organizations), so an agent can distinguish it 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 an explicit when: 'when the user is done with a company but may want it back: a lost account, a company that no longer fits.' Gives explicit when-not with the correct alternatives: permanent removal goes to delete_organization 'only when the user asks,' duplicate consolidation goes to merge_organizations.

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