Skip to main content
Glama

refresh_cache

Refreshes cached data for the HomeLab frontend API, supporting all cache types or a specific organization when cached information is stale.

Instructions

Caches neu laden (type leer = alle; org optional).

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

Input Schema

NameRequiredDescriptionDefault
orgNo
typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure, and it delivers almost nothing. It does not state whether the refresh is disruptive, whether elevated permissions are required, whether it applies globally or per org, or what happens to in-flight requests — for a state-mutating cache operation this is a significant gap.

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?

A single compact sentence with the action front-loaded and the parameter notes bracketed afterwards — nothing is wasted. Its brevity is close to under-specification, but structurally it is efficient and easy to parse.

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

Completeness2/5

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

For a two-parameter mutating tool with no annotations, no output schema, and 0% schema coverage, the definition is thin: one parameter is half-explained and the other not at all, and the return behavior is unstated. An agent could invoke it, but without confidence about scope or side effects.

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 0%, so the description must compensate, and it partially does: "type leer = alle" meaningfully explains that an empty type refreshes all cache types, which is not derivable from the schema alone. However, "org optional" merely restates the schema default and no accepted type values are listed.

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?

"Caches neu laden" states a specific verb (reload) and resource (caches), so an agent can tell what the tool does. The scope of which caches are affected is left implicit, and there is no differentiation from the many other management tools, but the core action is unambiguous.

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

Usage Guidelines2/5

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

The parenthetical only explains parameter defaults (empty type = all, org optional); it gives no guidance on when this tool should be used, what triggers a cache refresh, or what alternatives exist. The agent must infer the context entirely.

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

Deploy Server

Other Tools