Skip to main content
Glama

SimplyPrint: 3D Print Farm Management

list_filament_stock

Read-onlyIdempotent

List filament stock for accounts that track filament by weight instead of by spool (mode "stock"): one row per material profile and color and per location holding it (id is the row: the material at one place, the stock_id every action takes; stockId is the material), with grams there (amountG) and in all (totalG), what is loaded on printers, value, grams used in the last 30 days and daysLeft at that rate. Use this, not list_filaments, when the mode is "stock". Weights are grams.

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

Input Schema

NameRequiredDescriptionDefault
archivedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so safety is covered. The description adds real behavior beyond that: row granularity, the id vs. stockId distinction, that every action takes stock_id, and the 30-day window behind grams-used and daysLeft. It does not address pagination or result ordering, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The key routing instruction and the row semantics are front-loaded, and almost every clause carries information. However, it is one long run-on sentence with nested parentheticals and abrupt fragments ('grams used in the last 30 days and daysLeft at that rate', 'Weights are grams'), which slows parsing of an otherwise useful definition.

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?

With no output schema, the description usefully enumerates returned fields (amountG, totalG, loaded amount, value, 30-day usage, daysLeft), which is exactly the burden it should carry. It is still incomplete on the archived input parameter, pagination, and whether totals aggregate across locations, which matter for a multi-row list tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single 'archived' parameter, and the description never mentions it, so an agent gets no guidance on whether the default hides archived entries or how the flag changes the rows. The description compensates heavily on the output side but leaves the only input undocumented.

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?

The description names a specific verb and resource (list filament stock) and defines the row grain precisely: one row per material profile, color, and location, with id being the row and stockId being the material. It explicitly separates itself from list_filaments by naming the 'stock' mode condition, so an agent can distinguish it from siblings without opening a 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?

It states the selection condition and the alternative in one clause: 'Use this, not list_filaments, when the mode is "stock".' That is an explicit when-to-use rule tied to a named sibling, leaving nothing to inference about which list tool to call.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.