Skip to main content
Glama

SimplyPrint: 3D Print Farm Management

save_filament_stock

Add a material profile in a color to filament stock (stock-tracking accounts), or edit its spool size, low threshold, cost per kg or note (move_filament_stock moves it between locations). initial_grams records what is on hand now.

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

Input Schema

NameRequiredDescriptionDefault
noteNo
brandNo
widthNo
brand_idNo
low_at_gNo
stock_idNo
store_idNo
color_hexNo
color_nameNo
profile_idNo
store_nameNo
cost_per_kgNo
location_idNo
spool_size_gNo
initial_gramsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare write semantics (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=false), so the safety profile is covered. Beyond that, the description adds one genuinely useful behavioral fact — that initial_grams records the on-hand quantity now, distinct from later adjustments — but says nothing about what happens when a matching stock entry already exists, what is overwritten on edit, permission requirements, or scope to 'stock-tracking accounts' beyond a parenthetical.

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 dense sentences with the primary function front-loaded and the sibling contrast nested in a parenthetical where it belongs. The nested parentheticals make it slightly harder to parse, but there is no filler and every clause conveys information.

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 15-parameter tool with zero schema coverage, no output schema, and no required parameters, the description is too thin: it never explains how create mode differs from edit mode or which fields matter for each. An agent could construct a plausible but wrong call because the identifying parameters (profile_id, stock_id, store_id, color_hex) are never mentioned.

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% across 15 parameters, so the description must carry the burden, and it explains only about four: initial_grams, spool_size_g, low_at_g, cost_per_kg, and note. Brand, brand_id, width, color_hex, color_name, profile_id, stock_id, store_id, store_name, and location_id are entirely undocumented in both schema and prose, leaving an agent unsure which combination identifies a stock entry versus a new profile.

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?

The description names specific verbs and the resource ('Add a material profile in a color to filament stock', 'edit its spool size, low threshold, cost per kg or note') and explicitly contrasts itself with move_filament_stock. What remains slightly fuzzy is the 'save' semantics — the description never states how the tool decides between creating a new stock entry and updating an existing one, given that all 15 parameters are optional.

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

Usage Guidelines4/5

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

It gives concrete usage context by listing the fields that are editable here (spool size, low threshold, cost per kg, note) and pointing to move_filament_stock for location changes, which is a real routing decision. It stops short of stating prerequisites (e.g. which identifiers gate a create vs an edit) or when a weight change should go to a separate adjustment tool instead.

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.