Skip to main content
Glama

Algizian

Block user

block_user
DestructiveIdempotent

Requires sign-in (scope orgs:manage). Block a user on this tenant: sign-in is refused and their sessions and refresh tokens end at once. Other tenants are not affected.

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": "block_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.3/5.0
Behavior5/5

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

Annotations already declare destructive=true and idempotent=true, and the description still adds substantive context beyond them: the required auth scope, the fact that sessions and refresh tokens are terminated immediately rather than at next login, and the tenant boundary limiting impact. This is exactly the kind of effect and blast-radius disclosure a mutation tool needs on top of hints.

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?

Two sentences, no redundancy: the prerequisite is front-loaded, then the effect, then the scope boundary. Every clause carries information an agent needs before calling.

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 two-parameter mutation with an output schema already describing return values, the description covers the remaining unknowns: auth requirement, immediate session termination, idempotency context, and tenant isolation. Nothing an agent needs in order to invoke it safely is missing.

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 100%, so both `id` and `tenant` are already documented structurally, and the description adds only that the block is scoped "on this tenant." That matches the baseline of 3 for a fully documented two-parameter schema with no format or syntax guidance added in prose.

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 ("Block a user on this tenant") and immediately defines the observable effect: sign-in refused, sessions and refresh tokens terminated. The tenant-scoping clause ("Other tenants are not affected") makes the blast radius unambiguous, so an agent can tell this apart from delete_user or other user-management siblings without opening a schema.

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?

The description supplies a real precondition ("Requires sign-in (scope orgs:manage)"), which is meaningful invocation guidance. However, it never says when to prefer blocking over the sibling alternatives such as delete_user, nor does it point to unblock_user as the reversal path, so the when-to-use-vs-alternatives dimension is only implied.

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