Skip to main content
Glama

glpi_get_ticket

Read-onlyIdempotent

Retrieves a GLPI ticket and its history by ID to inspect issue details, follow-ups, and prior activity.

Instructions

Obtém um chamado e seu histórico.

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

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description does add one piece of behavioral value — that the response bundles the ticket with its history — but says nothing about what 'histórico' includes (follow-ups, logs), nor about access requirements or error behavior for an unknown id.

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?

A single short sentence with the resource front-loaded and nothing redundant. Its brevity is efficient, though it borders on under-specification given the missing parameter detail.

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?

For a simple read tool with full safety annotations and no output schema, the description covers the core (fetch a ticket plus history). It is still thin on what the returned history contains and what the id refers to, which are the main open questions an agent would have.

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 description coverage is 0% for the single id parameter, so the description must carry the meaning; it only weakly implies that id identifies the ticket being fetched. With just one parameter and the tool being a by-id fetch, this is enough for correct invocation, but no explicit statement of the id's domain is provided.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Obtém um chamado e seu histórico" pairs a specific verb (retrieve) with a specific resource (ticket) and adds the scope of including history. It does not differentiate itself from siblings such as glpi_list_tickets or the search tools, so an agent must infer that this is the single-ticket-by-id lookup.

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

Usage Guidelines2/5

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

There is no statement of when to use this versus glpi_list_tickets or glpi_search_categories, and no prerequisites or exclusions are given. The only implicit cue is that it operates on one ticket, deduced from the required id parameter.

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