Skip to main content
Glama

Desbloquear o acesso de uma pessoa ao sistema por código (Auth)

zeev_patch_users_by_userid_account_unlock
Destructive

Unlocks a Zeev user account by user ID, restoring system access after an account lockout.

Instructions

Desbloquear o acesso de uma pessoa ao sistema por código (Auth) https://kb.stoque.com.br/zeev/apis/all/access/people/account Endpoint: PATCH /api/2/users/{userid}/account/unlock Categoria: People / Pessoas

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": {
      "userId": "<userId>"
    },
    "name": "zeev_patch_users_by_userid_account_unlock"
  }
}

Input Schema

NameRequiredDescriptionDefault
userIdYesCódigo identificador da pessoa Local: path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, readOnlyHint=false and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that: no mention of required permissions (Auth scope), no statement of what unlocking restores (sessions, access rights), and no error behavior if the account is not locked.

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

Conciseness3/5

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

It is short, but most of the content is a restated title, a KB link, a raw endpoint and a category label rather than operational guidance. No wasted prose, but also no front-loaded value beyond the title.

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

Completeness2/5

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

For a destructive, non-idempotent mutation with no output schema and no annotations-rich description, an agent still lacks the essentials: prerequisites, authorization requirements, and observable effects of the call.

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 userId parameter is fully documented including its path location. The phrase 'por código' loosely reinforces that the value is an identifier, but nothing is added beyond 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?

The description states a specific verb and resource ('Desbloquear o acesso de uma pessoa ao sistema'), and the endpoint path makes the target ('users/{userid}/account/unlock') unambiguous. It implicitly contrasts with the sibling lock tool, though it never names it.

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?

Usage is only implied by the wording 'desbloquear' and the endpoint. There is no statement of when to call this versus lock/deactivate/activate, nor any prerequisite such as the account needing to be locked first.

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