Skip to main content
Glama

optimize_tasks

Read-onlyIdempotent

Exactly maximize value for up to 32 independent, indivisible tasks within an integer-minute budget. Each task is selected at most once; no prerequisites or shared resources.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
budgetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 genuine model semantics beyond that: exact (not heuristic) optimality, indivisible tasks, at-most-once selection, and independence with no shared resources. It does not describe the result shape, 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.

Conciseness5/5

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

Two dense sentences with zero filler, front-loading the objective and then the problem-model constraints. Every clause carries information an agent needs.

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?

There is no output schema, so the description is the only place the return shape (e.g., selected tasks and achieved total value) could be conveyed, and it is silent on that. Problem structure, constraints and safety are adequately covered, but the missing output contract is a real gap for a solver tool.

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?

Schema coverage is 0%, so the description must carry semantic weight, and it does: 'integer-minute budget' fixes the unit for budget, 'independent, indivisible' and 'selected at most once' define the 0/1 knapsack semantics of items, and 'maximize value' ties to the value field. It does not explain the name field, but schema names are largely self-explanatory.

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?

States a specific verb and objective (exactly maximize value) over a specific resource (up to 32 independent, indivisible tasks within an integer-minute budget). The word 'Exactly' implicitly contrasts with heuristic siblings like improve_schedule or build_robust_plan, but no sibling is named, so it falls short of a 5.

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?

The description encodes applicability constraints (≤32 tasks, integer-minute budget, no prerequisites or shared resources) which imply when this solver applies, but it never states when to prefer it over alternatives such as improve_schedule or build_robust_plan. Usage is inferable rather than explicit.

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