Skip to main content
Glama

clarify_requirements

Analyze raw optimization problem descriptions to expose missing requirements, implicit constraints, variables, bounds, and objectives, returning a structured, unambiguous specification for MILP modeling.

Instructions

Analyzes raw user optimization problem descriptions to identify missing requirements, implicit constraints, sets, parameters, decision variables, bounds, and objectives. Produces a structured, unambiguous specification.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
problem_descriptionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the output nature ('structured, unambiguous specification') and that it flags missing requirements, but says nothing about whether it interacts with the user, whether it mutates state, or what happens when the input is already complete. Partial behavioral disclosure.

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?

Two tight sentences with the analysis action and its enumerated outputs front-loaded; no filler. Slightly dense enumeration but nothing wasted.

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?

An output schema exists, so return values need not be described. However, for a tool sitting in a multi-stage optimization pipeline, the description omits its place in the workflow and how its output feeds formulate_math_model, leaving a gap an agent must guess at.

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% for the single string parameter, so the description must compensate. It does clarify the parameter's content ('raw user optimization problem descriptions'), which is useful, but adds no format, length, or example guidance beyond that.

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 (analyzes) and resource (raw user optimization problem descriptions) plus the concrete artifacts it extracts (constraints, sets, parameters, variables, bounds, objectives). It does not, however, explicitly distinguish itself from near-neighbors like review_requirements or decompose_optimization_query, which a reader must infer from the names alone.

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?

No guidance on when to invoke this versus review_requirements, decompose_optimization_query, or formulate_math_model. The pipeline position (presumably first, on a raw unformalized description) is implied by the wording 'raw user ... descriptions' but never stated as a condition.

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