Skip to main content
Glama

Adicionar tarefa ao chamado

glpi_adicionar_tarefa

Adds a task to a GLPI ticket with description, duration, assignee, and optional schedule; use it to plan work and move the ticket to planned handling.

Instructions

ADICIONA uma tarefa ao chamado (perfil técnico). texto: simples ou Markdown básico. duracao_minutos: tempo gasto ou previsto. tecnico_id / grupo_tecnico_id: responsável pela tarefa. inicio e fim (AAAA-MM-DD HH:MM:SS) planejam a tarefa na agenda, e o chamado vai para "Em atendimento (planejado)".

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": {
      "id": "<id>",
      "texto": "<texto>"
    },
    "name": "glpi_adicionar_tarefa"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
fimNo
textoYes
estadoNoa_fazer
inicioNo
privadaNo
tecnico_idNo
duracao_minutosNo
grupo_tecnico_idNo
colocar_em_pendenteNo
confirmado_pelo_usuarioNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.2/5.0
Behavior3/5

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

The description discloses a genuine side effect beyond the annotations: supplying inicio/fim schedules the task and moves the ticket to "Em atendimento (planejado)". With readOnlyHint=false and idempotentHint=false already declared, that side-effect note is the main added value, but nothing is said about permissions, duplicates, or what happens if scheduling fields conflict.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Compact and front-loaded, with the operation stated first and parameter notes following as short labeled phrases. Dense but nearly every clause carries information; only the scheduling clause is slightly run-on.

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 an 11-parameter mutation tool with zero schema descriptions, the description covers the core scheduling story but leaves the state/flag parameters undocumented, including the meaning of the estado enum and the effect of colocar_em_pendente or confirmado_pelo_usuario. The presence of an output schema relieves it of explaining return values.

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 0%, so the description must carry the burden, and it partly does: texto (plain or basic Markdown), duracao_minutos (spent or planned time), tecnico_id/grupo_tecnico_id (task assignee), and the AAAA-MM-DD HH:MM:SS format for inicio/fim. However, five of eleven parameters (id, estado with its a_fazer/feita/informacao enum, privada, colocar_em_pendente, confirmado_pelo_usuario) get no explanation at all.

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?

"ADICIONA uma tarefa ao chamado" is a specific verb+resource, and the parenthetical "(perfil técnico)" flags the required profile. It is clearly distinct from glpi_atualizar_tarefa, though the description never names that sibling to make the boundary explicit.

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?

The only usage signal is the profile hint "(perfil técnico)". There is no guidance on when to add a task versus comment on the ticket (glpi_comentar_chamado) or when to use glpi_atualizar_tarefa instead, and no prerequisites or exclusions are stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.