Skip to main content
Glama

solve_job_shop_scheduling

Schedules jobs on machines to minimize makespan or total completion time. Handles task constraints within a time horizon to optimize machine utilization.

Instructions

Solve Job Shop Scheduling Problem to optimize machine utilization and completion times.

    Args:
        jobs: List of job dictionaries with tasks and constraints
        machines: List of available machine names
        horizon: Maximum time horizon for scheduling
        objective: Optimization objective ("makespan" or "total_completion_time")
        time_limit_seconds: Maximum solving time in seconds (default: 30.0)

    Returns:
        Optimization result with job schedule and machine assignments
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobsYes
machinesYes
horizonYes
objectiveNomakespan
time_limit_secondsNo
Behavior2/5

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

No annotations are provided, so the description must carry the full burden. It only states the return type ('Optimization result with job schedule and machine assignments') but does not disclose side effects, state modifications, error behavior, or what happens if no solution is found.

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 description is well-structured with a one-sentence purpose, then an Args list, and a Returns line. It is concise without redundancy, though the Args descriptions could be slightly more compact.

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?

Given the complexity of job shop scheduling, the description lacks detail on job dictionary structure, constraint representation, and the exact return value format. No output schema is provided, so the description is insufficient for a complete understanding.

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?

With 0% schema description coverage, the description compensates by explaining each parameter: jobs as 'list of job dictionaries with tasks and constraints', machines as 'list of available machine names', etc. This adds meaning beyond the bare schema types and defaults, though the structure of job dictionaries remains underspecified.

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 clearly states the tool solves the Job Shop Scheduling Problem to optimize machine utilization and completion times. It uses a specific verb+resource and distinguishes from sibling optimization tools (e.g., linear programming, traveling salesman) by naming a distinct problem type.

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 guidance on when to use this tool over alternatives or when not to use it. The description only implies usage for job shop scheduling but does not provide explicit when/when-not criteria or mention other tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dmitryanchikov/mcp-optimizer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server