Skip to main content
Glama

Buscar chamados

glpi_buscar_chamados
Read-onlyIdempotent

Search and filter GLPI tickets visible to the active profile by text, status, assignee, group, or date, returning newest first to locate support requests.

Instructions

Busca chamados que o perfil ativo enxerga, do mais recente para o mais antigo.

texto: procura no título e na descrição; se for um número, também no id. Com procurar_no_historico=true procura ainda nos acompanhamentos, tarefas e soluções (bem mais lento: use só quando a busca normal não achar). status: "abertos" (padrão), "todos", "fechados_ou_solucionados", "em_andamento", "nao_fechados" ou um status exato. atribuidos_a_mim / abertos_por_mim / observando: filtros pelo próprio usuário. dos_meus_grupos: atribuídos a qualquer grupo técnico do usuário. aguardando_minha_aprovacao: com pedido de aprovação pendente para o usuário ou grupo dele. atrasados: com o prazo de solução estourado. parados_ha_dias: sem atualização há N dias. grupo_tecnico, requerente, tecnico, categoria: parte do nome (ou do login). Datas no formato AAAA-MM-DD. limite: até 200 (use inicio para paginar). detalhe="resumido" traz só id, título, status, última atualização e técnico. Para abrir um chamado no navegador: link_base + id. Para ler um: glpi_ver_chamado.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "glpi_buscar_chamados"
  }
}

Input Schema

NameRequiredDescriptionDefault
tipoNo
textoNo
inicioNo
limiteNo
statusNoabertos
detalheNocompleto
ordenarNoatualizacao
tecnicoNo
atrasadosNo
categoriaNo
aberto_ateNo
observandoNo
requerenteNo
aberto_desdeNo
grupo_tecnicoNo
abertos_por_mimNo
dos_meus_gruposNo
parados_ha_diasNo
atribuidos_a_mimNo
atualizado_desdeNo
mais_antigos_primeiroNo
procurar_no_historicoNo
aguardando_minha_aprovacaoNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is settled. The description adds genuinely non-obvious behavior: results are filtered by the active profile's visibility, default ordering is newest-first, `limite` caps at 200 and pagination happens via `inicio`, and `detalhe="resumido"` returns only id, título, status, última atualização and técnico.

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?

Front-loaded purpose sentence followed by a compact parameter glossary, one line per concept, with the expensive-flag caveat attached inline. Dense but every line carries filter semantics; only the ordering parameters are left unaddressed.

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?

For a 23-parameter search tool with an output schema, the description covers the filters an agent is most likely to get wrong and warns about the slow path. The remaining gap is the sorting controls (`ordenar`, `mais_antigos_primeiro`, `tipo`), which are neither in the description nor documented in the schema beyond titles.

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

Parameters4/5

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

Schema coverage is 0% on 23 parameters, so the description carries the burden and does so for the obscure ones: the `*_mim`, `dos_meus_grupos`, `aguardando_minha_aprovacao`, `atrasados`, `parados_ha_dias` and name-part matching for `grupo_tecnico`/`requerente`/`tecnico`/`categoria`, plus the date format. It omits `tipo`, `ordenar` and `mais_antigos_primeiro`, and only lists some `status` values, so the enum set is still only in the schema.

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?

Opens with a specific verb+resource and scope: "Busca chamados que o perfil ativo enxerga, do mais recente para o mais antigo." It also routes the reader at the end ("Para ler um: glpi_ver_chamado"), distinguishing itself from the single-item read sibling.

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

Usage Guidelines4/5

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

Gives explicit when-to-use guidance for the risky/expensive option ("procurar_no_historico=true ... bem mais lento: use só quando a busca normal não achar") and points to glpi_ver_chamado for opening a ticket and to `link_base` + id for the browser. It does not cover when to prefer this over other broad search siblings, but the internal conditional guidance is clear.

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