Skip to main content
Glama

Ativar uma pessoa por código (Auth)

zeev_patch_users_by_userid_account_activate

Activates a Zeev user account by user ID through the API, restoring access for an existing person record.

Instructions

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

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

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false and openWorldHint=true, so the mutation/safety profile is carried structurally. The description adds nothing beyond that: it doesn't say what activating changes about the account, whether it is reversible, whether notifications are sent, or why the call is non-idempotent.

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 title and endpoint are front-loaded and there is no padding beyond a knowledge-base URL and a category line, which are boilerplate rather than substance. It is short but largely repeats the name rather than explaining it.

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?

For a one-parameter, no-output-schema tool with annotations present, the definition gives enough to call it correctly (method, path, parameter location). It stops short of explaining the account-state effect of activation or any preconditions, which is the remaining gap for a state-changing endpoint.

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 as an int32 path identifier, so the baseline of 3 applies. The description only echoes the path placeholder ({userid}) and adds no extra meaning such as valid ID sources or lookup behavior.

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 title/description states a specific verb+resource: activating a person's account (PATCH /api/2/users/{userid}/account/activate). The endpoint path distinguishes it from the sibling deactivate/lock/unlock variants, so an agent can tell it apart, although the description never names those alternatives in prose.

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 explicit statement of when to use this versus deactivate, lock, or unlock, nor any prerequisite (e.g., the account must exist and be pending activation). The only signal is the endpoint path, which requires the agent to infer usage from the URL.

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