Skip to main content
Glama

Remove Member

remove_member
DestructiveIdempotent

Removes a team member from the company, revoking their financial access while preserving historical tasks, interactions, and transactions. Requires owner role and blocks removal of the last owner.

Instructions

Remove a team member from the company. Deletes their company_members row, revoking all financial access. Their historical data (tasks, interactions, transactions) is preserved. Cannot remove the last owner. Requires owner role.

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": {
      "target_user_id": "<target_user_id>"
    },
    "name": "remove_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
target_user_idYesThe user_id of the member to remove.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the description's job is to add specifics — and it does: the exact row deleted, the access consequence, and the preservation of historical tasks/interactions/transactions. It stops short of saying whether the deletion is soft/recoverable (restore_item and list_deleted exist as siblings) or whether it is audited via get_audit_log.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the action and consequence, then the data-retention caveat, then the permission constraints. No filler and nothing that merely restates the title.

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

Completeness4/5

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

For a one-parameter destructive tool with no output schema, the description covers effect, side effects on data, and the two failure conditions — enough to call it safely. The remaining gap is recoverability: an agent cannot tell from this text whether a removed member can be restored afterward.

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 the single parameter target_user_id is fully documented in the schema, so the baseline of 3 applies. The description adds no format, lookup path, or disambiguation detail (e.g., how to obtain a user_id) beyond what the schema states.

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 ('Remove a team member from the company') and immediately clarifies the scope of the effect: it deletes the company_members row, not the person's history. This clearly separates it from add_member, set_member_owner, and the remove_customer/remove_contact siblings.

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

Usage Guidelines4/5

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

Gives explicit preconditions ('Requires owner role') and an exclusion ('Cannot remove the last owner'), so an agent knows when the call will fail. It does not, however, route the agent to the obvious alternative for the narrower case — set_financial_access exists as a sibling for revoking financial access alone without removing the member.

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

Deploy Server

Other Tools