Skip to main content
Glama

get_all_materials

Retrieves all cached game materials and their properties as a TOON-encoded list, enabling quick reference for Prosperous Universe material data.

Instructions

Get all materials from the cache.

Returns:
    TOON-encoded list of all materials with their properties.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose two useful traits an agent would not otherwise know: results come from a cache (data may be stale relative to a refresh) and output is TOON-encoded. It omits whether the cache auto-populates on a miss, what happens if the cache is empty, and any staleness or size caveats.

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, front-loaded sentences with no filler. The "Returns:" line partially duplicates information already carried by the output schema, which is the only small inefficiency.

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?

An output schema exists, so the return description is not strictly needed, and with zero parameters the surface area is small. However, for a cache-backed bulk read with no annotations, the definition leaves open the cache lifecycle (staleness, refresh dependency, empty-cache behavior) that an agent would need to call it confidently.

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; baseline 4 applies. The description correctly implies no filtering or pagination inputs exist.

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 ("Get all materials") and adds scope ("from the cache"), which distinguishes it in kind from the single-item get_material_info. It never names a sibling or explicitly contrasts with get_material_info / refresh_materials_cache, so the differentiation is implicit rather than stated.

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?

There is no when-to-use, when-not-to-use, or alternatives guidance. "From the cache" faintly implies a dependency on refresh_materials_cache and a preference for get_material_info when a single item is wanted, but the agent must infer this entirely.

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