Skip to main content
Glama

Get Inventory Snapshot

get_inventory_snapshot

Retrieve processor, memory, and firmware snapshots for one or more iLO servers from cache or live data, with refresh forcing a live read; use for inventory, not current health or power.

Instructions

Hardware snapshots (processors, memory, firmware) for one or more iLOs, from the local cache (on by default, 15 minutes) or live; each says which and when it was collected. refresh=true forces a live read. The iLO login is checked even on a hit. Not for current health or power: use the live tools.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_inventory_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
refreshNoFetch new data even when a cached snapshot is available.
serversNoConfigured iLO names or addresses; omit for all.
categoriesNoHardware categories; omit for all three.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.18.0

TDQS

A4.3/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: cache is on by default with a 15-minute window, each returned snapshot states its source and collection time, and the iLO login is validated even on a cache hit. These are useful operational facts an agent cannot get from readOnlyHint/openWorldHint alone. It stops short of describing live-read cost or handling of unreachable iLOs.

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?

The resource scope is front-loaded, cache semantics follow, and the exclusion is placed last where it belongs. The sentence is dense but every clause carries information; minor loss for a somewhat run-on middle sentence split by a parenthetical.

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 read tool with an output schema, the description covers source, freshness, provenance, auth check, and scope exclusions — the things the schema and annotations cannot convey. Remaining gaps (partial-failure behavior across multiple iLOs, cost of live reads) are modest given the output schema already documents return shape.

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 description coverage is 100%, so baseline is 3, but the description adds semantics the schema does not: refresh forces a live read against the cache default, and servers/categories are framed as an 'omit for all' scope rather than just defaults. The cache TTL of 15 minutes gives refresh a concrete meaning.

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 ('Hardware snapshots (processors, memory, firmware) for one or more iLOs') and immediately scopes it by source (local cache vs live). The closing sentence explicitly separates it from health/power tools, so an agent can distinguish it from get_processors, get_memory, or get_health without opening a schema.

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 clear usage condition ('refresh=true forces a live read') and an explicit exclusion ('Not for current health or power: use the live tools'), which is exactly the routing information an agent needs. It loses a point because the alternatives are referenced generically as 'the live tools' rather than named, leaving the agent to work out which sibling to call.

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