Skip to main content
Glama

Alterar campos do chamado

glpi_atualizar_chamado

Update specific fields of an existing GLPI ticket, changing only the values you provide. Use it to fix details such as title, status, priority, category, or description.

Instructions

ALTERA campos de um chamado (só o que for informado).

Para comentar use glpi_comentar_chamado; para solucionar, glpi_solucionar_chamado (mudar o status para "solucionado" por aqui não registra a solução); para envolvidos, glpi_adicionar_ator e glpi_remover_ator. Mudar o status direto é operação crítica e respeita a matriz de status do perfil. Por padrão o chamado NÃO é marcado como "levado em conta" (o GLPI marcaria em qualquer alteração de quem o trata).

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>"
    },
    "name": "glpi_atualizar_chamado"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
tipoNo
statusNo
tituloNo
impactoNo
urgenciaNo
descricaoNo
notificarNo
prioridadeNo
categoria_idNo
localizacao_idNo
confirmado_pelo_usuarioNo
marcar_como_levado_em_contaNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true), and the description adds genuinely non-obvious behavior: status changes are critical and constrained by the profile's status matrix, and by default the ticket is NOT marked "levado em conta" even though raw GLPI would mark it on any handler edit. It does not explain the notificar/confirmado_pelo_usuario side effects, so it stops short of full disclosure for a mutation tool.

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?

The core mutation semantic is front-loaded, and the sibling routing is compressed into a compact semicolon-separated block with no filler. The parenthetical about "só o que for informado" and the closing note about "levado em conta" are both load-bearing, though the terse phrasing borders on cryptic.

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?

An output schema exists, so return values need no explanation, but for a 13-parameter mutation tool with zero schema descriptions the description leaves too much undocumented: which numeric scales impacto/urgencia/prioridade accept, what tipo and categoria_id expect, and what notificar=true actually triggers. Only the status and "levado em conta" behaviors are covered out of many behavioral questions an agent would have.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 13 parameters, so the description must carry the load and it does not: impacto, urgencia, prioridade, categoria_id, localizacao_id, tipo, notificar and confirmado_pelo_usuario are never explained, nor is the enum domain for status. It clarifies only two points — that unspecified fields are untouched, and the marcar_como_levado_em_conta default behavior — which is thin compensation for a 13-param surface.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"ALTERA campos de um chamado (só o que for informado)" states a specific verb, resource, and partial-update scope, and the following sentences name the exact siblings that handle commenting, solving, and actor management. An agent can distinguish this from glpi_comentar_chamado or glpi_solucionar_chamado without opening any schema.

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

Usage Guidelines5/5

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

The description explicitly routes the agent away from this tool for three neighbouring tasks (commenting, solving, involved parties) and names the alternative for each. It also warns that setting status to "solucionado" here does not register a solution, which is precisely the misuse case an agent would otherwise fall into.

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