Skip to main content
Glama

Obter token temporário a partir de usuário e senha

zeev_post_tokens

Obtains a temporary access token from user login and password to authenticate Zeev API calls. Use it when protected endpoints require Bearer authentication.

Instructions

Obter token temporário a partir de usuário e senha https://kb.stoque.com.br/zeev/apis/all/access/tokens Endpoint: POST /api/2/tokens 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": {
      "body": "<body>"
    },
    "name": "zeev_post_tokens"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesCredenciais da pessoa Local: body; nome na API: userCredentials

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds that the issued token is temporary and that credentials are exchanged for it, which is useful context beyond the annotations, but it omits how long the token lives, whether repeated calls invalidate prior tokens, and any auth failure behavior.

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 text is short and front-loads the purpose, but the first line simply duplicates the title, and the endpoint/category lines are generated metadata rather than agent-facing explanation. The documentation link is the only genuinely additive element and it sits mid-block rather than being framed as reference material.

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?

The tool is simple (one nested body parameter, fully described schema, no output schema), so the definition is minimally adequate. However, with no output schema the description should say what the response contains — token field name, expiry, refresh expectations — and it does not, leaving the agent to guess what a successful call returns.

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 nested body object already documents login and password with the Local/API name mapping (userCredentials). The phrase 'a partir de usuário e senha' only restates the schema, adding no format, encoding, or constraint detail. Baseline 3 applies when the schema carries the semantics.

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 action and resource: obtaining a temporary token from a username and password, plus the concrete endpoint POST /api/2/tokens and the Tokens/Security category. It does not distinguish this from the several sibling token tools (zeev_get_tokens, zeev_get_tokens_impersonate_by_userid, zeev_get_tokens_impersonate_by_username), so the agent cannot tell from the description alone which token variant applies.

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 at all: no statement that this is the primary credential-based login path, no mention of when to prefer the impersonation token siblings, and no note about prerequisites such as a valid active user. The category label 'Tokens / Segurança' is metadata, not usage guidance.

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