Skip to main content
Glama

Buscar na base de conhecimento

glpi_buscar_conhecimento
Read-onlyIdempotent

Search GLPI knowledge base articles by subject, content, category, or FAQ to check whether a documented solution already exists before answering a ticket. Read results with the article tool.

Instructions

Procura artigos na base de conhecimento do GLPI (assunto e conteúdo), entre os que o perfil ativo pode ver. Use antes de responder a um chamado: pode já existir a solução documentada.

texto: palavra ou trecho (vazio lista os mais recentes). so_faq: só itens do FAQ. categoria: parte do nome da categoria. limite: até 100. Leia um artigo com glpi_ler_artigo.

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

Input Schema

NameRequiredDescriptionDefault
textoNo
inicioNo
limiteNo
so_faqNo
categoriaNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: results are limited to what the active profile can see, an empty texto returns the most recent articles, and limite caps at 100. It does not describe ordering or pagination behavior, keeping it short of a 5.

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?

The purpose and the highest-value constraint (visibility by profile, use before answering a ticket) are front-loaded in the first two sentences, then the parameters follow in a terse one-line-per-parameter block. There is no filler, and the final pointer to glpi_ler_artigo is a single short clause.

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

Completeness5/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-value structure need not be explained, and the annotations cover the read-only/idempotent profile. For a five-parameter, zero-required search tool the description supplies purpose, trigger, permission scoping, empty-query behavior, the limit ceiling, and the follow-up tool — enough for an agent to call it correctly without opening the schema.

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 description coverage is 0%, so the description must carry the load and it mostly does: texto (word or excerpt, empty = most recent), so_faq (FAQ only), categoria (partial category name) and limite (max 100) are all explained with meaning the bare schema lacks. The fifth parameter, inicio, is never mentioned, leaving the offset behavior undocumented in both places.

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?

"Procura artigos na base de conhecimento do GLPI (assunto e conteúdo)" gives a specific verb plus resource and even states which fields are matched, which is more than the title alone conveys. The permission scoping ("entre os que o perfil ativo pode ver") further narrows what the tool actually returns, so an agent can distinguish it from the ticket/user/group search siblings.

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?

It states a concrete usage moment — "Use antes de responder a um chamado: pode já existir a solução documentada" — and routes the agent onward with "Leia um artigo com glpi_ler_artigo". What is missing is any when-not condition or a note on when to prefer a different search sibling, so it is clear context without explicit exclusions.

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