Skip to main content
Glama

solver_solve_optimization

Destructive

Solve an optimization problem by providing a free-text objective and optional structured JSON inputs to the domain-agent dispatcher, which returns the optimized solution.

Instructions

Run the solver domain agent action solve_optimization.

Routes through the platform's domain-agent dispatcher under your JWT, tenant, and company scope.

Args: message: Free-text objective for the action. inputs: Optional JSON string of structured inputs for the action.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputsNo{}
messageNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior3/5

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

The description does add context beyond the annotations: the fact that the action routes through a domain-agent dispatcher under JWT, tenant, and company scope is useful auth/routing information. However, with destructiveHint=true and idempotentHint=false, the description does not disclose that invoking this action may have side effects or be non-repeatable; the annotations carry that burden, so the net contribution is adequate but not rich.

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 short, well-structured with an Args section, and has no obvious filler. However, the opening sentence is redundant with the tool name, and the routing sentence could have been folded into a single clause. The brevity is closer to under-specification than disciplined conciseness.

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?

Even though an output schema exists, the definition is incomplete for a generic dispatch-like tool: it never states what kind of optimization objective is expected, how the action behaves when invoked, or when to prefer it over nearly identical solver siblings. In a sibling list of hundreds of tools, an agent would struggle to select and invoke this one correctly.

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 0%, so the description must compensate, and the Args section does add basic meaning: 'message' is a free-text objective and 'inputs' is an optional JSON string of structured inputs. This is real but shallow semantic value — there are no format examples, no detail on what structured inputs should contain, and no explanation of how message and inputs relate.

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

Purpose2/5

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

The opening sentence 'Run the solver domain agent action `solve_optimization`' merely restates the tool name, making it nearly a tautology. The rest of the description explains routing mechanics (dispatcher, JWT/tenant/company scope) rather than what the action actually accomplishes. An agent cannot tell what problem it solves or how it differs from solver_schedule_optimization, solver_assign_resources, or solver_constraint_satisfaction.

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 versus the close siblings solver_schedule_optimization, solver_assign_resources, and solver_constraint_satisfaction. The only contextual note is scope routing under JWT/tenant/company, which describes execution context, not selection criteria. An agent gets no help deciding this is the right tool.

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