Skip to main content
Glama

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

zeev_patch_users_by_userid_account_lock
Destructive

Locks a user account by ID to block system access for a specific person.

Instructions

Bloquear 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/lock 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_lock"
  }
}

Input Schema

NameRequiredDescriptionDefault
userIdYesCódigo identificador da pessoa Local: path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/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 known structurally. The description adds nothing beyond that: no statement of whether the lock is reversible (an unlock sibling exists but is never referenced), what the locked user experiences, or what the response looks like.

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?

Very short and front-loaded with the action, and the KB link is genuinely useful. However, the first line is a verbatim restatement of the title, and the endpoint and category lines are metadata padding rather than agent-facing guidance.

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 PATCH mutation with no output schema, the description should disclose reversibility, prerequisites (Auth scope), and effect on the target account; it discloses none of these. The presence of explicit annotations partially offsets the gap but does not cover reversibility or side effects.

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?

Only one parameter, and the schema documents it at 100% coverage ("Código identificador da pessoa", path). The description adds no syntax, format, or sourcing detail beyond the schema's own text, so the baseline 3 applies.

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: "Bloquear o acesso de uma pessoa ao sistema por código" identifies locking a person's system access keyed by a code. The imperative verb (Bloquear) is distinct from sibling actions (unlock, deactivate, activate), so an agent can separate it from siblings by name alone, but the text never explicitly contrasts them.

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?

No when-to-use or when-not-to guidance is offered beyond the purpose statement; there is no mention of when to lock versus deactivate or delete a user, even though those siblings exist in the catalog. The category line ("People / Pessoas") adds almost no routing value.

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