Skip to main content
Glama

Set Inventory Cache

set_inventory_cache
Idempotent

Turn the local ProLiant hardware snapshot cache on or off and set its expiration time to control reuse of cached inventory data while live tools remain unaffected.

Instructions

Turn the local hardware snapshot cache on or off, or change its lifetime, when the user asks. It is on by default and stored on this computer in an owner-only folder (server names and serial numbers, never passwords). Turning it off keeps the existing data; clear_inventory_cache removes it. Live tools are unaffected.

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": {
      "enabled": "<enabled>"
    },
    "name": "set_inventory_cache"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYesTrue to use the local hardware snapshot cache (the default), false to turn it off.
ttl_secondsNoMaximum snapshot age in seconds; omit to preserve the existing setting.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.18.0

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: the cache is on by default, stored locally in an owner-only folder, contains server names and serial numbers but never passwords, and disabling keeps existing data. It also clarifies that live tools are unaffected, which is important behavioral context.

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?

The description is short, front-loaded with the core action, and every sentence contributes useful context. It avoids repetitive or filler wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given two parameters and an output schema, the description covers the important behavioral details an agent needs: default state, storage location, privacy note, non-destructive disable behavior, and the distinction from the clear-cache sibling. Nothing critical is missing for correct invocation.

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 100%, so the schema already explains both enabled and ttl_seconds. The description reinforces the on/off and lifetime concepts but adds little syntax or edge-case meaning beyond 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: turn the local hardware snapshot cache on/off or change its lifetime. It also distinguishes the tool from clear_inventory_cache and from live tools, so an agent can identify its role without opening the 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 clear context for use when the user asks, and explicitly contrasts disabling the cache with clear_inventory_cache removing data. It does not spell out detailed when-not-to-use cases, but the main alternative is named.

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