Skip to main content
Glama

Alterar tarefa

glpi_atualizar_tarefa

Update a GLPI task's text, status, duration, or technician by task ID to mark it done or reassign work from the ticket timeline.

Instructions

ALTERA uma tarefa: texto, estado (por exemplo, marcar como feita), duração ou técnico. O id da tarefa aparece na timeline de glpi_ver_chamado.

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": {
      "tarefa_id": "<tarefa_id>"
    },
    "name": "glpi_atualizar_tarefa"
  }
}

Input Schema

NameRequiredDescriptionDefault
textoNo
estadoNo
tarefa_idYes
tecnico_idNo
duracao_minutosNo
confirmado_pelo_usuarioNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnly=false, destructive=false, idempotent=false and openWorld=true, so the safety profile is covered and the description need not repeat it. The description confirms partial mutation of named fields, but says nothing about the confirmation gate implied by the confirmado_pelo_usuario parameter or about what happens to omitted/null fields, which are the behaviors an agent most needs before mutating a task.

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

Conciseness5/5

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

Two short sentences with the operation front-loaded and the prerequisite hint trailing; nothing is repeated from the schema or the annotations, and every clause carries information.

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?

An output schema exists, so return values need no explanation, and the annotations cover the risk profile of this mutation. What is missing is the semantics of the boolean confirmation flag and of the optional parameters, which matter for a six-parameter update tool with no field-level documentation.

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 0%, so the description must carry the load; it names four of the six fields (texto, estado, duração, técnico) and indirectly covers tarefa_id via the timeline hint. It leaves confirmado_pelo_usuario completely unexplained and does not state the null-means-no-change semantics that all the nullable params rely on.

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 leads with a specific verb-and-resource pair ('ALTERA uma tarefa') and enumerates the mutable fields (texto, estado, duração, técnico), so an agent knows exactly what operation this is. It stops short of naming the sibling that a naive agent might confuse it with (glpi_adicionar_tarefa), relying on the add-vs-update contrast being self-evident.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is real practical guidance about locating the identifier ('O id da tarefa aparece na timeline de glpi_ver_chamado'), which tells the agent the prerequisite lookup step. However, there is no explicit statement of when to prefer this over glpi_adicionar_tarefa or glpi_atualizar_chamado, and no note that unspecified fields are left untouched.

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