Skip to main content
Glama

gc

Triggers Java garbage collection to free heap memory, reducing memory pressure during Minecraft/Fabric bridge operations.

Instructions

Call System.gc() to free up memory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it omits key traits: System.gc() is only a hint the JVM may ignore, and a full GC typically causes a noticeable pause. It says what it calls but not what actually happens or what side effects to expect.

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?

A single twelve-word sentence that front-loads the action and states the goal, with no filler or redundancy. Nothing further could be trimmed without losing information.

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

Completeness3/5

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

For a zero-parameter tool with an output schema, the return value need not be explained, so basic coverage is met. However, with no annotations and no guidance that GC is a non-binding, potentially disruptive hint, the description is thinner than it should be for an operation agents might invoke repeatedly.

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 nothing for the description to disambiguate; the baseline for a parameterless tool applies. No misleading claims about inputs are made.

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 mechanism (invoke System.gc()) plus the intended outcome (free memory), so an agent knows exactly what the call does. It does not need sibling differentiation here since no other memory/GC tool exists in the list, but it also makes no attempt to distinguish itself from any.

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 phrase 'to free up memory' hints at intent but gives no explicit when-to-use or when-not-to-use guidance. There is no mention that this is a heavy stop-the-world operation that should be used sparingly, nor any prerequisites or recommended preconditions.

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