Skip to main content
Glama

Reset warm start

reset_warm_start
Idempotent

Clear one session's shifted primal and dual.

Next solve_mpc / POST /v1/solve with this session_id is cold. The compiled solver stays. Stateless calls omit session_id and already clear warm-start memory, so they do not use this tool.

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": {
      "session_id": "<session_id>"
    },
    "name": "reset_warm_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idYesSession id whose warm-start seed to drop. Required, and at most 128 characters. Free: it does not spend a credit. The compiled solver stays. The next solve_mpc with this id is a cold start. Clearing an unknown id changes nothing.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / session_id / description
      Added value: +"Session id whose warm-start seed to drop. Required, and at most 128 characters. Free: it does not spend a credit. The compiled solver stays. The next solve_mpc with this id is a cold start. Clearing an unknown id changes nothing."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false; the description goes further by saying exactly what state changes (shifted primal and dual are cleared, the seed is dropped) and what does not ('The compiled solver stays'). That reconciles a mutating-but-non-destructive operation for the agent. It does not mention failure modes or auth, but those are low-risk for a free, idempotent reset.

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?

Front-loaded with the core effect, then the consequence, then the scope caveat in three short sentences with no filler. 'The compiled solver stays' and the cold-start outcome repeat content already present in the parameter schema, which is mild redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter, idempotent mutation with full annotations, 100% schema coverage and an output schema, the description covers what changes, what is preserved, and when a caller should skip it. Nothing essential to invoking it correctly is missing.

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 coverage is 100% and the single parameter already documents its length limit, credit cost, cold-start effect, and unknown-id behavior. The description adds only a light framing ('with this session_id is cold', 'Stateless calls omit session_id'), so the baseline of 3 applies – the schema does the real work.

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 resource: 'Clear one session's shifted primal and dual.' An agent can tell it resets per-session warm-start state rather than solving, and the phrase 'The compiled solver stays' bounds what is cleared. The term 'shifted primal and dual' is domain jargon that only loosely maps to the tool title's 'warm start', which keeps it from a clean 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly frames the trigger ('Next solve_mpc / POST /v1/solve with this session_id is cold') and an exclusion ('Stateless calls omit session_id and already clear warm-start memory, so they do not use this tool'). There is no pointer to how one would otherwise clear the compiled solver, but that is outside this tool's scope and handles the main decision point.

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.