Skip to main content
Glama

Delete a family member

delete_family_member
Destructive

Deletes one of the customer's own dependents or pets. Take the id and the module_state from list_family_members. Confirm the delete with the customer before you call this tool: the family member cannot be restored. When module_state is edit_restarts_alignment, also tell the customer that the delete restarts the alignment of the couple and can email the partner, and get a yes. After an asset, family, or allocation write, tell the customer that the alignment restarted when alignment_restarted is true. Tell the customer that the partner got an email when partner_emailed is true. When a value is false, say nothing about it. When the customer asks about these values, answer from the results of all the writes in this conversation. Send the module_state that you read as expected_module_state, also when it is open.

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": "delete_family_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe id from the list tool. Only an own row of the customer.
expected_module_stateNoThe module_state that you read from the list or describe tool of this module, also when it is open. When the state is now different, the tool saves nothing and gives the new state.

Output Schema

NameRequiredDescriptionDefault
idYes
statusYes
app_urlYes
partner_emailedYesTrue when the partner got an email that the alignment restarted.
alignment_restartedYesTrue when the write restarted the alignment of the couple.

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?

Annotations already flag destructiveHint=true and idempotentHint=false, and the description goes well beyond them: the delete is irreversible, it restarts the couple's alignment in a specific state, it can email the partner, and it describes the optimistic-concurrency failure mode where nothing is saved and the new state is returned. It also tells the agent how to report alignment_restarted and partner_emailed and to stay silent on false values.

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 irreversible-confirmation requirement, then the conditional alignment step, then the reporting rules. It is somewhat long and the expected_module_state instruction repeats the schema, but virtually every sentence carries actionable instruction.

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, non-idempotent mutation this covers confirmation, input provenance, concurrency behavior, side effects, and how to phrase results to the customer. An output schema exists, so return-value structure need not be restated.

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 both properties are already fully documented, including the enum and the conflict behavior. The description mainly reinforces the schema (id from the list tool, only own rows, pass expected_module_state even when open) rather than adding new semantics, so baseline 3 applies.

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?

"Deletes one of the customer's own dependents or pets" gives a specific verb, a specific resource, and a scope restriction (own row). An agent can distinguish it from update_family_member and delete_asset 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?

It names the source of required inputs (list_family_members), mandates customer confirmation before calling, and adds an extra consent step specifically when module_state is edit_restarts_alignment. When-to-use, prerequisites, and the escalation condition are all explicit.

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