Skip to main content
Glama

block_user

Blocks a user by ID, revoking their access to your account while making the block visible to them.

Instructions

Block an account. They lose access to you; this is visible to them.

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": {
      "user_id": "<user_id>"
    },
    "name": "block_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.0.6
    • removedInput schema / properties / user_id / description
      Removed value: -"The numeric user ID to block. Use get_user() first to get the ID."
    • changedInput schema / properties / user_id / type
      Previous value: -"integer"New value: +"string"
  2. First observedv1.0.3

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two real behavioral traits: the target loses access to you, and the block is visible to them. It omits reversibility, the effect on any existing follow relationship, permission requirements, and whether error cases (blocking yourself) are rejected.

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 short sentences with the action front-loaded and the consequence immediately after. No filler, no redundancy.

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

Completeness3/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 not be explained. But for an irreversible-seeming mutation with zero annotations, the definition should say the block can be undone and what it does to existing relationships; the visibility disclosure is the only behavioral detail present.

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

Parameters2/5

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

Schema coverage is 0% for the single user_id parameter, so the description must clarify it and does not. It never says whether user_id is the target's numeric ID or handle, nor that it identifies the account being blocked rather than the caller.

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?

"Block an account" gives a specific verb and resource, and the follow-up clause states the effect. It is clear on its own, but it does nothing to separate it from the sibling dm_block_user, so an agent must infer which blocking scope applies.

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

Usage Guidelines2/5

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

There is no guidance on when to choose this over mute_user, dm_block_user, or when to reverse it with unblock_user. The description never states prerequisites or exclusions, leaving the agent to infer everything from the tool name.

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