Skip to main content
Glama

Desativar uma pessoa por código (Auth)

zeev_patch_users_by_userid_account_deactivate
Destructive

Deactivate a Zeev user account by user ID to revoke access and disable sign-in. Use it when you need to suspend a person's account through the People API.

Instructions

Desativar uma pessoa por código (Auth) https://kb.stoque.com.br/zeev/apis/all/access/people/account Endpoint: PATCH /api/2/users/{userid}/account/deactivate 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_deactivate"
  }
}

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.5/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, openWorldHint=true and idempotentHint=false, so the safety profile is covered. The description adds nothing beyond that — it does not say what deactivation actually does to the person, whether it is reversible via activate, or what happens to their group/position assignments. For a destructive account operation this leaves meaningful behavioral questions unanswered.

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?

The text is short and the action is front-loaded, so it is not bloated. However, roughly half of it is boilerplate (a raw URL, an endpoint line, and a category label) that repeats structured information rather than contributing to correct invocation.

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?

This is a destructive, non-idempotent mutation on a user account with no output schema, so the description should explain effect and reversibility. It instead provides only a title echo plus documentation links, leaving the agent to open the KB article to understand consequences.

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% and the single userId parameter is fully documented as the local person identifier with location path. The description's "por código" merely echoes that, adding no format, range, or lookup guidance, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The text "Desativar uma pessoa por código" names a specific verb (deactivate) and resource (person), but it is a verbatim restatement of the title rather than added explanation. It does not distinguish this from the obvious siblings activate/lock/unlock on the same user resource, so an agent must infer the difference from names alone.

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 use this versus zeev_patch_users_by_userid_account_activate, _lock, or _unlock, and no statement of prerequisites such as required permissions or account state. The only added material is a KB link and the raw endpoint path, which is reference data, not usage guidance.

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