Skip to main content
Glama

Archive an AI employee

archive_employee
DestructiveIdempotent

Archive or restore an employee. Reuse request_id on retries.

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": {
      "request_id": "<request_id>",
      "employee_id": "<employee_id>",
      "archived": "<archived>"
    },
    "name": "archive_employee"
  }
}

Input Schema

NameRequiredDescriptionDefault
archivedYes
request_idYesStable UUID for this exact operation. Reuse on retries. Never change it to retry an unknown result.
employee_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, readOnlyHint=false, and openWorldHint=true. The description adds a retry instruction, but 'Reuse request_id on retries' largely restates idempotentHint, and it does not disclose the effect of archiving: whether it is reversible, what happens to in-flight tasks, or whether elevated permissions are needed.

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?

Two short front-loaded sentences with no filler; the capability statement leads and the retry caveat follows. Brevity is close to ideal for a tool of this size, though the second sentence is somewhat redundant with the schema and annotation hints.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, open-world mutation with three required parameters and no output schema, the description omits what an agent most needs: the reversibility of archiving, the meaning of the archived flag's two values, and any permission or side-effect context. Only the retry contract is covered.

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 only 33% (only request_id is documented), so the description must compensate. It reinforces the request_id retry contract but leaves employee_id unaddressed and never maps archived=true vs false to archive vs restore, forcing the agent to infer the boolean's polarity on a destructive call.

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 pair and resource: 'Archive or restore an employee.' This resolves the ambiguity of the tool name (which suggests only archiving) by making clear the same tool toggles both directions. It does not distinguish itself from siblings such as update_employee or delete_agent, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

'Archive or restore' implies the usage context via the archived flag, and the retry note implies the tool is safe to retry, but there is no explicit when-to-use/when-not guidance and no named alternative for permanent deletion or deactivation.

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.