Skip to main content
Glama

Ativar uma função pelo identificador (Auth)

zeev_patch_positions_by_positionid_activate

Activates a Zeev position (role) by its positionId through the PATCH endpoint, letting you enable a previously inactive role for access management.

Instructions

Ativar uma função pelo identificador (Auth) https://kb.stoque.com.br/zeev/apis/all/access/roles/manage Endpoint: PATCH /api/2/positions/{positionid}/activate 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": {
      "positionId": "<positionId>"
    },
    "name": "zeev_patch_positions_by_positionid_activate"
  }
}

Input Schema

NameRequiredDescriptionDefault
positionIdYesIdentificador da função / 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 the full safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true, idempotentHint=false). The description adds a KB link, endpoint path, and category label, but says nothing about what activation actually changes for a position, who may perform it, or whether repeated calls are safe despite the non-idempotent hint.

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 first line merely repeats the title, and a bare URL plus category tag are appended without much structure. It is short, but the repetition of the title and raw link cost it efficiency points.

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 mutation with no output schema, the description covers the endpoint and identifier adequately. However, it omits the effect of activation and prerequisites, which are the pieces an agent would still need before calling it.

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% — the single positionId parameter is already documented with type, location, and meaning. The phrase 'pelo identificador' adds nothing beyond the schema, so the baseline of 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 states a specific verb and resource ('Ativar uma função pelo identificador') and backs it with the exact endpoint PATCH /api/2/positions/{positionid}/activate, so an agent knows precisely what operation this is. It does not mention the sibling deactivate tool or otherwise differentiate itself, which keeps it at 4 rather than 5.

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 guidance on when to use this versus zeev_patch_positions_by_positionid_deactivate or the team/user activate variants. The only signal is the parenthetical '(Auth)', which hints at permissions but is not an instruction. An agent must infer the use case from the name alone.

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