Skip to main content
Glama

refresh_server_memory

Re-probes memory modules and overwrites cached data for a managed server instance, updating existing memory after deploys or upgrades. Returns per-module successes and failures.

Instructions

Re-probe memory modules for a managed instance and overwrite the cache. Functionally equivalent to build_server_memory (probes run the same way); use this name when updating existing memory after a deploy/upgrade, and build_server_memory when no memory exists yet. Returns the same structured JSON with per-module successes/failures.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modulesNoModule names to refresh (e.g. ['os', 'runtimes']). Omit to refresh all modules.
instance_idYesInstance ID or name. '<account>/<name>' picks the server of one provider account; custom servers are 'custom/<name>'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.28.0
    • changedInput schema / properties / instance_id / description
      Previous value: -"Instance ID, name, or custom-server name."New value: +"Instance ID or name. '<account>/<name>' picks the server of one provider account; custom servers are 'custom/<name>'."
  2. Addedv2.24.0
  3. Removedv2.23.8
  4. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose the key behavioral traits: it overwrites the cache (a destructive side effect), the probes run identically to build_server_memory, and the response is structured JSON with per-module successes/failures. It stops short of stating permission requirements or failure/partial-failure semantics.

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?

Three tight sentences, front-loaded with the action and cache-overwrite semantics, then routing and return shape. No filler.

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?

Given no output schema, the description usefully sketches the return shape (structured JSON with per-module successes/failures) and fully covers equivalence and routing. Minor gaps remain around auth requirements and behavior on partial module failure.

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 documents both instance_id and modules (including the 'omit to refresh all' behavior), giving a baseline of 3. The description adds no parameter-level detail beyond that.

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 ('Re-probe memory modules ... overwrite the cache') and immediately frames it against the sibling build_server_memory, so the agent can distinguish the two without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit selection rule: use refresh_server_memory when updating existing memory after a deploy/upgrade, build_server_memory when no memory exists yet. This is the when-to-use/when-to-use-alternative guidance at its best.

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