Skip to main content
Glama

Solucionar o chamado

glpi_solucionar_chamado

Propose a solution for a GLPI ticket, moving it to Solved for requester approval or direct closure when approval is not required; also applies the solution to linked duplicate tickets.

Instructions

PROPÕE a solução do chamado: ele vai para Solucionado e o requerente aprova ou recusa (se a entidade não exige aprovação, fecha direto). texto: simples ou Markdown básico. Atenção: se a preferência do usuário "atribuir a mim ao solucionar" estiver ligada no GLPI, quem soluciona vira técnico do chamado. A solução também vale para os chamados vinculados como duplicados.

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_solucionar_chamado"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
textoYes
tipo_solucao_idNo
confirmado_pelo_usuarioNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A4/5.0
Behavior5/5

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

Annotations only say it is a non-destructive, non-idempotent, open-world mutation. The description goes well beyond that: it discloses the state transition, the requester approval branch, the entity-preference branch that closes directly, the side effect where the solver becomes the technician if the 'assign to me on solve' preference is on, and that linked duplicates are also solved. Those are exactly the non-obvious consequences an agent needs before mutating.

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 verb and outcome are front-loaded in the first clause, and every sentence contributes a distinct consequence. It is slightly run-on and could be broken into clearer bullet-like segments, but there is no filler.

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

Completeness4/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 description thoroughly covers the mutation's side effects and branching. The remaining gap is the undocumented 'tipo_solucao_id' and 'confirmado_pelo_usuario' parameters, which matters for a mutation tool with four inputs.

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%, so the description carries full burden, and it only clarifies 'texto' (plain or basic Markdown). The purpose and effect of 'tipo_solucao_id' and 'confirmado_pelo_usuario' are never explained, leaving half the parameters opaque.

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?

The description names a specific verb and resource ('PROPÕE a solução do chamado') and immediately frames the state transition to 'Solucionado'. That proposal-with-approval framing is what separates it from update, comment, or rating siblings without needing to name them.

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?

The conditional workflow (requester approves/rejects, or direct close when the entity doesn't require approval) tells the agent when the outcome is appropriate, but there is no explicit statement of when to prefer this over glpi_atualizar_chamado or glpi_avaliar_atendimento. Usage is implied by the described outcome rather than stated.

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