Skip to main content
Glama

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

zeev_get_tokens_impersonate_by_username
Read-onlyIdempotent

Impersonate a Zeev user by username and retrieve a temporary access token to perform API actions on their behalf.

Instructions

Personificar e obter o token temporário de outra pessoa a partir de seu username (Auth) https://kb.stoque.com.br/zeev/apis/all/access/tokens Endpoint: GET /api/2/tokens/impersonate/{username} 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": {
      "username": "<username>"
    },
    "name": "zeev_get_tokens_impersonate_by_username"
  }
}

Input Schema

NameRequiredDescriptionDefault
usernameYesUsername da pessoa a ser personificada Local: path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds the endpoint form and a KB documentation link, which is useful, but for a credential-issuing operation it says nothing about token lifetime, required privileges, or whether the returned token must be handled as a secret.

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?

Very short and front-loaded: the operation is stated first, followed by the doc link, endpoint, and category. Some of it duplicates the title verbatim and the 'Categoria' line adds little, but nothing bloats 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 single-parameter GET with full schema coverage and complete annotations, the definition is adequate to invoke correctly. It is still thin on the two things an agent most needs here: how this differs from the by_userid sibling, and what the returned temporary token implies (expiry, privileges).

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 path parameter is documented in the schema including its 'Local: path' placement. The description only restates that the username identifies the person to impersonate, adding no format, casing, or lookup semantics beyond the schema.

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 concrete verb+resource pair: impersonate a person and obtain a temporary token, keyed by username, plus the endpoint GET /api/2/tokens/impersonate/{username}. It is distinguishable from generic token tools, but it never mentions the sibling zeev_get_tokens_impersonate_by_userid, which performs the same operation with a different identifier, so the agent gets no help choosing between 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 when-to-use guidance, no precondition (e.g. that the caller needs admin/impersonation permission), no note that the caller must already know the username rather than a user id, and no exclusion pointing to the userid variant. The only usage signal is the endpoint path itself.

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