Skip to main content
Glama

Copia todos os grupos de manutenção de uma pessoa para outra (Auth)

zeev_post_users_by_userid_groups_copy_by_newuserid

Copies all maintenance groups from a source user to a target user in Zeev, transferring group access between people via the API.

Instructions

Copia todos os grupos de manutenção de uma pessoa para outra (Auth) https://kb.stoque.com.br/zeev/apis/all/access/people/groups Endpoint: POST /api/2/users/{userid}/groups/copy/{newuserid} 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>",
      "newUserId": "<newUserId>"
    },
    "name": "zeev_post_users_by_userid_groups_copy_by_newuserid"
  }
}

Input Schema

NameRequiredDescriptionDefault
userIdYesCódigo identificador da pessoa de origem Local: path
newUserIdYesCódigo identificador da pessoa de destino 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, destructiveHint=false and idempotentHint=false, so the description's remaining job is to explain the merge/replace semantics, which it does not. A caller cannot tell from this text whether the destination's existing groups are preserved or overwritten, whether the source's groups are removed, or whether the call requires elevated privileges to use Auth.

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

Conciseness4/5

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

It is short and front-loaded: the first line states the action, followed by a KB link, the raw endpoint, and a category label. The endpoint line and category are somewhat redundant with the tool name, but they are cheap and useful for a generated API surface.

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?

Although the tool has only two required parameters and carries annotations, the description omits the one behavioral fact a caller needs before mutating group membership — how destination groups are reconciled. With no output schema to fall back on, the agent cannot predict the result of the call from this stub.

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%, with both parameters already labelled as source (origem) and destination (destino) path identifiers. The description adds no meaning beyond the schema — no note on whether IDs may be zero, whether the IDs must differ, or what happens on unknown IDs — so the baseline of 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?

The description states a specific verb and resource: copy all maintenance groups from one person to another, backed by the endpoint POST /api/2/users/{userid}/groups/copy/{newuserid}. The source/destination semantics ('de uma pessoa para outra') distinguish it from siblings that copy positions (positions_copy) or add a single group (groups_by_groupid), though it never names those alternatives explicitly.

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 when-to-use or when-not guidance. The only contextual hint is the '(Auth)' tag, which implies authentication is required, but nothing tells the agent whether to prefer this bulk copy over zeev_post_users_by_userid_groups_by_groupid or zeev_get_users_by_userid_groups for inspection, nor what preconditions must hold.

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