Skip to main content
Glama

Obter função pelo código original / integração (Auth)

zeev_get_positions_code_by_positioncode
Read-onlyIdempotent

Retrieves a Zeev position (role/function) by its original integration code, resolving a positionCode to the matching role record for access or task workflows.

Instructions

Obter função pelo código original / integração (Auth) https://kb.stoque.com.br/zeev/apis/all/access/roles/consult Endpoint: GET /api/2/positions/code/{positioncode} Categoria: Positions / Funções

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": {
      "positionCode": "<positionCode>"
    },
    "name": "zeev_get_positions_code_by_positioncode"
  }
}

Input Schema

NameRequiredDescriptionDefault
positionCodeYesCódigo original / integração da posição 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, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered by structured data. The description adds only the raw endpoint path, category label and a KB link, but says nothing about failure modes, lookup-miss behavior, auth/permission requirements, or what a returned 'função' contains.

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, but the first line simply repeats the title verbatim, and the raw URL plus the 'Endpoint:' line largely restate what the tool name already encodes. Most content is boilerplate rather than task-relevant guidance.

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 one-parameter lookup with full schema coverage and no output schema, the definition is minimally sufficient: it conveys what is looked up and by which key. However, with no output schema the agent gets no sense of the returned position object, and nothing describes what happens when the code does not exist.

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 parameter already documents itself as the original/integration code passed in the path. The description restates the same phrase without adding format, casing, or validation semantics, so baseline 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 names a specific verb+resource ('Obter função') and pins down the key distinguishing qualifier: lookup by 'código original / integração' rather than the internal id, which separates it from the by_positionid sibling. It is not explicit about which sibling it contrasts with, but the retrieval scope is unambiguous.

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-to-use statement and no alternative tool is named; the agent must infer from the name that this applies when it holds an external/integration code rather than an internal position id. Prerequisites such as auth scope and behavior for an unknown code are not stated.

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