Skip to main content
Glama

Personificar e obter o token temporário de outra pessoa a partir de seu código (Auth)

zeev_get_tokens_impersonate_by_userid
Read-onlyIdempotent

Obtain a temporary access token for another Zeev user by their user ID, enabling authorized impersonation for API actions.

Instructions

Personificar e obter o token temporário de outra pessoa a partir de seu código (Auth) https://kb.stoque.com.br/zeev/apis/all/access/tokens Endpoint: GET /api/2/tokens/impersonate/{userid} Categoria: Tokens / Segurança

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_get_tokens_impersonate_by_userid"
  }
}

Input Schema

NameRequiredDescriptionDefault
userIdYesCódigo da pessoa a ser personificada Local: path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

The description adds meaningful behavior beyond the annotations: it impersonates another person and returns a temporary token. It still omits important operational context such as required permissions, token lifetime, and security implications, so with annotations already covering read-only/idempotent flags, this remains a moderate score.

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?

The description is short and front-loads the key action and endpoint. It repeats the title as the first line, which is slightly redundant, but the documentation link, endpoint, and category are useful and not excessive.

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 simple one-parameter retrieval tool with no output schema, the definition gives the endpoint and purpose but does not address authorization requirements or token properties. Given that this is an impersonation/security operation, that missing context is a meaningful gap.

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 schema already defines userId as the code of the person to impersonate. The description reinforces that the value is a code and is placed in the path, but adds no syntax or format details beyond the schema.

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

Purpose5/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: impersonate another person and obtain their temporary token. It distinguishes the user-id variant by saying 'a partir de seu código' and showing the endpoint /api/2/tokens/impersonate/{userid}, which differentiates it from the sibling by_username tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied clearly enough: use this when you need to impersonate another user by their code/userId. However, it does not explicitly say when to use this versus zeev_get_tokens or zeev_get_tokens_impersonate_by_username, nor does it state prerequisites or exclusions.

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