Skip to main content
Glama

Clear Inventory Cache

clear_inventory_cache
DestructiveIdempotent

Removes locally cached HPE ProLiant hardware snapshots on request without changing cache settings or deleting inventory data or credentials.

Instructions

Remove locally cached hardware snapshots when the user asks. Does not change the cache setting or delete the inventory or credentials.

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": "clear_inventory_cache"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.18.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is known. The description goes beyond them by scoping exactly what is destroyed (local cached snapshots only) and explicitly protecting the cache setting, inventory, and credentials — the kind of blast-radius information an agent needs before invoking a destructive tool. It stops short of saying what state the cache is left in or what refilling it costs.

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?

Two short sentences, front-loaded with the action and followed by boundary conditions. The trailing phrase 'when the user asks' is the only filler and could be dropped without loss.

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?

With an output schema present and zero parameters, the description need not explain return values or arguments. It covers purpose, blast radius, and preserved state, which is essentially what an agent needs; the remaining gap is whether the cache must be repopulated and at what cost.

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?

The tool takes zero parameters, so there is no parameter meaning to convey; the baseline of 4 applies. The description correctly avoids inventing any argument semantics.

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?

States a specific verb and resource: 'Remove locally cached hardware snapshots.' The second sentence further delineates the resource boundary by excluding the cache setting, the inventory itself, and credentials, which lets an agent separate it from set_inventory_cache and the various get_*_snapshot tools without opening their schemas.

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

Usage Guidelines3/5

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

The trigger condition is only 'when the user asks', which is vague and adds little. The negative scoping ('Does not change the cache setting or delete the inventory or credentials') is genuinely useful exclusion guidance, but it describes effects rather than telling the agent which sibling to prefer for related tasks, and no alternative is named.

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