Skip to main content
Glama

Criar itens de qualquer tipo

glpi_criar_itens

Creates one or more GLPI operational items, such as changes, problems, projects, documents, knowledge base articles, or links, on behalf of the requesting user after confirmation.

Instructions

CRIA um ou vários itens de um tipo operacional (mudança, problema, projeto, documento, artigo da base de conhecimento, vínculo...). Grava no GLPI em nome do usuário: só a pedido dele, e o servidor pede confirmação. Para chamados use as ferramentas de chamado (glpi_abrir_chamado, glpi_comentar_chamado...), que conferem as regras do GLPI antes de enviar.

dados: os campos do item; uma lista cria vários (lote é operação crítica). Cadastros e configuração do GLPI não são gravados por aqui.

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": {
      "itemtype": "<itemtype>",
      "dados": "<dados>"
    },
    "name": "glpi_criar_itens"
  }
}

Input Schema

NameRequiredDescriptionDefault
dadosYes
itemtypeYes
confirmado_pelo_usuarioNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly=false, openWorld=true, idempotent=false; the description adds that writes happen on behalf of the user, only at their request, that the server requests confirmation, and that passing a list is a critical batch operation. It does not cover failure/partial-batch behavior, which keeps 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.

Conciseness4/5

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

Front-loaded with the verb and the item-type enumeration, then the ticket redirect, then parameter guidance; the two paragraphs each carry distinct content. The type list is slightly long but every entry earns its place as scope definition.

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 safety/confirmation context is well covered. The critical gap is that the agent is never told which string values "itemtype" accepts, which is the single hardest thing to infer for a generic "any type" create tool with no schema descriptions.

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?

With 0% schema coverage the description carries the burden, and it explains "dados" well, including the object-vs-list duality and the batch implication. However "itemtype" is never explained (no enum, no valid values such as Change/Problem/Project/Document), and "confirmado_pelo_usuario" is only obliquely referenced as "o servidor pede confirmação", so a significant portion of the schema is still guesswork.

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 opens with the specific verb "CRIA" and enumerates the resource classes (mudança, problema, projeto, documento, artigo da base de conhecimento, vínculo), then explicitly redirects tickets to glpi_abrir_chamado/glpi_comentar_chamado. An agent can distinguish this generic create tool from the ticket-specific and update/delete siblings 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?

It states when to use it (any operational item type, on the user's explicit request, with server-side confirmation) and when not to (tickets must go through the ticket tools, and "Cadastros e configuração do GLPI não são gravados por aqui"). Both a named alternative family and an explicit exclusion are given.

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