Skip to main content
Glama

Stop a Live Model (destructive)

undeploy_model
DestructiveIdempotent

Destructive: stops one of this account's live models; its signals stop at once.

The model stays trained and can be deployed again. Calling it for a model that is not live changes nothing and answers stopped true, was_live false. Nothing is charged.

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": {
      "stem": "<stem>"
    },
    "name": "undeploy_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
stemYesA model id from list_models or train_strategy, e.g. 14_EURUSD_15min_Model_3.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond destructiveHint and idempotentHint, the description discloses the effect on signals (stop at once), the reversibility (model stays trained, can be redeployed), the exact no-op semantics including returned values (stopped true, was_live false), and the billing impact (nothing charged). That is substantive behavior an agent cannot get from the annotations.

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 short paragraphs, front-loaded with the destructive label and the immediate effect, followed by the recovery and no-op semantics. The leading "Destructive:" restates the title and destructiveHint, which is mild redundancy, but no sentence is wasted.

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

Completeness5/5

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

For a one-parameter mutation with an output schema, the description covers impact, reversibility, cost, and the edge case of calling on a non-live model. Nothing an agent needs in order to call it safely 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?

There is a single required parameter and the schema already documents it at 100% coverage, including the id format and example. The description adds no further meaning about the stem argument, so the baseline of 3 applies.

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

Purpose5/5

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

"Destructive: stops one of this account's live models; its signals stop at once" names the verb (stops), the resource (a live model), and the account scope in one line. The follow-up clause that the model stays trained and can be deployed again distinguishes it from a delete sibling without needing to name it.

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?

It gives clear context for when the call is appropriate (a model that is currently live) and explicitly covers the non-qualifying case: calling it on a non-live model is a no-op. It does not explicitly point at deploy_model for the reverse action or delete_model for permanent removal, but the conditions for use are unambiguous.

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