Skip to main content
Glama

Criar uma função (Auth)

zeev_post_positions

Creates a position (role) in Zeev through the API, letting you define its name, code, type, status, team, parent, and description for access management.

Instructions

Criar uma função (Auth) https://kb.stoque.com.br/zeev/apis/all/access/roles/manage Endpoint: POST /api/2/positions 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": {
      "body": "<body>"
    },
    "name": "zeev_post_positions"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesDados da função Local: body; nome na API: positionEnvelope

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent and open-world behavior, so the bar is lower, but the description adds nothing beyond a knowledge-base URL and the endpoint path. It does not say what happens on duplicate names/codes, what the 'Auth' in the title implies for credentials, or what is returned. The doc link is the only value-add.

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?

Very short and front-loaded with the purpose, which is good, but much of the content is metadata scaffolding (repeated title, raw URL, category label) rather than information an agent can act on. Nothing is verbose, but little earns its place beyond the endpoint line.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutating create endpoint with a nested request body and no output schema, the description omits what the caller gets back (e.g., the created position's id) and any error/prerequisite behavior. Annotations and a fully documented schema cover part of the burden, but the definition is thin for a write operation.

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 every nested body field (code, name, type, active, teamId, parentId, description) is documented in the schema itself. The description adds no meaning 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?

"Criar uma função" gives a specific verb (create) plus resource, and the endpoint line POST /api/2/positions disambiguates 'função' as a position/role object. It is clearly distinguishable from read or activate siblings, though it never explicitly contrasts itself with them.

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 create a position versus using the activate/deactivate or user-assignment siblings, and no stated prerequisites such as permissions or whether the code must be unique. The only usage signal is the implicit 'POST' semantics of the endpoint.

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