Skip to main content
Glama

Get asset details

glpi_get_asset_details
Read-onlyIdempotent

Use this read-only tool to inspect one known GLPI hardware asset by type and ID. It returns the base asset record plus the devices and disks sections by default; when GLPI has inventoried them, these sections include the operating system, processors, memory and storage. Request the softwares or networkports section only when the user asks for installed software or network interfaces because those lists can be large. Use glpi_get_asset when only the base asset record is needed. This tool does not modify the asset.

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": {
      "asset_type": "<asset_type>",
      "assetId": "<assetId>"
    },
    "name": "glpi_get_asset_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoField set: 'essential' (default, trims internal GLPI fields) or 'all'
formatNoOutput format: 'json' (default) or 'markdown' (a table for listings, key/value lines for one item; returned in both the text and the structured result)
assetIdYesItem ID
sectionsNoRelated sections to include (default: devices and disks; request softwares or networkports explicitly)
asset_typeYesAsset itemtype, e.g. Computer, Monitor, Printer, NetworkEquipment, Software
max_items_per_sectionNoRows kept per expanded section (default 25); the rest is reported as a count

Output Schema

NameRequiredDescriptionDefault
dataNo
noteNoPagination hint: how to fetch the next page
countNoItems in this page
formatNo'markdown' when data holds the markdown rendering

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / sections / description
      Previous value: -"Sections to expand (default: devices, disks, softwares, networkports)"New value: +"Related sections to include (default: devices and disks; request softwares or networkports explicitly)"
  2. First observed

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 and destructiveHint=false, so the description's restated 'does not modify the asset' adds little. What it does add beyond annotations is valuable: the default section set (devices and disks), what those sections can contain when inventory data exists, and a size warning for softwares/networkports. It omits the per-section truncation behavior (max_items_per_section default 25), which is left to the schema.

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 read-only scope plus the primary behavior (default sections and their contents) before the alternative-tool routing. The closing sentence repeating that it does not modify the asset is redundant with both the opening phrase and the annotations, a minor waste.

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?

An output schema exists, so return-shape explanation is rightly omitted, and the description covers the default/section behavior, the heavy-section caveat, and the sibling routing that an agent needs. Minor gaps remain around truncation reporting and the fields/format parameters, which the schema handles adequately.

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 coverage is 100%, so baseline is 3, but the description adds genuine meaning about the `sections` parameter — its default value, what the defaults contain, and when to include the heavier sections. asset_type and assetId are only described at the level of 'type and ID', which the schema already covers.

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 (inspect) and resource (one known GLPI hardware asset by type and ID), and explicitly separates itself from the sibling glpi_get_asset ('when only the base asset record is needed'). An agent can distinguish it from glpi_get_asset and glpi_list_assets without opening either 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?

Gives explicit conditions: use when the asset is already known by type and ID, request softwares/networkports only when the user asks for installed software or network interfaces, and fall back to glpi_get_asset for base-record-only needs. It even supplies the rationale (large lists) for the exclusion, which removes ambiguity.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.