Skip to main content
Glama

O que posso fazer neste chamado

glpi_o_que_posso_fazer
Read-onlyIdempotent

Checks what the active GLPI profile can do on a ticket—comment, solve, approve, or assign—and explains why, so you can verify permissions before writing or after a refusal.

Instructions

Diz o que o perfil ativo consegue fazer num chamado (comentar, solucionar, aprovar, atribuir...) e por quê, reproduzindo as regras do GLPI. Use antes de escrever ou quando o GLPI recusar; se outro perfil resolver, troque com glpi_trocar_perfil.

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

Input Schema

NameRequiredDescriptionDefault
idYes

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 behavior, so the safety profile is covered. The description adds that the answer reflects GLPI's own permission rules and includes the reason, which tells the agent the output is authoritative and explanatory rather than a guess; it stops short of describing response shape or any caching, though an output schema exists.

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?

Two sentences, purpose first, then usage and the alternative tool — nothing redundant. It is dense but every clause (the action examples, the 'por quê', the profile-switch pointer) contributes information.

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 single-parameter read-only permission check with an output schema, the definition covers purpose, rationale, and escalation path adequately. The only shortfall is the undocumented ticket id parameter, which leaves the calling contract slightly under-specified.

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

Parameters3/5

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

Schema coverage is 0% and the single parameter 'id' has no documented meaning in the schema, so the description must carry it. The phrase 'num chamado' implies the id is a ticket identifier, but it never states the format, source, or whether it is the ticket number or internal id — a real gap for a 1-parameter tool.

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?

States a specific verb and resource: reports what the active profile is allowed to do on a given ticket (comment, solve, approve, assign) and the reason. The parenthetical action examples and the 'reproducing GLPI's rules' clause make it unmistakable versus siblings like glpi_ver_chamado or glpi_comentar_chamado.

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?

Gives two concrete trigger conditions ('before writing' and 'when GLPI refuses') and routes to the explicit alternative glpi_trocar_perfil when a different profile would resolve the block. Little is left to inference about when to call this rather than just attempting the write.

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