Skip to main content
Glama

Copia todos os times e funções de uma pessoa para outra (Auth)

zeev_post_users_by_userid_positions_copy_by_newuserid

Copies all teams and roles from a source user to a destination user in Zeev, so you can replicate access assignments between people.

Instructions

Copia todos os times e funções de uma pessoa para outra (Auth) https://kb.stoque.com.br/zeev/apis/all/access/people/roles Endpoint: POST /api/2/users/{userid}/positions/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_positions_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.8/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=true, so the safety profile is partly covered. However, the description adds nothing about the behavior that actually matters here: whether positions already held by the destination user are merged or replaced, whether the source user keeps its positions, and what authorization is required. For a cross-user mutation, that is a meaningful gap.

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 and front-loaded, with the core action in the first line and the endpoint in a parseable form. However, the title is restated verbatim, and the 'Categoria: People / Pessoas' line plus the knowledge-base URL contribute little that an agent needs in order to invoke the tool correctly.

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 mutation that moves role assignments between two users and has no output schema, the definition does not say what happens on success, whether the operation can partially fail, or how destination conflicts are resolved. Endpoint and category metadata are present, but the behavior an agent needs in order to call this safely is not.

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%, with both userId and newUserId documented as 'path' int32 identifiers for source and destination. The description adds no semantics beyond the schema, so the baseline 3 applies; the source/destination distinction is already fully carried by the structured fields.

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: 'Copia todos os times e funções de uma pessoa para outra', with the endpoint POST /api/2/users/{userid}/positions/copy/{newuserid} confirming the directionality. It is largely distinguishable from the sibling groups-copy tool because it names 'times e funções' rather than groups, though it never explicitly differentiates the two.

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 when-to-use or when-not-to-use guidance, and no alternatives are named despite close siblings like zeev_post_users_by_userid_groups_copy_by_newuserid and zeev_post_users_by_userid_transfer_by_newuserid. The only implicit signal is the 'copy ... to another person' phrasing, which leaves the agent to infer prerequisites and the choice between copy, transfer, and group-copy.

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