Skip to main content
Glama

optimize_fleet_assignment

Read-only

Assigns 3D print jobs to fleet printers by matching material type, required grams, and optional color.

Instructions

The same answer as assign_jobs(jobs), for clients that call it by this name.

        Args:
            jobs: List of job dicts, each with ``file_name``,
                ``material_type``, ``required_grams`` and optionally
                ``color``.
        

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "jobs": "<jobs>"
    },
    "name": "optimize_fleet_assignment"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobsYesList of job dicts, each with ``file_name``, ``material_type``, ``required_grams`` and optionally ``color``.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.5.1
    • addedInput schema / properties / jobs / description
      Added value: +"List of job dicts, each with ``file_name``, ``material_type``, ``required_grams`` and optionally ``color``."
  2. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered by structured data. The description does add one genuine behavioral fact beyond the annotations: the result is identical to assign_jobs(jobs). It says nothing about determinism, cost, or failure modes.

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?

The lead sentence is short and front-loaded, correctly stating the alias relationship first. The trailing Args block is redundant with a 100%-covered schema and its awkward indentation adds noise, but the core statement is efficiently expressed.

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?

For a one-parameter, read-only planning tool with an annotation set covering safety and no output schema, the definition is nearly sufficient: it establishes the alias and the job dict shape. Its only real gap is that it never describes the operation itself, relying entirely on the reader knowing assign_jobs.

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 the single `jobs` parameter. The Args block in the description restates that schema text verbatim, adding no format, constraint, or example detail beyond it; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the tool only by reference: 'The same answer as ``assign_jobs(jobs)``, for clients that call it by this name.' That tells an agent it is an alias, but never states the actual operation (planning/optimizing fleet job assignment) in its own terms, so its purpose is only inferable via the sibling.

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

Usage Guidelines3/5

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

'for clients that call it by this name' implies when this entry point is used, and the equivalence to assign_jobs(jobs) implies the two are interchangeable. It stops short of telling an agent which name to prefer, whether both are always available, or any exclusions.

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

Deploy Server

Other Tools