Skip to main content
Glama

Algizian

Delete test user

delete_test_user
DestructiveIdempotent

Requires sign-in (scope orgs:manage). Delete a test user with its sessions and refresh tokens. A real user id is refused (404).

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": {
      "tenant": "<tenant>",
      "id": "<id>"
    },
    "name": "delete_test_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesidentifier of the item, as returned by the matching list or get tool
tenantYestenant slug

Output Schema

NameRequiredDescriptionDefault
resultYesThe result of the call: the same JSON the REST API returns for this operation (docs/api, the OpenAPI document), or null when there is nothing to return.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is partly covered. The description adds genuinely new behavior: an auth requirement with the exact scope (orgs:manage), the cascading deletion of sessions and refresh tokens, and the 404 refusal for real user ids. It does not say what happens on a repeat delete of an already-removed test user, despite the idempotent hint.

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?

Three short sentences, no waste, with the auth prerequisite and scope front-loaded before the action and the failure condition. Every sentence carries distinct information.

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?

An output schema exists, so return values need no explanation, and the destructive cascade, auth scope, and refusal condition are all covered for a two-parameter mutation. The only gap is the repeat-delete behavior implied by idempotentHint but never spelled out.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds a real constraint on the id parameter that the schema does not state: it must be a test user id, otherwise the call 404s. Tenant semantics remain entirely delegated to the schema.

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 and resource ('Delete a test user') plus the cascade scope ('with its sessions and refresh tokens'). The 'test user' qualifier distinguishes it from the sibling delete_user, though it never names that sibling explicitly.

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?

Effectively sets the boundary: this is for test users, and 'A real user id is refused (404)' tells the agent not to point it at production users. It stops short of naming delete_user as the alternative for real users, leaving that inference to the agent.

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