Skip to main content
Glama

Delete a person

hr_delete_person
DestructiveIdempotent

Erase a person for good with everything that is theirs: leave requests, adjustments, checklist tasks and document records, for example when they ask to be forgotten. Their files stay in the file store (files_delete removes those). Refused while they manage others: give those people another manager first. To keep someone's history after they go, set their end_date instead. Free. Free.

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": {
      "person": "<person>"
    },
    "name": "hr_delete_person"
  }
}

Input Schema

NameRequiredDescriptionDefault
personYesThe person_id, or their work email.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the destructiveHint annotation: it enumerates the cascading records removed (leave requests, adjustments, checklist tasks, document records), says files remain in the file store, and states the manager-reassignment blocker. This is exactly the kind of consequence detail an agent needs before invoking a destructive tool.

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?

The description is front-loaded and each substantive sentence carries useful scope, precondition, or alternative information. The only clear waste is the duplicated trailing 'Free. Free.', which slightly undermines polish.

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 destructive single-parameter tool with no output schema, the description covers the cascade, retained files, blocking manager condition, and non-destructive alternative. An agent has enough information to decide when not to call it and how to prepare for a successful call.

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?

There is only one parameter, and the schema already fully documents it as person_id or work email. The description does not add format or lookup guidance beyond the schema, so the baseline 3 is appropriate.

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 and resource ('Erase a person') and immediately scopes the operation as cascading to their HR records. It also distinguishes the delete from the non-destructive alternative of setting an end_date, so an agent can tell what this tool uniquely does.

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 ('when they ask to be forgotten'), a blocking precondition ('Refused while they manage others: give those people another manager first'), and a clear alternative ('To keep someone's history after they go, set their end_date instead'). It even routes file deletion to files_delete instead.

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