get_optimization_capabilities
Discover supported variable types, constraint operators, objective terms, backend availability, and resource limits for optimization problems. Request the full JSON schema when you need more detail.
Instructions
Describe what this optimization server accepts and which solver backends are usable right now.
Call this when you need the supported problem vocabulary (variable types,
constraint operators, objective terms, accepted schema versions) or, per
backend, whether it is installed/configured (available), whether server
policy permits it (enabled), and its resource limits. It is not required
before every problem: for a small binary problem on a local backend the
example in the server instructions already shows the document shape. This
performs no solving and no network requests.
The full problem JSON schema is several times the size of everything
else, so problem_json_schema is null unless include_schema is true. Ask
for it when the document needs more than the example shows — integer
variables, soft constraints, solver preferences — or before inventing a
field; every field description is in it.
supported_variable_types lists the variable types a problem may declare —
"binary" and "integer" — and schema_versions lists every problem schema
version this server accepts, newest last. Integer variables are only
allowed when the problem carries "version": "1.1" at its top level;
"version": "1.0" accepts binary variables only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_schema | No | Whether to include the full OptimizationProblem JSON Schema as problem_json_schema. The default false keeps the response small; pass true only when the schema itself is needed, e.g. for integer variables or an unfamiliar field. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backends | Yes | Every registered backend, with its flags and limits. | |
| schema_version | Yes | The newest problem schema version this server accepts; use it unless an older one is needed. | |
| schema_versions | Yes | Every accepted problem schema version. Derived from the model, not hard-coded; "1.1" is a superset of "1.0". | |
| problem_json_schema | Yes | The full OptimizationProblem JSON Schema, identical to what annealbridge export-schema prints, when it was requested (include_schema on the MCP tool); null otherwise. Its field descriptions explain the document one level down. | |
| annealbridge_version | No | The installed package version that produced this view; "unknown" outside an installed distribution. | |
| supported_variable_types | Yes | The variable types a problem may declare. | |
| supported_objective_terms | Yes | The kinds of objective term a problem may carry. | |
| supported_constraint_operators | Yes | The operators a constraint may use. | |
| inequality_requires_integer_coefficients | Yes | Whether <= / >= constraints need integral coefficients and rhs, which the slack encoding requires. |