Skip to main content
Glama

Get asset details

glpi_get_asset_details
Read-onlyIdempotent

Get one GLPI asset (computer, monitor, printer, network equipment, phone, peripheral...) by type and ID together with its hardware details in a single call: operating system, processors, memory and disks by default, with names instead of IDs. Installed software and network ports are large on inventoried hosts, so they are returned only when asked for with sections ['softwares'] or ['networkports']. For the plain asset record use glpi_get_asset.

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
sectionsNoSections to expand (default: devices, disks, softwares, networkports)
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. First observed

TDQS

A4.4/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. The description adds meaningful context beyond them: hardware defaults, names-instead-of-IDs, and that softwares/networkports are large on inventoried hosts and only returned when requested. It stops short of describing pagination/truncation behavior beyond the schema's max_items_per_section.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Front-loads the core purpose, then adds the default fields, the large-section caveat, and the sibling alternative in tight, waste-free prose.

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?

Output schema exists, and annotations cover safety, so the description needn't explain returns. It covers the key behavioral caveats (default vs opt-in sections) needed to call correctly; minor gap is not restating truncation reporting, though the schema's max_items_per_section covers it.

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. The description adds value by clarifying that sections defaults to hardware fields and that softwares/networkports must be explicitly listed, which refines the schema's flat section list. It leaves fields/format/max_items_per_section to the schema.

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 ('Get one GLPI asset ... together with its hardware details in a single call') and explicitly delineates the asset types and returned hardware fields. It also distinguishes itself from the sibling glpi_get_asset by naming it as the plain-record alternative.

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?

Tells the agent to use glpi_get_asset for the plain asset record and this tool for hardware details, and explains that softwares/networkports must be requested via sections. It does not cover when asset_type choices beyond the enumerated ones apply, but the routing guidance is explicit.

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.