Skip to main content
Glama

Desativar uma função pelo identificador (Auth)

zeev_patch_positions_by_positionid_deactivate
Destructive

Deactivates a Zeev position (role) by ID, disabling it without deleting it. Use it to remove an active position's access or status via the API.

Instructions

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

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 destructiveHint=true, idempotentHint=false and readOnlyHint=false, so the safety profile is covered. The description adds a docs link and endpoint path, but never says what happens to users assigned to the deactivated position, whether the change is reversible, or what the response contains — meaningful gaps for a destructive mutation.

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-loaded with the action, but the first line merely restates the title and the remaining lines are a raw link, endpoint and category label. No sentence is harmful, yet little of it earns its place beyond the endpoint path.

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 mutation with full schema coverage and annotations that flag destructiveness, the definition is minimally sufficient to invoke the call. It is incomplete on consequences and reversibility, which matter for a destructive operation with no output schema to clarify results.

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?

There is a single parameter with 100% schema coverage, and the schema already explains it as the position identifier located in the path. The description adds nothing further about format, sourcing, or lookup, 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 ('Desativar') plus resource ('uma função') plus selection key ('pelo identificador'), which is unambiguous. The activate/deactivate distinction is carried by the verb and name rather than an explicit contrast with zeev_patch_positions_by_positionid_activate, so it falls just short of 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?

No when-to-use guidance: nothing says when to deactivate a position versus deleting it, what prerequisites exist, or what to do if the position is already inactive. The intended use is only implied by the verb.

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