Skip to main content
Glama

Compare permitted schedule changes

improve_schedule
Read-onlyIdempotent

Compare up to 32 declared deadline/optional-task changes under independent-uniform durations; preserve required tasks. Search bounds select one finalist for separately seeded confirmation, without retries. Conditional on the model, not delivery reliability.

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": {
      "items": "<items>",
      "required_indices": "<required_indices>",
      "deadline_minutes": "<deadline_minutes>",
      "extra_minutes": "<extra_minutes>",
      "removal_sets": "<removal_sets>",
      "costs": "<costs>",
      "uncertainty": "<uncertainty>",
      "min_success_rate": "<min_success_rate>",
      "samples": "<samples>",
      "search_seed": "<search_seed>",
      "confirmation_seed": "<confirmation_seed>",
      "duration_model": "<duration_model>"
    },
    "name": "improve_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
costsYes
itemsYes
samplesYes
search_seedYes
uncertaintyYes
removal_setsYesUnique sorted sets of optional original task indices; include the empty set, preserve required tasks, and keep at least one task.
extra_minutesYesUnique permitted deadline increments; include zero and keep every modified deadline at most 1440 minutes.
duration_modelYes
deadline_minutesYes
min_success_rateYes
required_indicesYes
confirmation_seedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "candidates": {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "cost": {
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "deadline_minutes": {
      -            "maximum": 1440,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "extra_minutes": {
      -            "maximum": 1439,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "id": {
      -            "type": "string"
      -          },
      -          "removed_indices": {
      -            "items": {
      -              "maximum": 31,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "maxItems": 31,
      -            "type": "array"
      -          },
      -          "retained_indices": {
      -            "items": {
      -              "maximum": 31,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "maxItems": 32,
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "retained_value": {
      -            "maximum": 320000,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "search": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "lower_bound": {
      -                    "maximum": 1,
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "method": {
      -                    "enum": [
      -                      "exact_model_bound",
      -                      "fixed_sample_hoeffding"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  "probability_estimate": {
      -                    "maximum": 1,
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "seed": {
      -                    "anyOf": [
      -                      {
      -                        "maximum": 4294967295,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "simulation": {
      -                    "anyOf": [
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "elapsed_ms": {
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "mean_duration": {
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "method": {
      -                            "type": "string"
      -                          },
      -                          "p95_duration": {
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "samples": {
      -                            "maximum": 10000,
      -                            "minimum": 100,
      -                            "type": "integer"
      -                          },
      -                          "success_rate": {
      -                            "maximum": 1,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          }
      -                        },
      -                        "required": [
      -                          "success_rate",
      -                          "mean_duration",
      -                          "p95_duration",
      -                          "samples",
      -                          "elapsed_ms",
      -                          "method"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "upper_bound": {
      -                    "maximum": 1,
      -                    "minimum": 0,
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "method",
      -                  "probability_estimate",
      -                  "lower_bound",
      -                  "upper_bound",
      -                  "seed",
      -                  "simulation"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "status": {
      -            "enum": [
      -              "cost_limit",
      -              "search_qualified",
      -              "below_target",
      -              "uncertain"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "extra_minutes",
      -          "removed_indices",
      -          "retained_indices",
      -          "retained_value",
      -          "deadline_minutes",
      -          "cost",
      -          "status",
      -          "search"
      -        ],
      -        "type": "object"
      -      },
      -      "maxItems": 32,
      -      "minItems": 1,
      -      "type": "array"
      -    },
      -    "confirmation": {
      -      "anyOf": [
      -        {
      -          "additionalProperties": false,
      -          "properties": {
      -            "lower_bound": {
      -              "maximum": 1,
      -              "minimum": 0,
      -              "type": "number"
      -            },
      -            "method": {
      -              "enum": [
      -                "exact_model_bound",
      -                "fixed_sample_hoeffding"
      -              ],
      -              "type": "string"
      -            },
      -            "probability_estimate": {
      -              "maximum": 1,
      -              "minimum": 0,
      -              "type": "number"
      -            },
      -            "seed": {
      -              "anyOf": [
      -                {
      -                  "maximum": 4294967295,
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "simulation": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "elapsed_ms": {
      -                      "minimum": 0,
      -                      "type": "number"
      -                    },
      -                    "mean_duration": {
      -                      "minimum": 0,
      -                      "type": "number"
      -                    },
      -                    "method": {
      -                      "type": "string"
      -                    },
      -                    "p95_duration": {
      -                      "minimum": 0,
      -                      "type": "number"
      -                    },
      -                    "samples": {
      -                      "maximum": 10000,
      -                      "minimum": 100,
      -                      "type": "integer"
      -                    },
      -                    "success_rate": {
      -                      "maximum": 1,
      -                      "minimum": 0,
      -                      "type": "number"
      -                    }
      -                  },
      -                  "required": [
      -                    "success_rate",
      -                    "mean_duration",
      -                    "p95_duration",
      -                    "samples",
      -                    "elapsed_ms",
      -                    "method"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "upper_bound": {
      -              "maximum": 1,
      -              "minimum": 0,
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "method",
      -            "probability_estimate",
      -            "lower_bound",
      -            "upper_bound",
      -            "seed",
      -            "simulation"
      -          ],
      -          "type": "object"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "confirmation_error_budget": {
      -      "const": 0.025,
      -      "type": "number"
      -    },
      -    "contract_version": {
      -      "const": "0.1.0",
      -      "type": "string"
      -    },
      -    "elapsed_ms": {
      -      "minimum": 0,
      -      "type": "number"
      -    },
      -    "explanation": {
      -      "type": "string"
      -    },
      -    "limitations": {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "provenance": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "client": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "name": {
      -              "type": "string"
      -            },
      -            "version": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "name",
      -            "version"
      -          ],
      -          "type": "object"
      -        },
      -        "identity_source": {
      -          "type": "string"
      -        },
      -        "model": {
      -          "type": "null"
      -        },
      -        "server": {
      -          "const": "scorecompute",
      -          "type": "string"
      -        },
      -        "tool": {
      -          "const": "improve_schedule",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "tool",
      -        "server",
      -        "client",
      -        "identity_source",
      -        "model"
      -      ],
      -      "type": "object"
      -    },
      -    "provisional_candidate_id": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "search_family_error_budget": {
      -      "const": 0.025,
      -      "type": "number"
      -    },
      -    "selected_candidate_id": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "simulation_samples": {
      -      "maximum": 330000,
      -      "minimum": 0,
      -      "type": "integer"
      -    },
      -    "status": {
      -      "enum": [
      -        "confirmed",
      -        "confirmation_inconclusive",
      -        "target_not_demonstrated"
      -      ],
      -      "type": "string"
      -    },
      -    "study_kind": {
      -      "const": "bounded_schedule_modification",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "contract_version",
      -    "status",
      -    "study_kind",
      -    "candidates",
      -    "provisional_candidate_id",
      -    "selected_candidate_id",
      -    "confirmation",
      -    "search_family_error_budget",
      -    "confirmation_error_budget",
      -    "simulation_samples",
      -    "elapsed_ms",
      -    "explanation",
      -    "limitations",
      -    "provenance"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Added

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior. The description adds useful behavioral context such as comparison limits, preservation of required tasks, one finalist selection, and "without retries," but it remains vague about outputs and 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.

Conciseness3/5

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

The description is compact and front-loads the main comparison operation, but it is dense with jargon and includes an opaque closing clause: "Conditional on the model, not delivery reliability." The three sentences are not wasteful, but they are not optimally clear.

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?

This is a complex tool with 12 required parameters, nested objects, low schema description coverage, and no output schema. The description does not sufficiently explain parameter meanings, expected output, or how the comparison result should be interpreted.

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 only 17% across 12 required parameters. The description clarifies some concepts like optional-task changes, required tasks, duration model, and seeds, but leaves key parameters such as costs, extra_minutes, removal_sets, min_success_rate, samples, deadline_minutes, and uncertainty effectively unexplained.

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 states a specific verb and resource: "Compare up to 32 declared deadline/optional-task changes" while preserving required tasks. It does not explicitly differentiate itself from likely siblings such as optimize_tasks or build_robust_plan, but the core operation is clear.

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 explicit guidance on when to use this tool versus alternatives, nor any when-not-to-use conditions. The sentence about search bounds selecting one finalist describes internal behavior, not tool selection guidance.

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.

Resources