Unlock a user
unlock_userClear the lock that five wrong codes in 15 minutes put on a user, and their count of wrong codes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | Your own id for the user. |
unlock_userClear the lock that five wrong codes in 15 minutes put on a user, and their count of wrong codes.
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | Your own id for the user. |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare this is a non-read-only, idempotent, non-destructive mutation. The description adds useful behavioral detail by stating exactly what is cleared: the lock and the count of wrong codes. It does not mention permission requirements or behavior when the user is already unlocked.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single efficient sentence that front-loads the action and includes the relevant causal context. There is no unnecessary text.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter mutation with annotations and full schema coverage, the description is nearly complete. It could optionally mention behavior for users who are not locked, but nothing critical for invocation is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, including the single required user_id parameter. The description adds no additional parameter semantics, so the schema already carries this dimension adequately.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource: clearing a user's lock and resetting their wrong-code count. It also names the exact trigger condition ('five wrong codes in 15 minutes'), making the tool's scope unambiguous and easy to distinguish from unrelated sibling tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The trigger condition is clear: use this when a user is locked after five wrong codes in 15 minutes. However, the description does not explicitly say when not to use it or name alternatives, so it falls short of full when/when-not guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.