Skip to main content
Glama

Aprovar ou recusar a solução

glpi_responder_solucao

Approves or rejects a proposed ticket solution, requiring a reason for rejection. For requesters or requester groups to confirm resolution.

Instructions

APROVA (fecha o chamado) ou RECUSA (reabre) a solução proposta. Só o requerente, ou alguém do grupo requerente, responde; em geral isso é feito pelo perfil de autoatendimento. Recusar exige texto com o motivo.

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>",
      "aprovar": "<aprovar>"
    },
    "name": "glpi_responder_solucao"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
textoNo
aprovarYes
confirmado_pelo_usuarioNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing real state transitions — approval closes the ticket, rejection reopens it — plus an authorization constraint and the requirement that rejection carry a justification. It does not address reversibility of the closure or idempotency, so it stops short of full disclosure.

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?

Three short sentences, with the two branch keywords capitalized and front-loaded so the agent sees the decision structure first. Minimal waste, though the permissions sentence is dense and slightly buried after the action semantics.

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 and annotations cover safety, so return values and read/write profile are handled elsewhere. Still, for a two-required-parameter mutation tool with zero schema coverage, the unexplained 'id' target and 'confirmado_pelo_usuario' leave an agent able to call it incorrectly.

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 must carry the load, yet it only clarifies 'texto' (required when rejecting). It never says whether 'id' is the ticket or the solution identifier, nor what 'confirmado_pelo_usuario' means — a real ambiguity for a mutation with two required params.

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 pair and resource ('APROVA ou RECUSA a solução proposta') and immediately spells out the consequence of each branch (fecha o chamado / reabre). The focus on a *proposed solution* cleanly distinguishes it from the approval-responder 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 a concrete precondition: only the requester or someone in the requester's group answers, typically via the self-service profile. That tells an agent whether the call is even permissible, but there is no explicit exclusion or named alternative for adjacent flows (e.g. approval replies).

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